AWS Developer Associate · DVA-C03
DVA-C03 Practice Exam: 700 Questions with Explanations
Preparing for the AWS Certified Developer – Associate (DVA-C03) certification? CertCrack gives you 700 original practice questions mapped to the official DVA-C03 exam guide — development with AWS services (30%), security (26%), testing and deployment (22%), and troubleshooting and optimization (22%). Every question includes a detailed explanation so you learn the why, not just the answer. Registration for the real DVA-C03 exam opens on 1 December 2026, and DVA-C02's last day is 30 November 2026 — so start preparing now and be ready to book on day one.
What's inside
- 700 original questions — written fresh for DVA-C03, mapped to the official exam objectives
- Detailed explanations on every question, including why wrong answers are wrong
- Full PDF included — download the complete question bank for offline study
- 3 months (90 days) of access to the interactive online question bank
- Free 30-question sample quiz and free sample PDF — no account needed to try
Try 30 sample questions
These are real samples from the DVA-C03 bank — the full version has 700 like these.
1. A developer is building a Lambda function for a billing platform. The function generates PDF invoices and writes them to an S3 bucket. Compliance requires that the function hold no long-term credentials and be able to write only to that one bucket. What is the MOST secure way to configure this?
- Create an IAM execution role with a policy that allows s3:PutObject only on the invoice bucket and attach the role to the function
- Create an IAM user for the application, store its access keys in a plaintext environment variable, and rotate them monthly
- Attach the AmazonS3FullAccess managed policy to the function's execution role so future buckets work without changes
- Embed the account root credentials in the deployment package so the function always has access
2. A Lambda function that processes orders must also run inside a VPC to reach a private RDS database. After the developer attaches the function to private subnets, calls from the function to the public DynamoDB API start timing out. What should the developer do to restore DynamoDB access with the least operational overhead?
- Move the function out of the VPC and connect to RDS over the public internet
- Create a NAT gateway in a public subnet and route the private subnets' internet-bound traffic through it
- Add a gateway VPC endpoint for DynamoDB to the route tables of the private subnets
- Give each private subnet a public IP range so the function can reach AWS APIs directly
3. A developer needs to share a set of utility libraries and a custom JSON-parsing binary across twelve Lambda functions written by different teams. The shared code changes about once a month and must be deployable independently of each function. Which approach meets these requirements?
- Copy the libraries into every function's deployment package and redeploy all twelve on each change
- Package the shared code as a Lambda layer and attach the layer version to each function
- Store the libraries in an S3 bucket and download them to /tmp on every cold start
- Merge the twelve functions into one large function that contains all the shared code
4. A retail company's Lambda function validates shopping carts. During flash sales, bursts of invocations overwhelm a downstream inventory API that can only handle 200 concurrent calls. The developer must cap the function's concurrency while still accepting events. Which configuration achieves this?
- Set the function's reserved concurrency to 200
- Set the function's provisioned concurrency to 200
- Lower the function's memory allocation so each invocation runs more slowly
- Reduce the account-level concurrency quota through a Service Quotas request
5. A Java Lambda function that serves a customer-facing API has unacceptable cold-start latency because of heavy framework initialization. The team cannot rewrite the application. Which feature MOST directly reduces the initialization latency?
- Increase the function's memory allocation to its maximum
- Enable Lambda SnapStart for the function
- Move the function to a container image deployment
- Place the function inside a VPC with enhanced networking
6. A Lambda function triggered by SQS must process each message, but occasionally a single malformed message causes the entire batch of ten to be retried and reprocessed. The developer wants only the failed messages returned to the queue. How should the function be configured?
- Reduce the SQS batch size to 1 in the event source mapping
- Enable partial batch responses on the SQS event source mapping and return the message IDs of only the failed items
- Set the queue's visibility timeout to zero so failures are visible immediately
- Configure a dead-letter queue on the function and let Lambda move the whole batch there
7. A developer is choosing how to expose a new Lambda function as an HTTPS endpoint for an internal tool. The tool needs simple request/response behavior, its own custom domain, and the lowest cost, and does not need request validation, usage plans, or API keys. Which option is the best fit?
- Create a REST API in API Gateway with a Lambda proxy integration
- Create a Lambda function URL and map the custom domain to it
- Create a WebSocket API in API Gateway for persistent connections
- Put an Application Load Balancer in front of the function with a Lambda target group
8. A data-processing Lambda function downloads a 700 MB reference dataset at startup and needs scratch space for intermediate files larger than the default ephemeral storage allows. What should the developer configure?
- Increase the function's /tmp ephemeral storage allocation, up to 10 GB
- Write intermediate files to the function's read-only deployment directory
- Mount the function's own zip package as a writable file system
- Store all intermediate files as Lambda environment variables
9. A developer notices a Python Lambda function is CPU-bound when compressing files: execution time barely drops when the timeout is raised, but billing duration is high. Which change will MOST improve its performance?
- Increase the function's configured memory, which proportionally increases allocated CPU
- Decrease the memory so the function is throttled into running longer batches
- Split the function into ten chained functions that each compress part of the file
- Enable Lambda SnapStart to warm the compression libraries
10. A nightly reconciliation job written as a single Lambda function now needs to run for about 40 minutes and includes pauses where it waits for an external approval. Which approach should the developer take?
- Raise the Lambda timeout above 15 minutes by requesting a quota increase
- Split the job into steps orchestrated by AWS Step Functions, with Lambda functions performing each task
- Run the Lambda function recursively so each invocation restarts the timer
- Keep the job in Lambda but store progress in environment variables between invocations
11. A developer must deploy a Lambda function whose dependency stack is 6 GB, far above the zip deployment limit. Which deployment method supports this with the LEAST change to the team's workflow?
- Split the zip into several functions that share variables through Parameter Store
- Deploy the function as a container image stored in Amazon ECR
- Compress the dependencies with a Lambda layer stack of five layers
- Base64-encode the package and pass it as an environment variable
12. EXHIBIT — A payments team reviews the configuration of a production Lambda function and its recent behavior: Function configuration: Memory 128 MB; Timeout 3 seconds; Runtime: Python 3.12; Handler performs JSON parsing of large payloads, three sequential calls to an internal pricing API, and writes results to DynamoDB. Observed behavior: p50 duration 2,850 ms; frequent DurationExceeded timeouts at peak; CPU utilization reported as saturated; error rate rises with payload size. The team can change ONE setting first and wants the change most likely to remove the timeouts. Which change should they make?
- Increase the memory allocation to 1,024 MB
- Increase the timeout to 15 minutes
- Move the function into a VPC
- Enable provisioned concurrency with 20 units
13. A Lambda function is invoked asynchronously to generate reports. When the downstream report service is down for an hour, all events from that hour are lost because retries are exhausted. The developer must ensure failed asynchronous invocations are preserved for later reprocessing. What should be configured?
- A dead-letter queue (SQS queue or SNS topic) on the function for failed asynchronous events
- A higher reserved concurrency so retries happen faster
- Synchronous invocation from the caller so errors surface immediately
- Lambda destinations on success only, writing to an S3 bucket
14. A developer's Lambda function creates a new database connection inside the handler on every invocation, causing connection storms during bursts. Which coding pattern fixes this with the least effort?
- Move connection creation outside the handler so it is created once per execution environment and reused across invocations
- Store the connection object in an S3 bucket and fetch it for each request
- Force a cold start before each invocation by publishing a new function version
- Increase the database's maximum connection limit to absorb the storm
15. A healthcare application stores configuration in Lambda environment variables, but the combined size of the values now exceeds the 4 KB limit. The values include a database connection string that must stay encrypted. What should the developer do?
- Compress the environment variables with gzip before setting them
- Move the configuration to AWS Systems Manager Parameter Store or Secrets Manager and retrieve it at runtime with caching in the function
- Split the configuration across two Lambda functions that call each other
- Store the values in the function's tags instead of environment variables
16. A developer wants a Lambda function to process very large product-catalog files (up to 2 GB) that several other services also need to read and update concurrently. Which storage option fits Lambda's model best?
- Mount an Amazon EFS file system to the function and process the files in place
- Use the function's /tmp storage and accept that other services cannot see the files
- Store the files in DynamoDB items split into 400 KB chunks
- Keep the files in the deployment package and rebuild it for each update
17. A public API backed by Lambda returns recommendation payloads of up to 20 MB. Clients complain that responses are buffered and arrive all at once, and some large responses fail. Which Lambda feature addresses this?
- Lambda response streaming, which progressively streams the response to the client
- Raising the function's memory so the payload is generated faster
- Returning the payload as a base64 string inside a JSON envelope
- Increasing the API payload quota for the account through Service Quotas
18. A developer invokes a Lambda function synchronously from a mobile backend and passes a 9 MB document for analysis. The invoke calls fail with a payload size error. What is the recommended pattern?
- Split the document into 6 MB chunks and invoke the function once per chunk
- Upload the document to S3 and pass the bucket and key in a small event payload for the function to fetch
- Compress the document with base64 encoding before sending it
- Switch the function to a container image so payload limits no longer apply
19. A fintech team must prove that only Lambda code they built and approved runs in production. They need Lambda to verify a signature before deploying function code. Which feature provides this?
- Lambda code signing with AWS Signer, configured to reject unsigned deployments
- VPC endpoints for the Lambda API so deployments stay on the private network
- Lambda layers with version pinning so old code cannot change
- S3 Versioning on the bucket that stores deployment packages
20. A developer troubleshooting a Lambda function notices the same SQS message being processed repeatedly and suspects the function is calling itself indirectly through an S3 notification chain, creating a runaway loop. Which Lambda capability helps stop this class of problem, and what should the developer also do? (Select the best single answer.)
- Use Lambda's recursive loop detection, which stops invocations in supported service chains, and redesign the chain to break the cycle
- Disable the function's execution role so the loop cannot continue
- Set the function's reserved concurrency to zero permanently and delete its event source mappings so no trigger can ever restart the loop
- Turn off CloudWatch Logs so the loop is no longer visible
21. A developer wants to minimize cost for a CPU-bound Lambda function by choosing the right memory setting. Which reasoning is CORRECT?
- 10,240 MB, because maximum CPU always finishes the work fastest, and the shortest possible duration always produces the lowest overall bill
- The smallest memory of 128 MB, because it carries the lowest per-GB-second rate and the lowest possible charge for each invocation
- Provisioned concurrency, because pre-warmed environments make invocations free of duration charges and remove any need to tune memory
- An intermediate setting such as 1,769 MB (one full vCPU), because cost is memory multiplied by duration and added CPU shortens the duration
22. A Java application uses Lambda SnapStart. After enabling it, sessions intermittently fail because every restored environment presents the same cached access token. What is the correct fix for SnapStart-based functions?
- Hard-coding database credentials so no network call is needed at restore
- Embedding the current timestamp in a static variable initialized before the snapshot
- Declaring all variables static so they can never change after restore
- Using the after-restore runtime hook to refresh values that must be unique per environment, such as credentials fetched at runtime
23. A team is migrating its client applications to IPv6-only networking. The clients invoke an AWS Lambda function over the internet, and the team needs those invocations to work over IPv6 without changing the function code. Which Lambda capability supports this scenario?
- Deploy the function behind CloudFront Functions instead
- Use S3 as an intermediary to carry requests to the function
- Invoke the function through its dual-stack endpoint name so IPv6 clients can reach it
- Move the workload to a Region that has no IPv4-only services
24. A Lambda function consumes an SQS queue that carries many event types, but the function only cares about 'order.shipped' events; it still gets invoked for every batch. How can the developer reduce wasted invocations without adding code?
- Filtering records inside the handler as the first line of code
- A dead-letter queue on the source queue
- Reducing the event source batch size to 1
- Event filtering patterns on the event source mapping
25. A developer sets a Lambda function's timeout to 25 minutes for a video analysis task and finds the setting rejected. Which statement is TRUE?
- Request a Service Quotas increase for the function timeout
- Switch the function from a zip package to a container image
- The timeout cannot exceed 15 minutes; redesign the job as shorter steps, for example with Step Functions
- Enable provisioned concurrency so the function is allowed to run longer
26. A developer adds a scheduled ping every 5 minutes to keep a Lambda function warm, but users still see cold starts when a burst of 300 requests arrives. Why is the warm-up ineffective? (Select the best single answer.)
- The function's memory is too small for the warm-up to help
- Provisioned concurrency is already configured for the function, so the remaining issue is that callers use the wrong invocation type for bursts of traffic
- A burst of 300 concurrent requests needs roughly 300 execution environments, and one scheduled warm-up only ever warms a single environment
- The function is attached to a VPC, which blocks scheduled warm-up events from reaching it
27. A Lambda function renders customer statements. Profiling shows that most of the per-invocation time is spent loading and compiling a template file, even though the template changes only when code is redeployed. What is the most effective optimization?
- Increase memory to speed repeated compilation
- Schedule the function to restart hourly
- Fetch and compile the template from S3 inside the handler on each request
- Load and compile the template outside the handler at initialization time
28. A payments Lambda function can be invoked more than once for the same order because its SQS trigger delivers at least once. The team wants a managed, low-code way to make handler execution idempotent. Which approach fits best?
- Configure the SQS redrive policy with maxReceiveCount of 1
- Turn on exactly-once delivery for the trigger in the Lambda console
- Use the Lambda Powertools idempotency utility backed by DynamoDB to record completed request keys and short-circuit duplicates
- Check the source IP address of each invocation and ignore repeats
29. A suite of Lambda functions fronts an Aurora MySQL database. At peak, hundreds of execution environments each open their own connections and exhaust the database's connection limit. Which service should the developer place in front of the database?
- Store open connections in /tmp so later invocations reuse them
- Cache the database password in the function to avoid Secrets Manager calls
- Put Amazon RDS Proxy between the functions and the database so connection pooling is shared across execution environments
- Raise the function's reserved concurrency so fewer environments exist
30. A developer wants better price-performance for a fleet of Python Lambda functions that have no compiled x86-specific dependencies. Which change does Lambda support?
- SnapStart must be disabled before switching architectures
- The function must be moved out of the VPC to run on Graviton
- API callers must be updated to send an architecture header with every request so Lambda can route the calls to Graviton processors
- Deploy the same code on arm64 by changing the function's architecture setting and rebuilding any native dependencies for arm64
Get the complete book on Amazon
AWS Certified Developer – Associate (DVA-C03) Study Guide & Practice Questions by H.A.Addis — the study guide plus all 700 questions with full explanations and 10 performance-based questions, for the new exam launching December 1, 2026.
$12.99 · Kindle edition
Get the book on AmazonThe code printed inside the book unlocks the full DVA-C03 practice bank on certcrack.com — free, and it never expires.
Get full access
One payment unlocks the online question bank and the full PDF.
$10 · 3 months access
Get full access Also available on Udemy Download the free sample PDF (30 questions)15-day money-back guarantee (before 25% of questions attempted). PDF downloads are non-refundable.
Exam facts: AWS Certified Developer – Associate (DVA-C03)
- Exam: AWS Certified Developer – Associate (DVA-C03)
- Registration opens: 1 December 2026
- Previous version: DVA-C02's last day is 30 November 2026
- Questions: 65 — multiple choice and multiple response (50 scored, 15 unscored)
- Passing score: 720 (scaled score of 100–1,000)
- Validity: 3 years
Frequently asked questions
How long do I get access?
Three months (90 days) from purchase, covering both the interactive online bank and the full PDF download. Access can be extended.
Is there a free trial?
Yes — a free 30-question sample quiz and a free sample PDF are available with no account required, so you can judge the quality before paying.
Are these questions like the real DVA-C03 exam?
All 700 questions are mapped to the official DVA-C03 exam objectives, written in the same style and difficulty as the real exam.
Can I study offline?
Yes. Your purchase includes the complete question bank as a downloadable PDF for offline study.
What is the refund policy?
Full access is refundable within 15 days, or before 25% of the questions have been attempted — whichever comes first. Downloaded PDFs are non-refundable.
When does registration for the DVA-C03 exam open?
Registration for AWS Certified Developer – Associate (DVA-C03) opens on 1 December 2026. The current version, DVA-C02, has its last day on 30 November 2026 — so prepare for DVA-C03 now and book as soon as registration opens.
How many questions are on the DVA-C03 exam?
65 questions — multiple choice and multiple response. 50 questions are scored and 15 are unscored trial questions, and you can't tell which is which during the exam.
What is the passing score for DVA-C03?
720 on AWS's scaled score range of 100 to 1,000. Scoring is compensatory — you need to pass the exam overall, not each section.
How long is the Developer Associate certification valid?
Three years. Before it expires, you recertify by passing the current version of the exam or a higher-level AWS exam.
Where can I practice for the DVA-C03 exam for free?
Right here on CertCrack. Start with the free 30-question sample quiz and the free sample PDF on this page — no account needed — and read the free DVA-C03 study guidebook. When you're ready for the full bank, this page gives you every practice question with detailed explanations for $10.