Home › Certifications › AWS Certified Developer — Associate (DVA-C02)
150 multiple-choice questions, 120 flashcards and 10 scenario simulations, organised into 4 chapters, written to the AWS Certified Developer blueprint. Every question carries a full rationale.
Study AWS Certified Developer — Associate (DVA-C02) in CoStudy →
AWS Certified Developer — Associate (DVA-C02) Exam Guide (public, aws.amazon.com) — 4 content domains: 1) Development with AWS Services (32%) — Lambda, DynamoDB, API Gateway, SDKs, 2) Security (26%) — IAM, KMS, Cognito, Secrets Manager, 3) Deployment (24%) — CodePipeline, CodeBuild, SAM, CloudFormation, 4) Troubleshooting & Optimization (18%) — X-Ray, CloudWatch, performance tuning. MCQs reference public AWS documentation and DVA exam objectives.
CoStudy's AWS Certified Developer — Associate (DVA-C02) bank holds 280 items organised into 4 chapters that follow the published blueprint. Every multiple-choice question carries a written rationale explaining why the correct answer is correct and why each distractor is tempting but wrong, and the bank includes 10 scenario-based simulations.
Each chapter follows a domain of the published exam outline. Practise one on its own:
A sample of 12 multiple-choice questions from the bank, with the full rationale shown.
Which service orchestrates a state machine that calls multiple Lambdas with retries?
Answer: C — Step Functions state machine
A) EventBridge triggers events, not state. C) Correct — Step Functions defines Tasks with per-state retry policies. B) SSM Automation runs runbooks on instances. D) AppFlow moves data between SaaS apps.
Which API Gateway type is CHEAPEST and simplest for a REST-style Lambda-backed API?
Answer: D — HTTP API v2 with Lambda proxy
A) REST v1 costs more per million and adds features not always needed. D) Correct — HTTP API is cheaper and lower-latency for Lambda proxy patterns. C) WebSocket is for stateful sockets. B) Private APIs require VPC link.
Which S3 storage class transitions objects automatically between frequent and infrequent tiers?
Answer: D — S3 Intelligent-Tiering adaptive
A) Standard is single-tier at flat cost. B) Standard-IA is a target tier, not adaptive. D) Correct — Intelligent-Tiering moves objects based on access patterns. C) Glacier Flexible is archival with retrieval delay.
Which service is used to store and rotate an OAuth client secret used by a Lambda?
Answer: A — AWS Secrets Manager rotate secret
B) String parameters are not encrypted by default. A) Correct — Secrets Manager stores, encrypts, and rotates arbitrary secrets. C) Cognito holds its own client secret. D) ACM issues TLS certificates.
Which pattern implements ENVELOPE encryption for large payloads?
Answer: D — GenerateDataKey then local encrypt
A) KMS Encrypt is capped at 4 KB. D) Correct — envelope encryption encrypts data with a local data key and stores the KMS-wrapped key beside it. C) Signing proves authorship, not confidentiality. B) SSE-S3 isn't envelope as described.
Cognito Identity Pools exchange a user-pool ID token for what?
Answer: D — Temporary AWS credentials via STS
A) Permanent keys are never issued to end users. D) Correct — identity pools return short-lived STS credentials scoped by an IAM role. C) Refresh tokens are managed inside user pools. B) CloudFront signing is unrelated.
A CodeDeploy Lambda deployment with Canary10Percent5Minutes preset does what?
Answer: B — Shifts 10% traffic for 5 min then 100%
B) Correct — 10% goes to the new version for 5 minutes; if alarms stay clean, 100% shifts next. A) Reverses the percentages. C) Would be All-at-once with delay. D) That describes a linear preset.
Which CodeBuild construct defines phases, artifacts, and env vars for a build?
Answer: A — buildspec.yml drives CodeBuild
B) appspec is a CodeDeploy artifact. A) Correct — buildspec.yml governs CodeBuild install, pre_build, build, and post_build phases. C) template.yaml is SAM/CFN. D) samconfig.toml stores sam CLI defaults.
Which CloudFormation attribute retains a resource when the stack is DELETED?
Answer: C — DeletionPolicy: Retain the resource
A) UpdateReplacePolicy governs replacements during updates, not deletion. C) Correct — DeletionPolicy: Retain preserves the resource after stack delete. B) DependsOn only orders creation. D) Metadata is informational.
Which HTTP status code from an SDK call indicates client-side throttling by the target AWS API?
Answer: A — HTTP 429 Too Many Requests
C) 401 is unauthenticated. B) 403 is access denied. A) Correct — 429 TooManyRequests signals throttling; SDKs retry with backoff. D) 500 signals a server-side error.
A DynamoDB table has a hot partition. Which redesign spreads write load MOST effectively?
Answer: D — Add a random suffix to partition-key value
A) PITR is a backup feature and does not affect hot keys. D) Correct — write sharding via a suffix (e.g., 0-9) distributes writes across many partitions. C) RCUs address read throttling, not write skew. B) Read consistency doesn't rebalance writes.
DynamoDB scans are slow and expensive. Data is filtered by a non-key attribute. BEST fix?
Answer: A — Create a GSI on that attribute
B) More RCUs only make expensive scans faster, not cheaper. A) Correct — Query on a GSI is orders of magnitude cheaper than Scan. C) Off-hours doesn't help user latency. D) Parallel scan is still expensive.
6 sample cards from the 120 in the bank.
CloudWatch Alarms?
Trigger actions when metric crosses threshold. Notify SNS, scale ASG, etc.
RDS Multi-AZ?
Synchronous replica in another AZ. Automatic failover. High availability.
KMS envelope encryption?
KMS key encrypts data key. Data key encrypts data. Efficient for large data.
What is AWS Developer Associate (DVA-C02)?
Cert for developers building applications on AWS. Covers SDK/CLI use, Lambda, API Gateway, DynamoDB, deployment, and troubleshooting.
API Gateway integration types?
Lambda proxy, Lambda non-proxy, HTTP, AWS service, mock, VPC link.
Redis vs Memcached?
Redis: persistence, pub/sub, complex types. Memcached: simple, multi-thread, no persistence.
These samples are a small slice. The full bank runs flashcards, multiple choice and timed mock exams with per-chapter progress tracking, on the web and in the iOS app.
Open AWS Certified Developer — Associate (DVA-C02) →
The AWS Certified Developer — Associate (DVA-C02) bank holds 280 items: 150 multiple-choice questions, 120 flashcards and 10 scenario-based simulations. 18 of them are on this page to read free, with no signup.
Yes. Every multiple-choice item carries a written rationale that states the controlling principle behind the correct answer and then addresses each wrong option in turn — why it tempts and precisely where it fails. Knowing why the plausible answer was wrong is worth more than knowing which letter was right.
It is organised into 4 chapters that follow the published exam blueprint: Development with AWS Services; Security; Deployment; Troubleshooting and Optimization. The number of questions in each chapter is proportional to that domain's published weight, so working through the bank exposes you to roughly the mix the real exam uses.
AWS Certified Developer — Associate (DVA-C02) Exam Guide (public, aws.amazon.com) — 4 content domains: 1) Development with AWS Services (32%) — Lambda, DynamoDB, API Gateway, SDKs, 2) Security (26%) — IAM, KMS, Cognito, Secrets Manager, 3) Deployment (24%) — CodePipeline, CodeBuild, SAM, CloudFormation, 4) Troubleshooting & Optimization (18%) — X-Ray, CloudWatch, performance tuning. MCQs reference public AWS documentation and DVA exam objectives.
The samples on this page are free to read in full, rationales included, with no account. The complete 280-item bank, the timed mock exams and per-chapter progress tracking are part of CoStudy on the web and in the iOS app.
Last reviewed 2026-08-22. Banks are written against the certifying body's published exam outline and re-checked when that outline changes — exams get renumbered, retired and reweighted, and a bank written to a superseded outline teaches the wrong proportions. Figures that are re-indexed annually are deliberately not asserted as rules; the questions test the governing principle instead.
This bank is written against AWS's published exam material. Check the AWS Certification exam guides for the current outline, fees and eligibility rules — those change, and the certifying body is the only authority on them. CoStudy is not affiliated with AWS.