cswork / libraryOpen practice workspace

Interview guides · AstraZeneca

AstraZeneca Software Engineer Interview Guide

AstraZeneca Software Engineer interview guide: reported rounds, questions and how candidates describe the process.

The 60-second brief

As a Software Engineer at AstraZeneca, you will stand at the intersection of breakthrough science and cutting-edge technology. You are not just writing code; you are building the digital backbone that accelerates the discovery, development, and delivery of life-changing medicines to patients worldwide. Your work directly empowers scientists, clinicians, and supply chain operators to process complex biological data, optimize clinical trials, and revolutionize global healthcare infrastructure. The scale and complexity of initiatives at AstraZeneca mean your contributions will resonate across enterprise platforms, from modern cloud ecosystems and automated enterprise resource planning systems to advanced artificial intelligence and machine learning tooling.

This guide is scoped to a Software Engineer candidate at AstraZeneca.

Focus areas

  • Data Structures & Algorithms (DSA)
  • Kubernetes
  • Problem Solving

The AstraZeneca interview process

AstraZeneca candidates report 5 rounds over 4-6 weeks. The stages below are what candidates describe, not a published process.

HR Screening Call

Initial call to discuss your background, availability, and motivation.

What to demonstrate

  • Initial call to discuss your background, availability, and motivation
  • Depth in Data Structures & Algorithms (DSA)

How to prepare

  • Be able to walk your CV end to end in two minutes, and say why this company specifically.
  • Have your salary expectations, notice period and location constraints ready, and ask for the rest of the loop in writing.

Technical Evaluations

Includes take-home assignments, coding tasks, or technical discussions.

What to demonstrate

  • Includes take-home assignments, coding tasks, or technical discussions
  • Depth in Data Structures & Algorithms (DSA)

How to prepare

  • Answer aloud and timed: What is your familiarity with CDISC standards like SDTM and ADaM, or clinical trial programming workflows?
  • Answer aloud and timed: How would you design an efficient SQL query to aggregate large-scale medical or operational datasets?

Asynchronous Video Interviews

Candidates may record responses to structured prompts.

What to demonstrate

  • Candidates may record responses to structured prompts
  • Depth in Data Structures & Algorithms (DSA)

How to prepare

  • Answer aloud and timed: Explain how you manage state and component lifecycles in modern frontend architectures.
  • Answer aloud and timed: How do you design and operationalize intelligent agents or LLM-powered workflows using Azure OpenAI and AWS services?

Comprehensive Panel Interviews

Interviews with cross-functional leaders and technical leads.

What to demonstrate

  • Interviews with cross-functional leaders and technical leads
  • Depth in Data Structures & Algorithms (DSA)

How to prepare

  • Answer aloud and timed: Can you explain how you would architect a secure, scalable data ingestion pipeline for real-world evidence platforms?
  • Answer aloud and timed: What strategies do you use for container orchestration and cluster management using Kubernetes?

Final Leadership Panels

In-depth discussions on past projects and adherence to company values.

What to demonstrate

  • In-depth discussions on past projects and adherence to company values
  • Depth in Data Structures & Algorithms (DSA)

How to prepare

  • Answer aloud and timed: How do you ensure high availability, fault tolerance, and security compliance in distributed cloud environments?
  • Answer aloud and timed: Walk through a past system failure you handled and how you improved the architecture to prevent recurrence.

Where candidates lose points

Research company values

Familiarize yourself thoroughly with the core operating principles and mission of AstraZeneca before your behavioral rounds, and weave those themes into your interview narratives.

Emphasize data and security

Given the highly regulated nature of the pharmaceutical industry, always highlight your commitment to data integrity, security compliance, and robust testing in your technical answers.

Communicate your thought process

During coding and system design rounds, talk through your assumptions, tradeoffs, and architectural choices out loud so interviewers can follow your reasoning.

Prepare questions for your panel

Ask insightful questions about team culture, cloud infrastructure scaling challenges, and how engineering teams collaborate with scientific researchers.

Questions & practice

Write a function in your preferred programming language to parse, transform, and validate a complex JSON paylo

Medium · Coding & Problem-Solving

