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.
Question 1
Domain 1: Development with AWS Services · Task 1.1A 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?
Question 2
Domain 1: Development with AWS Services · Task 1.1A 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?
Question 3
Domain 1: Development with AWS Services · Task 1.1A developer's Lambda function calls DynamoDB through the AWS SDK and sometimes gets ProvisionedThroughputExceededException during bursts. What is the BEST code-level fix?
Question 4
Domain 1: Development with AWS Services · Task 1.1An 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?
Question 5
Domain 1: Development with AWS Services · Task 1.1A 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?
Question 6
Domain 1: Development with AWS Services · Task 1.1A 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?
Question 7
Domain 1: Development with AWS Services · Task 1.1A 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?
Question 8
Domain 1: Development with AWS Services · Task 1.1A 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?
Question 9
Domain 1: Development with AWS Services · Task 1.1A recipe app must generate a short summary of each user-submitted recipe using a foundation model, with no model hosting. Which approach fits BEST?
Question 10
Domain 1: Development with AWS Services · Task 1.2A 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?
Question 11
Domain 1: Development with AWS Services · Task 1.2A 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?
Question 12
Domain 1: Development with AWS Services · Task 1.2A 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?
Question 13
Domain 1: Development with AWS Services · Task 1.2A 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?
Question 14
Domain 1: Development with AWS Services · Task 1.2A 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.
Question 15
Domain 1: Development with AWS Services · Task 1.2A 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?
Question 16
Domain 1: Development with AWS Services · Task 1.3A 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?
Question 17
Domain 1: Development with AWS Services · Task 1.3A 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?
Question 18
Domain 1: Development with AWS Services · Task 1.3An 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?
Question 19
Domain 1: Development with AWS Services · Task 1.3A 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?
Question 20
Domain 1: Development with AWS Services · Task 1.3A 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?
Question 21
Domain 2: Security · Task 2.1A 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?
Question 22
Domain 2: Security · Task 2.1Mobile app users must upload profile photos directly to S3, each limited to their own folder, using temporary credentials. What should the developer configure?
Question 23
Domain 2: Security · Task 2.1A 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?
Question 24
Domain 2: Security · Task 2.1A 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?
Question 25
Domain 2: Security · Task 2.1A 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?
Question 26
Domain 2: Security · Task 2.1An 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?
Question 27
Domain 2: Security · Task 2.2A developer must encrypt 500 MB video files with a customer managed KMS key in the application before uploading them. What is the correct approach?
Question 28
Domain 2: Security · Task 2.2A 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?
Question 29
Domain 2: Security · Task 2.2A company requires that its S3 bucket reject any request not sent over HTTPS. What should the developer add?
Question 30
Domain 2: Security · Task 2.2An 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?
Question 31
Domain 2: Security · Task 2.2A team needs to find which of its 300 S3 buckets contain personally identifiable information, such as passport numbers. Which service fits BEST?
Question 32
Domain 2: Security · Task 2.2A 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?
Question 33
Domain 2: Security · Task 2.3A 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?
Question 34
Domain 2: Security · Task 2.3A healthcare chatbot calls Amazon Bedrock from Lambda in a private subnet. Prompts must not traverse the internet. What should the developer configure?
Question 35
Domain 2: Security · Task 2.3A 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.
Question 36
Domain 2: Security · Task 2.3A 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?
Question 37
Domain 2: Security · Task 2.3Bedrock model invocation logging is enabled to S3 for debugging, but prompts include customers' email addresses. What should the developer do to protect them?
Question 38
Domain 3: Testing and Deployment · Task 3.1A team stores private npm packages and wants CodeBuild projects to pull both private and public packages through one managed repository. Which service fits BEST?
Question 39
Domain 3: Testing and Deployment · Task 3.1A 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?
Question 40
Domain 3: Testing and Deployment · Task 3.1An 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?
Question 41
Domain 3: Testing and Deployment · Task 3.1An 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?
Question 42
Domain 3: Testing and Deployment · Task 3.2A developer wants to run a Lambda function locally with a realistic SQS event before deploying. Which approach fits BEST?
Question 43
Domain 3: Testing and Deployment · Task 3.2A 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?
Question 44
Domain 3: Testing and Deployment · Task 3.2A team defines infrastructure in the AWS CDK and wants unit tests that fail if any synthesized S3 bucket lacks encryption. Which approach fits BEST?
Question 45
Domain 3: Testing and Deployment · Task 3.2A 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?
Question 46
Domain 3: Testing and Deployment · Task 3.3A 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?
Question 47
Domain 3: Testing and Deployment · Task 3.3A Lambda function's deployment package with dependencies is 400 MB unzipped. What should the developer do?
Question 48
Domain 3: Testing and Deployment · Task 3.3A 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?
Question 49
Domain 3: Testing and Deployment · Task 3.3A 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?
Question 50
Domain 3: Testing and Deployment · Task 3.3A CloudFormation stack update fails halfway through creating new resources. What does CloudFormation do by default?
Question 51
Domain 3: Testing and Deployment · Task 3.3A 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?
Question 52
Domain 4: Troubleshooting and Optimization · Task 4.1A 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?
Question 53
Domain 4: Troubleshooting and Optimization · Task 4.1A 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?
Question 54
Domain 4: Troubleshooting and Optimization · Task 4.1A 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?
Question 55
Domain 4: Troubleshooting and Optimization · Task 4.1A CodeDeploy deployment of a Lambda function fails, and the console shows the AfterAllowTraffic hook failed. Where should the developer look FIRST?
Question 56
Domain 4: Troubleshooting and Optimization · Task 4.1A 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?
Question 57
Domain 4: Troubleshooting and Optimization · Task 4.2A team wants its Lambda logs to be searchable by order ID and customer ID without parsing free text. What logging approach fits BEST?
Question 58
Domain 4: Troubleshooting and Optimization · Task 4.2A developer wants a custom metric for orders placed, emitted from Lambda without adding latency from extra API calls. What should the code do?
Question 59
Domain 4: Troubleshooting and Optimization · Task 4.2A team wants to be notified when a CodeDeploy deployment to production completes or fails. What should the developer configure?
Question 60
Domain 4: Troubleshooting and Optimization · Task 4.2A developer instruments a new service and wants to filter traces by customer tier in the trace console. How should the tier be recorded?
Question 61
Domain 4: Troubleshooting and Optimization · Task 4.2Containers in an ECS service sometimes hang without crashing, and the load balancer keeps sending them traffic. Which TWO settings help? Select TWO.
Choose 2.
Question 62
Domain 4: Troubleshooting and Optimization · Task 4.3A CPU-bound image-processing Lambda function at 512 MB takes 9 seconds. What change is MOST likely to make it faster?
Question 63
Domain 4: Troubleshooting and Optimization · Task 4.3A latency-sensitive API on Lambda has slow first requests after idle periods because of cold starts. What should the developer configure?
Question 64
Domain 4: Troubleshooting and Optimization · Task 4.3A 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.
Question 65
Domain 4: Troubleshooting and Optimization · Task 4.3A 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.