CC
CloudCert Lab
AWS · DVA-C02 (2026–2027)
AWS · DVA-C02 · UPDATED 2026–2027

AWS Certified Developer Associate (DVA-C02) Free Practice Exam & Serverless Guide

AWS Certified Developer – Associate (DVA-C02) focuses on building, securing, deploying, and troubleshooting cloud-native applications using Lambda, DynamoDB, API Gateway, Step Functions, Cognito, KMS, SAM, and CloudWatch/X-Ray.

Launch Free 15-Q Simulator → Take Free Timed Diagnostic Unlock All 260 Qs + 8 Certs ($19.99)
Exam Pacing
130 min
Passing Benchmark
72%
Full Pro Question Bank
260 Qs (4 Mocks)
Free Interactive Test
15 Qs ($0)

Official AWS DVA-C02 Blueprint Domains

4 Full-Length 65-Question Mock Tests (260 Scenarios) · Lambda, DynamoDB, API Gateway, SAM & X-Ray

DomainScored Exam Objective Area
Domain 1Development with AWS Services
Domain 2Security
Domain 3Deployment
Domain 4Troubleshooting and Optimization

5 Free DVA-C02 Scenario-Based Sample Questions (With Explanations & Exam Hacks)

Test yourself on real production-grade scenarios below, or launch the interactive 15-question simulator for live timing and domain analytics.

Sample Q1 · Domain 1: Development with AWS Services SINGLE-SELECT