Write a function in your preferred programming language to parse, transform, and validate a complex JSON payload.

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Complete a take-home project or coding assignment meeting specific functional and non-functional requirements.

Medium · Coding & Problem-Solving

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Explain how you would refactor a monolithic script into a clean, testable, and modular service.

Medium · Coding & Problem-Solving

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

How would you design an efficient SQL query to aggregate large-scale medical or operational datasets?

Medium · Technical & Core Domain Questions

Approach

  1. Name the grain you start from and join outward from it.
  2. Check whether any join is one-to-many before aggregating, or the sums inflate.
  3. Say which index the query would use, and what makes it unusable.
  4. Handle the rows that do not match: that is usually the actual question.

Follow-up

  • How does the query change if that join becomes one-to-many?
  • What happens to this when the table is ten times larger?

Write the update path that detects a concurrent edit

Medium · optimistic concurrency · transactional outbox · audit history

resource carries version INT NOT NULL DEFAULT 1. resource_revision holds revision_id, resource_id, version, actor_user_id, change_kind, patch JSONB, request_id, created_at with UNIQUE (resource_id, version). outbox_event holds aggregate_type, aggregate_id, aggregate_version, event_type, payload, status. A PUT carries the version the client read. Write the exact statements for the single transaction that applies the edit, records the revision and enqueues 'resource.updated', and give the handler's branch on zero affected rows. Then say what PostgreSQL 16 does under READ COMMITTED when two of these updates hit one row at once.

Approach

  1. One transaction, three writes, no network call inside it: UPDATE resource SET title = $3, version = version + 1, updated_at = now() WHERE resource_id = $1 AND tenant_id = $4 AND version = $2; then INSERT the resource_revision row at version $2 + 1; then INSERT the outbox_event row at the same aggregate_version. The event goes to a table rather than a broker because no transaction spans both.
  2. Branch on the affected-row count before doing anything else. Zero has three causes — stale version, wrong tenant, row gone — so re-read once and map to 409 carrying the current version, or 404 for an id outside the caller's tenant, which also stops the endpoint confirming that another tenant's id exists.
  3. State the engine behaviour instead of assuming it. Under READ COMMITTED the second UPDATE blocks on the row lock, and when the first commits PostgreSQL re-evaluates the WHERE clause against the newly committed row, so the version predicate now fails and the statement reports zero rows. Under REPEATABLE READ the identical collision raises SQLSTATE 40001 instead, so the handler must fold both shapes into one conflict response.
  4. Keep UNIQUE (resource_id, version) even though the predicate already serialises writers. It is what makes a lost update unwritable if any other path ever reaches the revision table, and it converts a logic bug into 23505 rather than into a silently missing history row.

Follow-up

  • A client sends the version it read ten minutes ago and the resource has moved three versions. What is in your 409 so it can resolve the conflict without a full re-fetch?
  • Two editors, two disjoint fields, no overlap. Does your answer still refuse the second write, and should it?

How do you approach writing clean, maintainable code in Python or Java for high-throughput backend services?

Medium · Technical & Core Domain Questions

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

What is your familiarity with CDISC standards like SDTM and ADaM, or clinical trial programming workflows?

Medium · Technical & Core Domain Questions

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

Explain how you manage state and component lifecycles in modern frontend architectures.

Medium · Technical & Core Domain Questions

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

How do you design and operationalize intelligent agents or LLM-powered workflows using Azure OpenAI and AWS se

Medium · System Design & Cloud Architecture

How do you design and operationalize intelligent agents or LLM-powered workflows using Azure OpenAI and AWS services?

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

Can you explain how you would architect a secure, scalable data ingestion pipeline for real-world evidence pla

Medium · System Design & Cloud Architecture

Can you explain how you would architect a secure, scalable data ingestion pipeline for real-world evidence platforms?

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

What strategies do you use for container orchestration and cluster management using Kubernetes?

Medium · System Design & Cloud Architecture

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

How do you ensure high availability, fault tolerance, and security compliance in distributed cloud environment

Medium · System Design & Cloud Architecture

How do you ensure high availability, fault tolerance, and security compliance in distributed cloud environments?

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

Walk through a past system failure you handled and how you improved the architecture to prevent recurrence.

