Skip to main content

AWS · DVA-C02 · Cheat sheet

DVA-C02 cheat sheet (AWS Certified Developer – Associate)

The DVA-C02 facts that come up most, in tables: Lambda, DynamoDB, API Gateway, IAM and Cognito, SQS, SNS and Kinesis, CI/CD, and X-Ray and CloudWatch, plus what changes in DVA-C03. Original study material written from AWS's published exam guide, not exam content.

DVA-C03 is in use from December 1, 2026; the last day to take DVA-C02 is November 30, 2026. Other version: DVA-C03 cheat sheet.

Updated

How we write and review questions

DVA-C02 exam facts

ItemDVA-C02
Questions65: 50 scored, 15 unscored and unidentified
Time130 minutes
Question typesMultiple choice (one correct answer) and multiple response (two or more correct answers)
Passing score720 on a scale of 100–1000; AWS does not publish the question-to-scale conversion
CostApproximately 150 USD, before regional pricing and taxes
DomainsDevelopment with AWS Services 32%, Security 26%, Deployment 24%, Troubleshooting and Optimization 18%
DeliveryPearson VUE test centre or online with a proctor
Valid for3 years, then renewed by recertifying or by earning a higher-level AWS certification
Last day to take it30 November 2026; DVA-C03 is in use from 1 December 2026
  • AWS lists designing architectures, designing CI/CD pipelines and administering IAM users as out of scope: the exam is about writing, securing, shipping and debugging code that calls AWS services.

AWS Lambda

Setting or featureWhat to remember
MemoryAlso sets CPU, so raising memory can make a function faster.
TimeoutThe function's own limit. Behind API Gateway, the integration timeout (29 seconds by default) can end the request first.
Reserved concurrencyCaps, and guarantees, the function's own share of the account-wide concurrency pool.
Provisioned concurrencyKeeps execution environments initialized, which removes cold starts.
Versions and aliasesA version is an immutable snapshot; an alias is a named pointer that can move and can split traffic between two versions.
LayersShare code and dependencies across functions; immutable once published, so a function must be updated to use a new layer version.
DestinationsRoute the result of an asynchronous invocation, success or failure, to SQS, SNS, another Lambda function or EventBridge.
Dead-letter queueCatches only failed asynchronous events.
Environment variablesEncrypted at rest with an AWS managed key by default, but visible to anyone who can read the function's configuration and never rotated. Secrets belong in Secrets Manager.
VPC accessThe function gets network interfaces in your subnets and needs a NAT gateway or VPC endpoints to reach AWS services.
SQS triggerSet the queue's visibility timeout to at least six times the function timeout, or messages reappear while still being processed.
  • A Lambda timeout, a throttle (concurrency limit hit) and an unhandled code exception are three different failures with three different fixes. Check CloudWatch Logs and the exact error before assuming which one occurred.
  • ECS on Fargate removes EC2 instance management; the EC2 launch type gives more control at the cost of managing the instances yourself.

Amazon DynamoDB

ConceptWhat to remember
Query vs ScanA Query reads one partition key value and is efficient; a Scan reads the whole table.
Read capacityA strongly consistent read of up to 4 KB costs one RCU; an eventually consistent read costs half that. Sizes round up to the next 4 KB.
Write capacityOne WCU per write of up to 1 KB; sizes round up to the next whole 1 KB.
Capacity modesOn-demand scales to traffic with no planning; provisioned mode can auto scale with a target-tracking policy.
Global secondary indexCan use a different partition key, is eventually consistent, and can be added after the table exists.
Local secondary indexShares the table's partition key and must be created with the table.
Conditional writesA ConditionExpression prevents race conditions: attribute_not_exists() for create-only-if-missing, a version-number check for optimistic locking.
TTLDeletes expired items in the background at no write cost.
Hot partitionsPick high-cardinality partition keys so traffic spreads across partitions instead of throttling one.
CachingLazy loading fills the cache on a miss and can serve stale data; write-through updates the cache on every write and can fill it with data nobody reads. TTL limits both problems.
  • S3 presigned URLs grant time-limited access to one object operation without exposing credentials; multipart upload splits large files into parallel, resumable parts.

Amazon API Gateway

Feature or symptomWhat to remember
Integration timeout29 seconds by default; Regional and private REST APIs can request a higher limit. HTTP APIs allow at most 30 seconds. It applies regardless of a longer Lambda timeout.
504 errorUsually an integration timeout: the backend took too long.
502 from a Lambda proxy integrationOften means the function returned a malformed response.
429 or throttlingA rate or concurrency limit was hit. Retry with exponential backoff, or raise the limit.
Stages and stage variablesSeparate deployments such as dev and prod, each with its own settings.
Cognito user pool authorizerValidates the JWT a user pool issued before the request reaches your backend.
Mock integrationReturns a fixed response with no backend, useful to stand in for a dependency while testing.

Security: IAM, Cognito, KMS and secrets