At a mobile FinTech startup, the cloud development team is building a serverless document-upload feature where authenticated mobile app users upload 250 MB PDF statements directly to a private Amazon S3 bucket (bypassing API Gateway's 10 MB payload limit). Select and order the 4 architectural steps from login to direct S3 upload.

  1. A. Order 1 -> 2 -> 3 -> 4: (1) Authenticate the mobile user against an Amazon Cognito User Pool and receive a signed JWT ID/Access token -> (2) Call an Amazon API Gateway REST endpoint (protected by a Cognito User Pool Authorizer) that invokes an AWS Lambda function -> (3) Have the Lambda function (whose Execution Role holds `s3:PutObject` permission) call the S3 SDK `generate_presigned_url('put_object')` with a 15-minute expiration and return the URL to the client -> (4) Have the mobile client perform an HTTP `PUT` of the 250 MB file directly to Amazon S3 using the Pre-Signed URL.
  2. B. Order 4 -> 3 -> 2 -> 1: (1) Upload the 250 MB PDF directly through API Gateway -> (2) Invoke Lambda -> (3) Generate a Pre-Signed URL after upload -> (4) Authenticate with Cognito last.
  3. C. Order 1 -> 3 -> 4 -> 2: (1) Authenticate with Cognito -> (2) Embed static IAM root access keys inside the mobile app binary -> (3) Upload to S3 -> (4) Call API Gateway.
  4. D. Order 2 -> 1 -> 3 -> 4: (1) Call API Gateway unauthenticated -> (2) Make the S3 bucket completely public -> (3) Generate a Pre-Signed URL with no IAM permissions -> (4) Upload via SQS.
Reveal Verified Answer (A), Technical Explanation & Exam Hack

Correct Answer: Option A

Because Amazon API Gateway enforces a hard 10 MB payload ceiling and 29-second timeout, large binary uploads always authenticate via Cognito (Step 1), request a short-lived S3 Pre-Signed URL from a Lambda function whose Execution Role has `s3:PutObject` permission (Steps 2-3), and upload directly from the client to S3 via HTTP PUT (Step 4). Architectural Deep Dive: AWS Lambda executes serverless functions up to 15 minutes with 128 MB to 10 GB memory, 512 MB to 10 GB /tmp ephemeral storage, Lambda Layers for shared libraries/dependencies across functions, Provisioned Concurrency (or Lambda SnapStart for Java/Python/.NET) to eliminate cold starts, and Reserved Concurrency to guarantee and cap maximum concurrent executions for a specific function. Why Distractors Fail: Option B (Order 4 -> 3 -> 2 -> 1: (1) Upload the 250 MB PDF directly through API Gate...) is incorrect because that service applies to a different workload pattern and confuses Reserved Concurrency (which throttles/caps concurrency and does NOT pre-warm execution environments) with Provisioned Concurrency (which pre-warms environments to eliminate cold-start latency). Option C (Order 1 -> 3 -> 4 -> 2: (1) Authenticate with Cognito -> (2) Embed static I...) is incorrect because that service applies to a different workload pattern and exceeds API Gateway's hard 29-second integration timeout or 10 MB payload ceiling instead of using S3 Pre-Signed URLs for large file uploads or asynchronous invocation patterns. Option D (Order 2 -> 1 -> 3 -> 4: (1) Call API Gateway unauthenticated -> (2) Make th...) is incorrect because that service applies to a different workload pattern and exceeds API Gateway's hard 29-second integration timeout or 10 MB payload ceiling instead of using S3 Pre-Signed URLs for large file uploads or asynchronous invocation patterns.

Production Use Case: Latency-sensitive checkout APIs configure an Application Auto Scaling schedule on Lambda Provisioned Concurrency (pointed at a published function Version or Alias, never $LATEST) ahead of flash sales.
Exam Hack: Eliminate Lambda cold starts = Provisioned Concurrency (or SnapStart for Java) on a Version/Alias. Cap a function so it doesn't overwhelm a downstream RDS DB = Reserved Concurrency. Share common SDKs/certs across functions = Lambda Layers.
Sample Q2 · Domain 1: Development with AWS Services SINGLE-SELECT

At a SaaS B2B workflow automation company running event-driven workloads on AWS, a backend developer maintains a mission-critical application that uses Amazon Kinesis Data Streams to ingest and process large streams of data records in real time. Amazon EC2 instances consume and process the data from the shards of the Kinesis data stream by using Amazon Kinesis Client Library (KCL). The application handles the failure scenarios and does not require standby workers. The application reports that a specific shard is receiving more data than expected. To adapt to the changes in the rate of data flow, the `hot` shard is resharded. Assuming that the initial number of shards in the Kinesis data stream is 4, and after resharding the number of shards increased to 6, what is the maximum number of EC2 instances that can be deployed to process data from all the shards?

  1. A. 12.
  2. B. 6.
  3. C. 4.
  4. D. 1.
Reveal Verified Answer (B), Technical Explanation & Exam Hack

Correct Answer: Option B

Correct Answer (B): Option B (6.). Amazon Kinesis Data Streams provides sub-second real-time stream ingestion with configurable retention (24 hours up to 365 days), replayability across multiple independent consumers, and optional Enhanced Fan-Out (2 MB/s dedicated throughput per consumer per shard via HTTP/2). Furthermore, Amazon AppFlow is a fully managed, no-code integration service that securely transfers data bidirectionally between SaaS applications (such as Salesforce, ServiceNow, Zendesk, Marketo, SAP, and Slack) and AWS services like Amazon S3 and Amazon Redshift - supporting event-driven triggers, scheduled incremental pulls, inline filtering, and AWS PrivateLink. Why Distractors Fail: Option A (12....) fails to satisfy the specific performance, security, or managed-service constraint stated in the prompt. Option C (4....) fails to satisfy the specific performance, security, or managed-service constraint stated in the prompt. Option D (1....) fails to satisfy the specific performance, security, or managed-service constraint stated in the prompt.

Production Use Case: High-velocity clickstream and payment fraud pipelines ingest events into Kinesis Data Streams in On-Demand mode (or Provisioned shards with 1 MB/s write and 2 MB/s read per shard) so Apache Flink, AWS Lambda, and Firehose can all read the exact same stream concurrently.
Exam Hack: Multiple consumers needing real-time replay + ordering per PartitionKey = Amazon Kinesis Data Streams. Use Enhanced Fan-Out when multiple consumers need dedicated 2 MB/s read bandwidth without throttling.
Sample Q3 · Domain 2: Security MULTI-SELECT

[A healthcare patient-portal engineering team deploying containerized and serverless APIs on AWS has a developer who] A startup s photo-sharing site is deployed in a VPC. An ELB distributes web traffic across two subnets. ELB session stickiness is configured to use the AWS-generated session cookie, with a session TTL of 5 minutes. The webserver Auto Scaling Group is configured as: `min-size=4`, `max-size=4`, The startups preparing for a public launch, by running load-testing software installed on a single EC2 instance running in `us-west-2`. After 60 minutes of load-testing, the webserver logs show. Which recommendations can help ensure load-testing HTTP requests are evenly distributed across the four webservers? (Choose TWO)

  1. A. Launch and run the load-tester EC2 instance from `us-east-1` instead.
  2. B. Re-configure the load-testing software to re-resolve DNS for each web request.
  3. C. Implement the workflow using a 3rd-party load-testing service which offers globally-distributed test clients.
  4. D. Configure ELB and Auto Scaling to distribute across `us-west-2a` and `us-west-2c`.
  5. E. Configure ELB session stickiness to use the app-specific session cookie.
Reveal Verified Answer (B, C), Technical Explanation & Exam Hack

Correct Answer: Option B, C

Correct Answer (B, C): Option B (Re-configure the load-testing software to re-resolve DNS for each web request.); Option C (Implement the workflow using a 3rd-party load-testing service which offers globally-distributed test clients.). Amazon DynamoDB delivers single-digit millisecond NoSQL performance: 1 RCU supports one strongly consistent read per second (or two eventually consistent reads/sec) for items up to 4 KB, and 1 WCU supports one write/sec up to 1 KB; LSIs share the base table's partition key and must be created at table creation (supporting strong consistency), while GSIs can use any partition/sort key and be added anytime (eventual consistency only). Furthermore, AWS CodeBuild compiles source code, runs unit tests, and produces deployment artifacts according to `buildspec.yml` phases (`install` -> `pre_build` -> `build` -> `post_build`) while natively injecting sensitive parameters from SSM Parameter Store (`env.parameter-store`) or AWS Secrets Manager (`env.secrets-manager`) and caching dependencies in S3 or local Docker layer cache. Why Distractors Fail: Option A (Launch and run the load-tester EC2 instance from `us-east-1` instead....) fails to satisfy the specific performance, security, or managed-service constraint stated in the prompt. Option D (Configure ELB and Auto Scaling to distribute across `us-west-2a` and `us-we...) fails to satisfy the specific performance, security, or managed-service constraint stated in the prompt. Option E (Configure ELB session stickiness to use the app-specific session cookie....) fails to satisfy the specific performance, security, or managed-service constraint stated in the prompt.

Production Use Case: To prevent concurrent overwrites on an inventory item in DynamoDB, developers enable Optimistic Locking using a version number attribute (@DynamoDBVersionAttribute or ConditionExpression on version); to cache hot reads in microseconds without rewriting SDK queries, they deploy DynamoDB Accelerator (DAX).
Exam Hack: DynamoDB Golden Math: 1 RCU = 4 KB Strong (or 2x4 KB Eventual); 1 WCU = 1 KB. Add new Partition Key query pattern on existing table = GSI (Eventual reads only). Microsecond read cache for hot keys = DAX.
Sample Q4 · Domain 2: Security SINGLE-SELECT

At a real-time logistics tracking provider operating high-throughput REST and GraphQL APIs on AWS, a cloud developer is currently building a stock trading application that requires sub-millisecond latency in processing trading requests. Amazon DynamoDB is used to store all the trading data that is used to process each request. After load testing the application, the development team found that due to data retrieval times, the latency requirement is not satisfied. Because of sudden high spikes in the number of requests, DynamoDB read capacity has to be significantly over-provisioned to avoid throttling. What steps should be taken to meet latency requirements and reduce the cost of running the application?

  1. A. Add Global Secondary Indexes for trading data.
  2. B. Store trading data in Amazon S3 and use Transfer Acceleration.
  3. C. Add retries with exponential back-off for DynamoDB queries.
  4. D. Use DynamoDB Accelerator to cache trading data.
Reveal Verified Answer (D), Technical Explanation & Exam Hack

Correct Answer: Option D

Correct Answer (D): Option D (Use DynamoDB Accelerator to cache trading data.). Amazon Kinesis Data Streams provides sub-second real-time stream ingestion with configurable retention (24 hours up to 365 days), replayability across multiple independent consumers, and optional Enhanced Fan-Out (2 MB/s dedicated throughput per consumer per shard via HTTP/2). Furthermore, Amazon DynamoDB delivers single-digit millisecond NoSQL performance: 1 RCU supports one strongly consistent read per second (or two eventually consistent reads/sec) for items up to 4 KB, and 1 WCU supports one write/sec up to 1 KB; LSIs share the base table's partition key and must be created at table creation (supporting strong consistency), while GSIs can use any partition/sort key and be added anytime (eventual consistency only). Why Distractors Fail: Option A (Add Global Secondary Indexes for trading data....) is incorrect because that service applies to a different workload pattern and attempts to run strongly consistent reads against a Global Secondary Index (GSI) or tries to add a Local Secondary Index (LSI) to an existing table after creation. Option B (Store trading data in Amazon S3 and use Transfer Acceleration....) is incorrect because that service applies to a different workload pattern and routes multi-gigabyte file uploads through a Lambda function or EC2 web tier instead of generating an S3 Pre-Signed URL for direct client-to-S3 upload, or forgets that S3 Pre-Signed URLs inherit the exact IAM permissions and session expiration of the principal that generated them. Option C (Add retries with exponential back-off for DynamoDB queries....) is incorrect because that service applies to a different workload pattern and attempts to run strongly consistent reads against a Global Secondary Index (GSI) or tries to add a Local Secondary Index (LSI) to an existing table after creation.

Production Use Case: High-velocity clickstream and payment fraud pipelines ingest events into Kinesis Data Streams in On-Demand mode (or Provisioned shards with 1 MB/s write and 2 MB/s read per shard) so Apache Flink, AWS Lambda, and Firehose can all read the exact same stream concurrently.
Exam Hack: Multiple consumers needing real-time replay + ordering per PartitionKey = Amazon Kinesis Data Streams. Use Enhanced Fan-Out when multiple consumers need dedicated 2 MB/s read bandwidth without throttling.
Sample Q5 · Domain 2: Security SINGLE-SELECT

A digital banking engineering squad enforcing strict zero-trust security and CI/CD governance on AWS has a developer who manages an environment that has 25,000 employees and is growing. The enterprise is creating an application that will be accessible to its employees only. A developer is using Amazon S3 to store images and Amazon RDS to store application data. The enterprise requires that all employee information remain in the legacy Security Assertion Markup Language (SAML) employee directory only and is not interested in mirroring any employee information on AWS. How can the cloud engineer provide authorized access for the employees who will be using this application so each employee can access their own application data only?

  1. A. Use Amazon VPC and keep all resources inside the VPC, and use a VPC link for the S3 bucket with the bucket policy.
  2. B. Use Amazon Cognito user pools, federate with the SAML provider, and use user pool groups with an IAM policy.
  3. C. Implement the workflow using a Amazon Cognito identity pool, federate with the SAML provider, and use an IAM condition key with a value for the `cognito-identity.amazonaws.com:sub` variable to grant access to the employees.
  4. D. Establish and deploy a unique IAM role for each employee and have each employee assume the role to access the application so they can access their personal data only.
Reveal Verified Answer (C), Technical Explanation & Exam Hack

Correct Answer: Option C

Correct Answer (C): Option C (Implement the workflow using a Amazon Cognito identity pool, federate with the SAML provider, and use an IAM condition key with a value for the `cognito-identity.amazonaws.com:sub` variable to grant access to the employees.). Amazon Cognito separates authentication from AWS resource authorization: Cognito User Pools are managed user directories that handle sign-up, sign-in, MFA, SAML/OIDC social federation, and issue JWT tokens (ID/Access/Refresh) for API Gateway/ALB; Cognito Identity Pools (Federated Identities) exchange a valid login token for temporary, scoped AWS IAM credentials via AWS STS so mobile/web clients can access S3 or DynamoDB directly. Furthermore, AWS SAM (Serverless Application Model) extends CloudFormation (`Transform: AWS::Serverless-2016-10-31`) to define serverless apps concisely (`AWS::Serverless::Function`, `SimpleTable`, `Api`), supports local testing (`sam local invoke`, `sam local start-api`), uses the `Globals` section to avoid repeating shared properties (Runtime, Timeout, Tracing), and integrates natively with AWS CodeDeploy (`AutoPublishAlias` + `DeploymentPreference` like `Canary10Percent10Minutes` or `Linear10PercentEvery1Minute` with `PreTraffic` and `PostTraffic` Lambda hooks). Why Distractors Fail: Option A (Use Amazon VPC and keep all resources inside the VPC, and use a VPC link fo...) is incorrect because that service applies to a different workload pattern and hardcodes plaintext credentials inside `buildspec.yml` or forgets to configure CodeBuild VPC subnet/NAT settings when build tests must reach private RDS databases. Option B (Use Amazon Cognito user pools, federate with the SAML provider, and use use...) is incorrect because that service applies to a different workload pattern and exceeds API Gateway's hard 29-second integration timeout or 10 MB payload ceiling instead of using S3 Pre-Signed URLs for large file uploads or asynchronous invocation patterns. Option D (Establish and deploy a unique IAM role for each employee and have each empl...) fails to satisfy the specific performance, security, or managed-service constraint stated in the prompt.

Production Use Case: A mobile photo app authenticates users via a Cognito User Pool (or Google/Apple login) and then exchanges that token at a Cognito Identity Pool to obtain temporary STS credentials restricted by an IAM policy using ${cognito-identity.amazonaws.com:sub} to the user's own S3 prefix.
Exam Hack: Need JWT tokens for API Gateway/ALB login? -> Cognito User Pool. Need temporary AWS IAM credentials for mobile/browser clients to access S3/DynamoDB directly? -> Cognito Identity Pool.
ALL 9 CERTIFICATIONS · ZERO SUBSCRIPTION

Ready to Master All 260 DVA-C02 Scenarios (4 Full-Length Timed Mocks)?

Get instant browser activation for all 4 timed 65-question DVA-C02 exams plus all 8 other AWS, Azure AI-901, and Google Cloud GenAI Leader banks (2,340 scenarios · 36 mocks total), the downloadable offline HTML pack, and the Master Exam Hacks Cheat Sheets PDF for a single one-time payment of $19.99 USD.

Unlock Pro Vault on Gumroad ($19.99) → Try 15 Questions Free First
✓ One-Time Payment ($0/month) ✓ Instant AES-256 Pro Key + Offline ZIP + Cheat Sheets PDF ✓ Lifetime 2026–2027 Updates
Read FREE on Kindle Unlimited · Print & eBook Editions
Companion Book on Amazon: 2026–2027 Multi-Cloud & AWS Certification Practice Exams Series (Gabriel N.)
Study offline on Kindle, tablet, or paperback alongside the interactive CloudCert Lab simulator.
View on Amazon →

Frequently Asked Questions — AWS DVA-C02

How many free DVA-C02 practice questions can I take right now?

You can read 5 full sample scenarios on this page and launch our interactive 15-question DVA-C02 Free Diagnostic in the simulator with zero login required. The Pro Vault unlocks all 4 full-length 65-question timed mocks (260 scenarios for DVA-C02, plus 2,080 more across 8 other cloud certifications — 2,340 total).

What developer traps cause candidates to fail AWS DVA-C02?

Most missed points come from DynamoDB partition key/GSI throttling, Lambda execution roles vs. resource policies, API Gateway authorizer caching, SAM/CodeDeploy canary rollouts, and distributed tracing with AWS X-Ray.

What is the official time limit and passing score for AWS DVA-C02?

Our full-length timed mock exams mirror the official pacing of 130 minutes per 65-question exam and a 72% passing benchmark, complete with domain-level accuracy breakdowns.

Is the CloudCert Lab Pro Vault a recurring monthly subscription?

No. CloudCert Lab Pro is a single one-time payment of $19.99 USD via Gumroad. It includes instant browser Pro activation across all 9 certifications (2,340 scenarios) plus a downloadable offline HTML bundle, Master Exam Hacks Cheat Sheets PDF, and lifetime 2026–2027 blueprint updates.