Skip to content

DVA-C03 Practice Exam 1: Serverless web and mobile apps

AWS Certified Developer – Associate. 65 questions, 4 with more than one correct answer. Real exam: 65 questions (50 scored, 15 unscored), multiple choice and multiple response, 130 minutes, pass at a scaled 720 / 1,000. DVA-C03 replaces DVA-C02 from December 2026.

Independent practice questions by Core Concept Learning, written from the public exam guide; not official AWS content. Study the free DVA-C03 course

Study mode: check any answer as you go. Or practise under exam conditions: 130 minutes, answers hidden until you submit.

x
0/65
  1. Question 1

    Domain 1: Development with AWS Services · Task 1.1

    A to-do app's API writes each new task to DynamoDB and then calls a slow third-party email service before responding, so users wait 6 seconds. The email can be sent later. What should the developer change?

  2. Question 2

    Domain 1: Development with AWS Services · Task 1.1

    A mobile app's backend must notify three microservices whenever a user signs up. Each service processes the event independently, and one is often offline for maintenance. Which design fits BEST?

  3. Question 3

    Domain 1: Development with AWS Services · Task 1.1

    A developer's Lambda function calls DynamoDB through the AWS SDK and sometimes gets ProvisionedThroughputExceededException during bursts. What is the BEST code-level fix?

  4. Question 4

    Domain 1: Development with AWS Services · Task 1.1

    An API Gateway REST API must reject requests whose JSON body is missing required fields before invoking Lambda, to save cost. What should the developer configure?

  5. Question 5

    Domain 1: Development with AWS Services · Task 1.1

    A developer must list every object in an S3 bucket with 2 million objects using the AWS SDK. The first call returns only 1,000 keys. What should the code do?

  6. Question 6

    Domain 1: Development with AWS Services · Task 1.1

    A ride-sharing app streams driver locations every second. Several consumers need the data in order per driver, and analysts want to replay the last 24 hours. Which service fits BEST?

  7. Question 7

    Domain 1: Development with AWS Services · Task 1.1

    A photo app stores uploads in S3 and must create thumbnails automatically for each new image, with no servers to manage. What should the developer use?

  8. Question 8

    Domain 1: Development with AWS Services · Task 1.1

    A developer wants an AI coding assistant to turn a feature description into requirements, a design and a task list before generating code, then generate tests from that spec. Which AWS tool fits BEST?

  9. Question 9

    Domain 1: Development with AWS Services · Task 1.1

    A recipe app must generate a short summary of each user-submitted recipe using a foundation model, with no model hosting. Which approach fits BEST?

  10. Question 10

    Domain 1: Development with AWS Services · Task 1.2

    A Lambda function must query an RDS database in a private subnet and also call an external payment API on the internet. After attaching it to the VPC, internet calls time out. What should the developer add?

  11. Question 11

    Domain 1: Development with AWS Services · Task 1.2

    A Lambda function needs a 30 MB machine-learning library shared by 12 functions. The team wants to update it once for all functions. What should the developer use?

  12. Question 12

    Domain 1: Development with AWS Services · Task 1.2

    A Lambda function is invoked asynchronously by S3. When processing fails after retries, the team needs the failed event plus error details sent to an SQS queue for analysis. What should the developer configure?

  13. Question 13

    Domain 1: Development with AWS Services · Task 1.2

    A Lambda function consumes an SQS queue in batches of 10. When one message fails, all 10 are retried, causing duplicate processing. What should the developer do?

  14. Question 14

    Domain 1: Development with AWS Services · Task 1.2

    A team's Lambda function processes a DynamoDB stream. One malformed record keeps failing, blocking all later records in that shard. Which TWO settings fix this? Select TWO.

    Choose 2.

  15. Question 15

    Domain 1: Development with AWS Services · Task 1.2

    A Lambda function behind API Gateway uses proxy integration. Clients receive 502 Bad Gateway errors, though the function runs successfully. What is the MOST likely cause?

  16. Question 16

    Domain 1: Development with AWS Services · Task 1.3

    A game stores player session records in DynamoDB that must be deleted 48 hours after the last activity, without consuming write capacity. What should the developer use?

  17. Question 17

    Domain 1: Development with AWS Services · Task 1.3

    A social app's DynamoDB table uses status (active or inactive) as its partition key, and writes are throttled though total capacity is high. What should the developer change?

  18. Question 18

    Domain 1: Development with AWS Services · Task 1.3

    An app needs to look up orders by customer ID and also by order status, but the table's partition key is order ID. The table already exists. What should the developer add?

  19. Question 19

    Domain 1: Development with AWS Services · Task 1.3

    A product page reads the same item from DynamoDB thousands of times per second and needs microsecond reads with minimal code changes. What should the developer use?

  20. Question 20

    Domain 1: Development with AWS Services · Task 1.3

    A developer must read an item from DynamoDB immediately after writing it, and the read must always reflect the write. The table has no indexes. What should the read request include?

  21. Question 21

    Domain 2: Security · Task 2.1

    A mobile app must let users sign up with email or Google, require MFA, and receive JWTs that API Gateway can validate. Which service fits BEST?

  22. Question 22

    Domain 2: Security · Task 2.1

    Mobile app users must upload profile photos directly to S3, each limited to their own folder, using temporary credentials. What should the developer configure?

  23. Question 23

    Domain 2: Security · Task 2.1

    A web app lets users download invoices stored in a private S3 bucket. Links must work for only 10 minutes without making the bucket public. What should the backend generate?

  24. Question 24

    Domain 2: Security · Task 2.1

    A Lambda function in account A must write to a DynamoDB table in account B. What is the MOST secure way for the code to get access?

  25. Question 25

    Domain 2: Security · Task 2.1

    A developer's API must allow requests only from users who belong to a custom 'premium' group, using tokens from a third-party OAuth provider. What should API Gateway use?

  26. Question 26

    Domain 2: Security · Task 2.1

    An IAM policy allows s3:GetObject on a bucket, but the bucket policy explicitly denies GetObject for that role. What happens when the role reads an object?

  27. Question 27

    Domain 2: Security · Task 2.2

    A developer must encrypt 500 MB video files with a customer managed KMS key in the application before uploading them. What is the correct approach?

  28. Question 28

    Domain 2: Security · Task 2.2

    A Lambda function needs a database password that must rotate every 30 days automatically, with the function always reading the current value. What should the developer use?

  29. Question 29

    Domain 2: Security · Task 2.2

    A company requires that its S3 bucket reject any request not sent over HTTPS. What should the developer add?

  30. Question 30

    Domain 2: Security · Task 2.2

    An app writes customer support chat logs to CloudWatch Logs, and the logs sometimes contain credit card numbers. The team wants them masked automatically for anyone without special permission. What should the developer use?

  31. Question 31

    Domain 2: Security · Task 2.2

    A team needs to find which of its 300 S3 buckets contain personally identifiable information, such as passport numbers. Which service fits BEST?

  32. Question 32

    Domain 2: Security · Task 2.2

    A developer needs an internal HTTPS endpoint for a test service, with a certificate trusted only by company machines, issued from a company-controlled CA. Which service fits BEST?

  33. Question 33

    Domain 2: Security · Task 2.3

    A developer builds a chatbot with Amazon Bedrock. Security requires that only one approved model ID can be invoked in the account. What should be configured?

  34. Question 34

    Domain 2: Security · Task 2.3

    A healthcare chatbot calls Amazon Bedrock from Lambda in a private subnet. Prompts must not traverse the internet. What should the developer configure?

  35. Question 35

    Domain 2: Security · Task 2.3

    A travel chatbot built on Bedrock must refuse to discuss politics, block prompt injection attempts and redact phone numbers in answers. Which TWO Bedrock Guardrails features fit? Select TWO.

    Choose 2.

  36. Question 36

    Domain 2: Security · Task 2.3

    A developer's AI agent can cancel customer orders through a tool. Cancellations over $500 must be confirmed by a human before the tool runs. What should the developer implement?

  37. Question 37

    Domain 2: Security · Task 2.3

    Bedrock model invocation logging is enabled to S3 for debugging, but prompts include customers' email addresses. What should the developer do to protect them?

  38. Question 38

    Domain 3: Testing and Deployment · Task 3.1

    A team stores private npm packages and wants CodeBuild projects to pull both private and public packages through one managed repository. Which service fits BEST?

  39. Question 39

    Domain 3: Testing and Deployment · Task 3.1

    A team pushes container images to ECR with the tag 'latest' for every build, and rollbacks sometimes deploy the wrong code. What should the developer change?

  40. Question 40

    Domain 3: Testing and Deployment · Task 3.1

    An app reads its database URL and feature settings, which differ between dev, test and prod. The team wants one build artifact for all environments. Where should these settings live?

  41. Question 41

    Domain 3: Testing and Deployment · Task 3.1

    An API Gateway REST API must call a 'dev' Lambda alias from the dev stage and a 'prod' alias from the prod stage, with one API definition. What should the developer use?

  42. Question 42

    Domain 3: Testing and Deployment · Task 3.2

    A developer wants to run a Lambda function locally with a realistic SQS event before deploying. Which approach fits BEST?

  43. Question 43

    Domain 3: Testing and Deployment · Task 3.2

    A front-end team must start integration tests before the payments backend exists. They need an endpoint that returns fixed JSON responses. What should the developer create?

  44. Question 44

    Domain 3: Testing and Deployment · Task 3.2

    A team defines infrastructure in the AWS CDK and wants unit tests that fail if any synthesized S3 bucket lacks encryption. Which approach fits BEST?

  45. Question 45

    Domain 3: Testing and Deployment · Task 3.2

    A team wants separate test and production versions of a Lambda function, where testers always invoke the latest test build and production points to an approved version. What should the developer use?

  46. Question 46

    Domain 3: Testing and Deployment · Task 3.3

    A team deploys a Lambda payment API with SAM. New versions must receive 10% of traffic for 10 minutes, then 100%, rolling back automatically if an error alarm fires. Which SAM setting fits?

  47. Question 47

    Domain 3: Testing and Deployment · Task 3.3

    A Lambda function's deployment package with dependencies is 400 MB unzipped. What should the developer do?

  48. Question 48

    Domain 3: Testing and Deployment · Task 3.3

    A CodeDeploy deployment to EC2 must run a script that checks the app's health endpoint after the new version starts, failing the deployment if it isn't healthy. Which appspec hook fits?

  49. Question 49

    Domain 3: Testing and Deployment · Task 3.3

    A team's CodePipeline deploys to staging and then production. Production releases must wait for a team lead's sign-off. What should the developer add?

  50. Question 50

    Domain 3: Testing and Deployment · Task 3.3

    A CloudFormation stack update fails halfway through creating new resources. What does CloudFormation do by default?

  51. Question 51

    Domain 3: Testing and Deployment · Task 3.3

    A team deploys an Elastic Beanstalk app and wants each release on brand-new instances, keeping full capacity, with a quick rollback by terminating the new instances. Which deployment policy fits?

  52. Question 52

    Domain 4: Troubleshooting and Optimization · Task 4.1

    A Lambda function attached to a VPC times out when calling the DynamoDB API. The function has no NAT gateway route. What is the MOST likely fix?

  53. Question 53

    Domain 4: Troubleshooting and Optimization · Task 4.1

    A developer must find how many 'PaymentFailed' log entries occurred per hour across a Lambda function's log group in the last week. Which tool fits BEST?

  54. Question 54

    Domain 4: Troubleshooting and Optimization · Task 4.1

    A user reports that one API request took 8 seconds. The request passes through API Gateway, two Lambda functions and DynamoDB. How can the developer find which part was slow?

  55. Question 55

    Domain 4: Troubleshooting and Optimization · Task 4.1

    A CodeDeploy deployment of a Lambda function fails, and the console shows the AfterAllowTraffic hook failed. Where should the developer look FIRST?

  56. Question 56

    Domain 4: Troubleshooting and Optimization · Task 4.1

    A developer sees that an SQS-triggered Lambda function processes some messages twice. Processing takes up to 50 seconds and the queue's visibility timeout is 30 seconds. What should the developer change?

  57. Question 57

    Domain 4: Troubleshooting and Optimization · Task 4.2

    A team wants its Lambda logs to be searchable by order ID and customer ID without parsing free text. What logging approach fits BEST?

  58. Question 58

    Domain 4: Troubleshooting and Optimization · Task 4.2

    A developer wants a custom metric for orders placed, emitted from Lambda without adding latency from extra API calls. What should the code do?

  59. Question 59

    Domain 4: Troubleshooting and Optimization · Task 4.2

    A team wants to be notified when a CodeDeploy deployment to production completes or fails. What should the developer configure?

  60. Question 60

    Domain 4: Troubleshooting and Optimization · Task 4.2

    A developer instruments a new service and wants to filter traces by customer tier in the trace console. How should the tier be recorded?

  61. Question 61

    Domain 4: Troubleshooting and Optimization · Task 4.2

    Containers in an ECS service sometimes hang without crashing, and the load balancer keeps sending them traffic. Which TWO settings help? Select TWO.

    Choose 2.

  62. Question 62

    Domain 4: Troubleshooting and Optimization · Task 4.3

    A CPU-bound image-processing Lambda function at 512 MB takes 9 seconds. What change is MOST likely to make it faster?

  63. Question 63

    Domain 4: Troubleshooting and Optimization · Task 4.3

    A latency-sensitive API on Lambda has slow first requests after idle periods because of cold starts. What should the developer configure?

  64. Question 64

    Domain 4: Troubleshooting and Optimization · Task 4.3

    A Lambda function opens a new connection to an Aurora database on every invocation, and the database runs out of connections at peak. Which TWO changes help? Select TWO.

    Choose 2.

  65. Question 65

    Domain 4: Troubleshooting and Optimization · Task 4.3

    A worker polls an SQS queue in a tight loop, and most ReceiveMessage calls return empty, increasing cost. What should the developer change?

65 questions unanswered; they count as wrong.

Video walkthrough

Try the exam first, then watch every question worked through.