Service or featureWhat to remember
IAM role for computeLambda, EC2 and ECS code should use the role it runs with: temporary credentials that rotate automatically. Never access keys in code or configuration.
Cross-account accessNeeds a resource-based policy on the target (an SQS queue, an S3 bucket, a Lambda function) or a role in the other account assumed with AWS STS.
Cognito user poolA user directory: signs users in and issues JWTs that API Gateway can validate.
Cognito identity poolExchanges a sign-in (from a user pool or another identity provider) for temporary AWS credentials, so the client can call AWS services directly.
KMS envelope encryptionKMS generates a data key; encrypt the data locally with the plaintext key and store only the encrypted copy of the key next to the data.
KMS key usageEncrypt and decrypt, or sign and verify, is fixed when the key is created; one key can't do both. Encryption context is authenticated but not secret.
Secrets ManagerBuilt for secrets, with built-in rotation.
Parameter Store SecureStringEncrypted, but rotation is up to you.
  • Identity federation uses SAML or OpenID Connect; bearer tokens such as JWTs carry the signed-in user's claims.

Messaging and streaming: SQS, SNS, EventBridge, Kinesis

ServiceUse it whenFacts to know
SQS standard queueWork must wait in a buffer until one consumer pulls itAt-least-once delivery, best-effort order. Keeps messages 4 days by default (1 minute to 14 days). Visibility timeout 30 seconds by default, up to 12 hours.
SQS FIFO queueOrder or exactly-once processing mattersStrict order within a message group. Up to 300 API calls per second per action, or 3,000 messages per second with batches of 10.
SNS topicOne message must reach many subscribersPushes a copy to every subscriber; filter policies narrow what each one gets. No backlog of its own, so put an SQS queue behind it for a slow consumer.
EventBridgeEvents must be routed by their contentRules match event patterns and send to targets, up to five per rule on the classic bus. Scheduler runs one-time or recurring jobs.
Kinesis Data StreamsAn ordered, replayable stream must be read by several consumers at high volumeLambda reads it through an event source mapping; an on-failure destination records failed batches.
Step FunctionsSeveral steps must be orchestratedTask states call services, Choice states branch, Parallel states run branches at once, Map states iterate a collection.
  • Consumers on one SQS queue compete: each message reaches only one of them. Fan-out to several services is SNS (or EventBridge) with one queue per consumer.
  • Retries with exponential backoff are built into the AWS SDKs; make handlers idempotent so a redelivered message does no harm.

Deployment and CI/CD

Tool or strategyWhat to remember
CodePipelineOrchestrates source, build (CodeBuild) and deploy (CodeDeploy, CloudFormation or others) as stages and actions.
CodeDeploy for LambdaShifts traffic between versions through an alias: canary (a set percentage first, the rest after a wait), linear (equal steps at fixed intervals) or all at once. A CloudWatch alarm can trigger an automatic rollback.
AWS SAMShorter serverless syntax that expands into standard CloudFormation. sam build and sam deploy package and deploy; sam local invoke runs a function locally.
CloudFormationA failed stack update rolls back to the last working state by default.
Elastic Beanstalk: all at onceUpdates every instance at once, so there is downtime.
Elastic Beanstalk: rollingUpdates in batches, so capacity drops during the update.
Elastic Beanstalk: rolling with additional batchKeeps full capacity during the update.
Elastic Beanstalk: immutableLaunches a fresh set of instances, so rollback is fast.
Packaging and configurationLambda ships as a zip file or a container image, with layers for shared code. Configuration lives in AppConfig, Parameter Store or Secrets Manager, not in the code.

Troubleshooting: X-Ray and CloudWatch

Tool or symptomWhat to remember
AWS X-RayTraces one request across services to show where the time goes.
X-Ray annotations vs metadataAnnotations are indexed and can be used in filter expressions; metadata is not indexed.
CloudWatch Logs InsightsQueries log data directly (filter, stats, aggregation), faster than scanning raw log lines.
Embedded metric formatPublishes custom metrics from structured logs, without extra API calls.
CloudWatch alarmsAlert on a metric, and can trigger a CodeDeploy rollback, including on a custom metric.
Lambda Insights and Container InsightsAggregated operational health metrics, rather than a single request's trace.
Throttling (429)A concurrency or rate limit was hit. Fix with retries and backoff, reserved or provisioned concurrency, or a quota increase, not more memory.
Cold startsProvisioned concurrency removes them.
  • For every error a question describes, ask which log, metric or trace would show it. Most answers are "look here first".

DVA-C02 vs DVA-C03

DVA-C02DVA-C03
DatesLast day to take it: 30 November 2026In use from 1 December 2026
Questions and time65 questions (50 scored) in 130 minutesSame
Passing score720 on 100–1000Same
CostApproximately 150 USDApproximately 150 USD
DomainsDevelopment with AWS Services 32%, Security 26%, Deployment 24%, Troubleshooting and Optimization 18%Development with AWS Services 30%, Security 26%, Testing and Deployment 22%, Troubleshooting and Optimization 22%
New contentNot coveredSecurity risks of AI services such as Amazon Bedrock, AI-assisted coding, testing and troubleshooting, building and deploying container images, and presigned URLs
  • Taking the exam on or before 30 November 2026? Study DVA-C02. From 1 December 2026, the exam is DVA-C03.
  • DVA-C03 doesn't ask you to build AI models: AWS lists choosing foundation models, prompt engineering and designing RAG as out of scope.
  • CertRidge has practice exams for both versions, and one purchase covers both.

Commonly confused

Side-by-side explainers for pairs DVA-C02 questions like to swap, each with real questions from our bank.

Test yourself on DVA-C02

Reading a summary is the easy part. Take the free 10-question diagnostic to see which of these domains you actually have, then study the rest.

Also free: 15 DVA-C02 sample questions with answers and the DVA-C02 study guide.