Interview practice plan

A

Senior Clinical Programmer II

AstraZeneca · Bengaluru

EngineeringSenior25 practice questions

Practice content written by LYDJ for interview preparation. These are common questions for this kind of role, not this employer's actual interview questions.

What this role asks for

Skills we found in the job description. The plan below is built around them.

PythonSQLPower BIRisk managementStatisticsGCPSpark

Also named in the description, not covered below: Spark. Review these on your own.

Sign in to see your gap areas first. We compare this role with the skills on your profile.

0 of 25 questions practised

Answer each one out loud, then tick it. Progress is saved in this browser only.

01Required skill0/3

Python

This role asks for Python.

  • Explain the GIL and how it affects threading, multiprocessing and asyncio.

    What good looks like

    Threads help I/O-bound work but not CPU-bound Python code; multiprocessing sidesteps the GIL at a memory and IPC cost; asyncio suits many concurrent I/O tasks.

  • How does Python manage memory, and why might a long-running process keep growing?

    What good looks like

    Reference counting plus a cyclic garbage collector, fragmentation, unbounded caches or globals, and using tracemalloc to find the growth.

  • A Python data-processing script takes hours. How do you speed it up?

    What good looks like

    Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.

02Required skill0/3

SQL

This role asks for SQL.

  • Find users who were active on at least three consecutive days.

    What good looks like

    A gaps-and-islands pattern: subtract ROW_NUMBER() from the activity date, group by user and that difference, and count.

  • A query that used to take 2 seconds now takes 2 minutes. How do you debug it?

    What good looks like

    Read the execution plan, check stale statistics, missing or unused indexes, data growth and skew, parameter-sensitive plans, and locking.

  • Explain transaction isolation levels and an anomaly each one prevents.

    What good looks like

    Dirty reads, non-repeatable reads and phantoms across read committed, repeatable read and serializable, and how MVCC databases implement them.

03Required skill0/3

Power BI & BI tools

This role asks for Power BI.

  • Explain filter context versus row context in DAX. What does CALCULATE do?

    What good looks like

    Row context iterates rows, filter context comes from visuals and slicers; CALCULATE modifies the filter context and triggers context transition.

  • A report is slow to load. How do you improve its performance?

    What good looks like

    Star schema model, reduce column cardinality, avoid bi-directional relationships, check with Performance Analyzer, and choose import, DirectQuery or aggregations deliberately.

  • How do you design a dashboard that senior leaders actually use?

    What good looks like

    Start from the decisions it supports, a few KPIs with targets and trends, consistent metric definitions, and drill-through for detail rather than clutter.

04Required skill0/3

Risk management

This role asks for Risk management.

  • How do you identify, assess and prioritise operational risks for a business unit?

    What good looks like

    Risk and control self-assessments, likelihood and impact scoring, key risk indicators, loss event data, and clear owners for each action.

  • What is Value at Risk, and what are its limitations?

    What good looks like

    A loss threshold at a confidence level over a horizon; it says nothing about losses beyond the threshold and depends on model assumptions, so pair it with stress tests.

  • How would you design a stress test or scenario analysis for a portfolio?

    What good looks like

    Choose plausible severe scenarios, map them to risk drivers, model the impact on losses and capital, and turn results into limits and actions.

05Required skill0/3

Data analysis

This role asks for Statistics. These Data analysis questions cover the ground it builds on.

  • Explain Simpson's paradox with an example, and how you guard against it.

    What good looks like

    A trend in every subgroup reverses in the aggregate because group sizes differ; segment by likely confounders before drawing conclusions.

  • A stakeholder asks you to report a metric you think is misleading. What do you do?

    What good looks like

    Understand the decision behind the request, show concretely how the metric misleads, propose a better one, and agree the definition in writing.

  • Walk me through an analysis you did that led to a business decision.

    What good looks like

    Question, data, method, insight, recommendation, then what changed. Quantify the impact and mention one limitation of your analysis.

06Required skill0/3

GCP

This role asks for GCP.

  • When would you choose Cloud Run, GKE or Compute Engine?

    What good looks like

    Cloud Run for stateless containers with minimal ops, GKE for complex orchestration needs, VMs for special runtimes or licensing; compare cost and control.

  • How does BigQuery pricing work, and how do you keep query costs under control?

    What good looks like

    On-demand bytes scanned versus capacity pricing, partitioning and clustering, avoiding SELECT *, dry runs, and per-user quotas.

  • Design an event-driven pipeline on Pub/Sub. How do you handle duplicate and out-of-order messages?

    What good looks like

    At-least-once delivery means idempotent consumers, ordering keys where order matters, dead-letter topics, and replay strategy.

07Design round0/3

System design

Senior engineering roles almost always include a design round. State requirements and rough numbers first, then walk through trade-offs.

  • Design a payment service that must never charge a customer twice.

    What good looks like

    Idempotency keys, a payment state machine, reconciliation with the provider, and at-least-once delivery with de-duplication rather than hoping for exactly-once.

  • Design a distributed cache. How do you handle node failures and hot keys?

    What good looks like

    Consistent hashing, replication, eviction policy, protection against cache stampedes, and the consistency guarantees callers can actually live with.

  • Design a real-time chat system with one-to-one and group messages.

    What good looks like

    Connection handling (WebSockets), ordering and delivery receipts, offline storage and sync, fan-out for groups, and presence.

08Every loop0/4

Behavioural

Every interview loop has a behavioural round. For senior roles, expect probing on influence without authority, judgement under pressure and raising the bar for others. Use the STAR structure.

  • Describe the most complex technical or analytical problem you have solved.

    What good looks like

    Explain why it was hard, the options you considered, how you de-risked the chosen approach, and what you would do differently now.

  • Tell me about a time a project you owned was at risk of missing its date.

    What good looks like

    Show early detection, honest escalation and the scope, sequencing or resourcing levers you pulled. Avoid stories that end with "we all worked weekends".

  • Why do you want this role, and why now?

    What good looks like

    Connect two or three specific requirements of the role to your experience and to a direction you are deliberately moving in. Generic praise of the company scores poorly.

  • Describe a time you had to deliver bad news to a stakeholder.

    What good looks like

    Show that you told them early, came with options and a recommendation rather than just the problem, and kept their trust.

Company research brief: AstraZeneca

From the roles we track on LYDJ, refreshed daily from the official careers page.

29

open roles

18

added in 30 days

5

in Engineering

Pharma & HealthcareGCC

Hiring most for

  • Other18
  • Engineering5
  • Data & AI2
  • Operations1

Cities

Chennai · 16Bengaluru · 10
See all 29 roles at AstraZeneca →

Read before the interview

Questions to ask them

  • ›There are several open Engineering roles at AstraZeneca right now. How is the team growing, and where does this role fit?
  • ›The company hires in Chennai, Bengaluru. How do teams across locations work together day to day?
  • ›How does the team use Python and SQL today, and what would you like to change?
  • ›What does success look like in this role after six months?
  • ›What is the biggest challenge the team is facing this year?

Preparation checklist

0/8 done

Saved in this browser only.

Interview prep: Senior Clinical Programmer II at AstraZeneca | LYDJ