Free DVA-C03 practice questions — 30 questions, free, no sign-up.
Try 30 free AWS Certified Developer – Associate (DVA-C03) practice questions, written from the public DVA-C03 exam guide and official AWS documentation. Every question comes with its answer and an explanation that cites its AWS source — so a wrong answer still teaches you something. Answers are shown on this page; work through each question before reading the answer.
What changed from DVA-C02? Try the free CLF-C02 quiz
Free to read, no sign-up. Based on the public DVA-C03 exam guide and official AWS documentation. These are original practice questions, not real exam questions.
The DVA-C03 exam in 60 seconds
- Opens 1 December 2026. DVA-C02's last exam day is 30 November 2026; registration for DVA-C03 opened 27 October 2026.
- 65 questions (50 scored, 15 unscored), 130 minutes. Multiple-choice and multiple-response.
- Passing score: 720 on a 100–1,000 scale. Fee: $150. Delivered by Pearson VUE, at a test centre or online proctored.
- Four domains: Development with AWS Services (30%), Security (26%), Testing and Deployment (22%), Troubleshooting and Optimization (22%).
- What is new in C03: AI-assisted development (Kiro, Amazon Q Developer, Bedrock), a new AI-services security task (Task 2.3), container image building, and Data Firehose. AppSync, CodeCommit, and Copilot are out of scope.
D1 — Development with AWS Services (9 questions)
Question 1 — Lambda timeout
A Lambda function processes images uploaded to S3. Most invocations finish in 2 seconds, but large images take 8 seconds and the function times out. The function timeout is still at its default. What is the most direct fix?
- Increase the function's memory to the maximum value
- Enable provisioned concurrency for the function
- Increase the function's timeout setting to allow up to 8 seconds of execution (correct answer)
- Move the image processing to an EC2 instance
Source: AWS Lambda Developer Guide — configuring function timeout.
Question 2 — SQS poison messages
An SQS standard queue feeds a Lambda consumer. One malformed message keeps failing, is retried repeatedly, and blocks processing of other messages. What should the developer configure?
- Increase the queue's message retention period to 14 days
- Increase the Lambda function's reserved concurrency
- Switch the queue to FIFO and enable content-based deduplication
- Configure a dead-letter queue with a maxReceiveCount so repeatedly failing messages are moved aside after a set number of receives (correct answer)
Source: Amazon SQS Developer Guide — dead-letter queues; DVA-C03 skeleton D1 (DLQ mechanism).
Question 3 — DynamoDB Query
A table stores orders with partition key customerId and sort key orderDate. The application must list all orders for one customer in a given month, without scanning the whole table. What is the correct approach?
- Use Query on the table with
customerIdas the key condition and a condition onorderDate(correct answer) - Use Scan with a filter expression on
customerId - Create a global secondary index with
orderDateas the partition key - Use BatchGetItem with the customer's ID
Source: Amazon DynamoDB Developer Guide — Query vs Scan.
Question 4 — Event-driven decoupling
An order service must notify three independent services (email, inventory, analytics) when an order is placed, and each consumer should process the event at its own pace. Which pattern fits best?
- Have the order service call each service's HTTP endpoint synchronously
- Use a single SQS FIFO queue shared by all three consumers
- Store the event in DynamoDB and have each service poll the table
- Publish the event to an Amazon SNS topic or Amazon EventBridge event bus that fans out to the three consumers (correct answer)
Source: Amazon SNS / EventBridge documentation — fan-out and event-driven patterns; DVA-C03 skeleton D1.
Question 5 — API Gateway throttling
A public API built on API Gateway and Lambda is hit by a burst of traffic from a single client, causing throttling errors for other clients. What is the most appropriate first control?
- Disable API caching
- Increase the Lambda function's timeout
- Configure throttling limits and a usage plan with an API key for that client (correct answer)
- Move the API to a private VPC endpoint
Source: Amazon API Gateway Developer Guide — usage plans and throttling.
Question 6 — SDK pagination and retries
An application lists all objects in a large S3 bucket using the AWS SDK, but only the first 1,000 objects are returned. What should the developer do?
- Increase the SDK's connection timeout
- Call the operation once with a larger page size and no further calls
- Follow the pagination token returned by the operation and repeat the call until no token is returned (correct answer)
- Switch to a different AWS Region
Source: AWS SDK documentation — pagination; DVA-C03 skeleton D1 (SDK pagination).
Question 7 — AI-assisted development
A developer uses Kiro / Amazon Q Developer to speed up writing a Lambda function. Which use is in line with AI-assisted development for DVA-C03?
- Use the assistant to generate code and unit tests from a description, then review and test the generated code before committing it (correct answer)
- Let the assistant choose the foundation model and design the RAG pipeline for the application
- Ask the assistant to design the application's governance framework for AI use
- Use the assistant to select which AI model to fine-tune for the workload
Source: DVA-C03 exam guide — AI-assisted development; skeleton v2 out-of-scope list.
Question 8 — Bedrock API call
An application calls a managed AI service through the Amazon Bedrock runtime API. The call must include the model identifier and the input prompt, and return generated text. Which API operation is used for a single on-demand text generation call?
CreateModelCustomizationJobStartIngestionJobListFoundationModelsInvokeModel(correct answer)
InvokeModel performs a single synchronous inference call with a model ID and input body; the other operations manage models or ingestion, not inference.Source: Amazon Bedrock API Reference — InvokeModel; DVA-C03 skeleton D1 (Bedrock API basics).
Question 9 — DynamoDB conditional writes
Two Lambda invocations may try to create the same user profile item at the same time. The application must ensure only the first write succeeds and the second fails cleanly. What should the developer use?
- A conditional write (
PutItemwith a condition expression such asattribute_not_exists(userId)) (correct answer) - A Scan with a filter expression before every write
- A global secondary index on
userId - DynamoDB Streams to detect the duplicate after the write
Source: Amazon DynamoDB Developer Guide — condition expressions.
D2 — Security (8 questions)
Question 10 — Cognito user pools vs identity pools
A mobile app needs users to sign in with email and password, and then access an S3 bucket with temporary AWS credentials scoped to each user. Which combination is correct?
- Use only a Cognito user pool; it directly issues AWS credentials for S3
- Use only a Cognito identity pool; it handles email/password sign-in
- Use a Cognito user pool for sign-in, federated into a Cognito identity pool that vends temporary credentials (correct answer)
- Use IAM users, one per mobile user, with long-term access keys in the app
Source: Amazon Cognito Developer Guide — user pools vs identity pools.
Question 11 — IAM policy evaluation
An IAM policy allows s3:GetObject on a bucket, a second policy attached to the same role explicitly denies s3:GetObject on one object in that bucket, and there is no SCP involved. What happens when the role tries to read that object?
- Access is denied, because an explicit deny always overrides an allow (correct answer)
- Access is allowed, because the allow is more specific to the bucket
- Access is allowed, because the most recently attached policy wins
- Access is denied only if the request comes from outside the VPC
Source: AWS IAM documentation — policy evaluation logic.
Question 12 — KMS envelope encryption
An application encrypts large files before storing them in S3. It uses a KMS key to encrypt a data key, then encrypts the file with that data key. What is this pattern called, and why is it used?
- Client-side encryption with a KMS key per file, because KMS keys can be downloaded and used to encrypt data offline
- Server-side encryption with S3 managed keys, because the application never handles keys
- Envelope encryption with a customer managed key, because KMS keys have a 4 KB limit on direct encryption (correct answer)
- Envelope encryption; it is used because KMS keys can directly encrypt data of any size
Source: AWS KMS Developer Guide — envelope encryption.
Question 13 — Credential rotation
A Lambda function needs database credentials that must be rotated every 30 days without code changes. Which service and feature should the developer use?
- Store the password in an environment variable and update the function monthly
- Hard-code the credentials and redeploy the function every 30 days
- Store the credentials in Systems Manager Parameter Store as a SecureString and rotate them manually
- Store the credentials in AWS Secrets Manager and enable automatic rotation with a Lambda rotation function (correct answer)
Source: AWS Secrets Manager documentation — rotation.
Question 14 — Presigned URLs
A developer must let an unauthenticated user download one private S3 object for the next 15 minutes, without making the object public or sharing AWS credentials. What is the correct approach?
- Generate a presigned URL for the object with a 15-minute expiry (correct answer)
- Make the bucket public and remove the policy after 15 minutes
- Create an IAM user for the external user and email the access key
- Copy the object to a public bucket and delete it after 15 minutes
Source: Amazon S3 documentation — presigned URLs; DVA-C03 guide skill 2.1.4.
Question 15 — AI service networking and privacy
An application sends customer data to Amazon Bedrock. The security team requires that the traffic never cross the public internet and that the data is not used to train models. Which design meets both requirements?
- Call Bedrock over the public endpoint and enable logging to CloudTrail
- Use an IAM policy that denies
bedrock:InvokeModelfrom outside the corporate network - Encrypt the prompt with a KMS key before sending it
- Access Bedrock through an AWS PrivateLink VPC endpoint, and rely on Bedrock's policy that inputs/outputs are not used for training (correct answer)
Source: Amazon Bedrock documentation — VPC endpoints and data privacy; DVA-C03 guide Task 2.3.
Question 16 — Sensitive data in AI interactions
Application logs capture the full prompts sent to an AI service, including customer email addresses. The team must reduce exposure of personal data in logs. What is the most appropriate action?
- Disable all logging for the application
- Store the logs in a public S3 bucket so they are easy to audit
- Detect and mask or redact PII/PHI in log output before it is written, and limit who can read the logs (correct answer)
- Send the raw prompts to a second AI service to summarise them
Source: DVA-C03 exam guide Task 2.3 (sensitive information detection, protection of sensitive content in monitoring/logs).
Question 17 — SigV4 signed requests
A developer writes code that calls an AWS service API directly over HTTPS, without the AWS SDK. What must each request include to prove the caller's identity?
- The AWS account root password in an HTTP header
- A long-term access key pasted into the request URL as a query parameter
- A Signature Version 4 (SigV4) signature computed from the access key, request details and timestamp (correct answer)
- A Cognito user pool JWT token in the Authorization header
Source: AWS documentation — signing AWS API requests with SigV4.
D3 — Testing and Deployment (7 questions)
Question 18 — Blue/green vs canary
A team deploys a new API version to production. They want to shift 10% of traffic to the new version, monitor errors, then gradually increase the share, rolling back automatically if errors spike. Which deployment strategy is this?
- All-at-once deployment
- Blue/green deployment with a full traffic switch
- Rolling deployment to all instances simultaneously
- Canary deployment (correct answer)
Source: AWS CodeDeploy documentation — deployment configurations; DVA-C03 guide skill 3.3.6.
Question 19 — IaC change sets
A developer has a CloudFormation template change for production. Before applying it, they want to see exactly which resources will be added, modified or replaced, without changing anything. What should they use?
- A change set (correct answer)
- A nested stack with no parameters
- A stack policy that denies all updates
- A CloudFormation drift detection report only
Source: AWS CloudFormation documentation — change sets.
Question 20 — Container image builds
A Dockerfile for a Lambda container image installs dependencies, then copies application code, in a single stage, producing a large image. Which practice most effectively reduces the final image size?
- Use a multi-stage build so the final image contains only the runtime and the built artefacts (correct answer)
- Add more layers to the Dockerfile
- Push the image to ECR with immutable tags
- Increase the Lambda function's memory
Source: Docker / AWS documentation — multi-stage builds; DVA-C03 guide skill 3.1.2 (container image building).
Question 21 — ECS deployments
An ECS service runs 4 tasks behind a load balancer. A new task definition is deployed and one new task fails its health check. What does ECS do by default with a rolling update?
- It stops the entire service immediately
- It deletes the task definition
- It deletes the load balancer and recreates it
- It keeps serving traffic from the healthy old tasks and replaces the failed new task, respecting the deployment configuration's minimum healthy percent (correct answer)
Source: Amazon ECS Developer Guide — service deployments.
Question 22 — Testing strategy
A developer writes unit tests for a function that calls DynamoDB. The tests must run in CI without AWS credentials or network access, and must run in milliseconds. What is the appropriate approach?
- Run the tests against the production DynamoDB table
- Skip unit tests and rely only on manual testing in the AWS console
- Mock the DynamoDB client in the unit tests so no real AWS call is made (correct answer)
- Create a real DynamoDB table for each test run and delete it afterwards
Source: AWS testing guidance — unit vs integration testing; DVA-C03 guide Task 3.x (testing in AWS environments).
Question 23 — CodeArtifact versioning
A team publishes internal libraries to CodeArtifact. A build must always resolve the same library version it was tested with, even after a newer version is published. What should the build reference?
- The
latesttag of the package - A specific pinned version of the package (correct answer)
- The package's upstream public repository directly
- The newest version available at build time
latest can silently change what a build resolves.Source: AWS CodeArtifact documentation — package versions.
Question 24 — CodePipeline failure rollback
A CodePipeline deployment stage fails in CodeDeploy. The team wants the pipeline to stop, keep the previous good version running, and surface the failure. Which behaviour achieves this?
- Configure the pipeline to ignore the failed stage and continue to the next stage
- Let the failed deployment trigger CodeDeploy's automatic rollback to the last known good revision, and let the pipeline stage report failure (correct answer)
- Delete the pipeline and recreate it after each failure
- Increase the CodeBuild timeout so the deployment eventually succeeds
Source: AWS CodeDeploy documentation — automatic rollbacks.
D4 — Troubleshooting and Optimization (6 questions)
Question 25 — Troubleshooting Lambda timeouts
A Lambda function intermittently times out, but only when it calls a downstream API. CloudWatch Logs show the function starts, then nothing until the timeout. What is the most useful next diagnostic step?
- Increase the function's memory and redeploy immediately
- Check the downstream API's latency and the function's VPC / network path, and add X-Ray tracing to see where time is spent (correct answer)
- Delete the function's CloudWatch log group
- Change the function's runtime to a newer version
Source: AWS Lambda / X-Ray documentation — tracing and troubleshooting.
Question 26 — DynamoDB throttling
An application using DynamoDB provisioned capacity sees ProvisionedThroughputExceededException during a traffic spike on one partition key. What is the most effective immediate mitigation?
- Enable DynamoDB Streams on the table
- Switch the table to on-demand capacity mode, or increase provisioned capacity / use DAX caching for hot reads (correct answer)
- Delete and recreate the table with the same key schema
- Enable point-in-time recovery on the table
Source: Amazon DynamoDB Developer Guide — throughput exceeded errors, on-demand mode, DAX.
Question 27 — API Gateway 502 errors
Users report intermittent HTTP 502 errors from an API Gateway REST API backed by Lambda. CloudWatch shows the Lambda function itself rarely errors. What is the most likely cause to check first?
- The API Gateway stage has no usage plan
- The Lambda function returned a malformed response (not matching the expected proxy integration format) or the integration timed out (correct answer)
- The API key has expired
- The S3 bucket holding the API's static assets is private
Source: Amazon API Gateway documentation — troubleshooting 502 errors.
Question 28 — Cold-start optimisation
A latency-sensitive Lambda function suffers long cold starts after periods of inactivity. Which option most directly reduces cold-start latency for steady traffic?
- Provisioned concurrency, which keeps execution environments initialised and ready (correct answer)
- Increasing the function's timeout
- Enabling SQS as an event source
- Reducing the function's reserved concurrency to zero
Source: AWS Lambda Developer Guide — provisioned concurrency.
Question 29 — Troubleshooting SQS poison messages
Messages in an SQS queue are being processed multiple times and the same message reappears after each failure. The consumer's visibility timeout is 30 seconds, but processing takes 90 seconds. What is the cause?
- The queue's retention period is too short
- The visibility timeout is shorter than the processing time, so the message becomes visible again and is redelivered while still being processed (correct answer)
- The queue is FIFO instead of standard
- The DLQ maxReceiveCount is set too high
Source: Amazon SQS Developer Guide — visibility timeout.
Question 30 — Verifying AI diagnostic suggestions
An AI assistant suggests a fix for a production latency issue, based on a summary of recent logs. Before applying it, what should the developer do?
- Apply the suggestion immediately, since it is based on the logs
- Validate the suggestion against the raw CloudWatch Logs / metrics and X-Ray traces, reproduce the evidence, and test the change in a non-production environment first (correct answer)
- Ask the assistant to generate a second, different suggestion and apply both
- Disable the AI assistant so it cannot suggest further changes
Source: DVA-C03 exam guide Task 4.x — AI-assisted diagnosis (validate AI suggestions with log/metric evidence before release); skeleton v2 D4.
Want all 300 questions?
The full Developer Associate Practice Exam Pack (300 original questions, timed 65-question mock exams, per-question explanations) is not ready yet. It starts when either of these happens: the waitlist below reaches 50 people, or the free CLF-C02 demo on this site reaches 300 unique visitors.
Joining opens your email app with a pre-addressed message — nothing is sent automatically. We will only use your email to tell you when the full pack is ready, and you can ask us to delete it at any time. We do not send the sample questions by email — they are on this page. See the Privacy Policy.
FAQ
Are these the real exam questions?
No. Every question is written by us from the public DVA-C03 exam guide and official AWS documentation. Using real exam questions would be a violation of AWS exam policy; ours are original practice questions built to the same syllabus.
Do I need to create an account or give you my email?
No. The 30 sample questions are on this page and need no sign-up. The email field above is only for the waitlist for the full 300-question pack.
When does DVA-C03 start?
1 December 2026. The last day to sit DVA-C02 is 30 November 2026.
How is DVA-C03 different from DVA-C02?
See DVA-C03 vs DVA-C02 — what changed: AppSync is out, container image building and presigned URLs moved domains, AI-assisted development and AI-services security (Task 2.3) are new, and Troubleshooting grew from 18% to 22% of the exam.
Who do I contact for help?
support@cloudcertpath.com — we reply within 3 business days.
Questions on this page were checked against the public DVA-C03 exam guide. Exam facts can change — confirm them with AWS Training and Certification before you book. We are not affiliated with, endorsed by, or sponsored by Amazon Web Services, Inc.