Medium · System Design & Cloud Architecture

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

How do you approach writing unit tests and integration tests to ensure robust code coverage?

Medium · Coding & Problem-Solving

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. Design the error taxonomy before the success shape; callers branch on it.

Follow-up

  • What happens if the caller retries after a timeout?
  • How does a client discover it is on an old version of this contract?

How would you debug a memory leak or performance bottleneck in a running production application?

Medium · Coding & Problem-Solving

Approach

  1. Establish what changed and when, before forming any theory.
  2. Pick a bisection that eliminates candidates whichever way it turns out.
  3. Check the instrumentation before believing the symptom.
  4. Separate the trigger from the cause; the deploy is rarely the bug.

Follow-up

  • What would you look at first, and what would it rule out?
  • How would you tell a cause from a coincidence here?

Suggested practice checklist

Built from the rounds and topics AstraZeneca candidates report.

Day 1 — Map the AstraZeneca loop

  • Write out the reported sequence: HR Screening Call, Technical Evaluations, Asynchronous Video Interviews, Comprehensive Panel Interviews, Final Leadership Panels.
  • For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.

Deliverable: A one-page map of the 5 reported rounds, with the weakest marked.

Day 2 — Work Data Structures & Algorithms (DSA)

  • Spend the session on Data Structures & Algorithms (DSA), which AstraZeneca candidates report being tested on.
  • Write one worked example in Data Structures & Algorithms (DSA) and time yourself on it.

Deliverable: One timed worked example in Data Structures & Algorithms (DSA).

Day 3 — Work Kubernetes

  • Spend the session on Kubernetes, which AstraZeneca candidates report being tested on.
  • Write one worked example in Kubernetes and time yourself on it.

Deliverable: One timed worked example in Kubernetes.

Day 4 — Work Problem Solving

  • Spend the session on Problem Solving, which AstraZeneca candidates report being tested on.
  • Write one worked example in Problem Solving and time yourself on it.

Deliverable: One timed worked example in Problem Solving.

Day 5 — Answer out loud: Technical & Core Domain Questions

  • Answer aloud, timed: Can you walk me through your experience building and deploying applications using React and SQLite?
  • Answer aloud, timed: How do you approach writing clean, maintainable code in Python or Java for high-throughput backend services?

Deliverable: Spoken answers to 2 reported Technical & Core Domain Questions question(s), under time.

Day 6 — Answer out loud: System Design & Cloud Architecture

  • Answer aloud, timed: How do you design and operationalize intelligent agents or LLM-powered workflows using Azure OpenAI and AWS services?
  • Answer aloud, timed: Can you explain how you would architect a secure, scalable data ingestion pipeline for real-world evidence platforms?

Deliverable: Spoken answers to 2 reported System Design & Cloud Architecture question(s), under time.

Day 7 — Answer out loud: Coding & Problem-Solving

  • Answer aloud, timed: Write a function in your preferred programming language to parse, transform, and validate a complex JSON payload.
  • Answer aloud, timed: How would you debug a memory leak or performance bottleneck in a running production application?

Deliverable: Spoken answers to 2 reported Coding & Problem-Solving question(s), under time.

Behavioural preparation

Behavioural rounds judge the decision you made and what it cost.

Can you walk me through your experience building and deploying applications using React and SQLite?

Medium · Technical & Core Domain Questions

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Why do you want to work specifically for AstraZeneca, and how does our mission resonate with your career goals

Medium · Behavioral & Values-Based Questions

Why do you want to work specifically for AstraZeneca, and how does our mission resonate with your career goals?

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Describe a time when you had to manage conflicting priorities across cross-functional stakeholders.

Medium · Behavioral & Values-Based Questions

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Tell me about a situation where a project faced significant ambiguity or changing requirements. How did you ad

Medium · Behavioral & Values-Based Questions

Tell me about a situation where a project faced significant ambiguity or changing requirements. How did you adapt?

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Give an example of how you championed quality, safety, or best practices within your engineering team.

Medium · Behavioral & Values-Based Questions

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Describe a time when you received constructive feedback and how you applied it to grow professionally.

Medium · Behavioral & Values-Based Questions

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?