AWS Developer Associate (DVA-C03) Study Guide
Free AWS Developer – Associate (DVA-C03) study guide: Lambda, DynamoDB maths, SQS and Kinesis, API Gateway, KMS, CI/CD and the new AI development topics.
Written by an engineer who passed this exam: verify on Credly ↗Exam domains (DVA-C03)
| Development with AWS Services | 30% |
| Security | 26% |
| Testing and Deployment | 22% |
| Troubleshooting and Optimization | 22% |
Weightings from the official AWS exam guide. Always check it for the current version.
These are my notes for the AWS Certified Developer – Associate, reorganised by topic. I’ve corrected the parts AWS has changed since (Aurora storage limits, read replica counts, SQS message size, renamed Kinesis services), so you don’t learn outdated numbers, and updated them for DVA-C03, which replaces DVA-C02 on 1 December 2026. The AI-related additions are summarised from the official DVA-C03 exam guide in their own section below.
What changed in DVA-C03
- Dates: the last day to take DVA-C02 is 30 November 2026. DVA-C03 is in use from 1 December 2026.
- Format is unchanged: 50 scored and 15 unscored questions, multiple choice and multiple response, scaled score 100–1,000, passing score 720. AWS recommends one or more years of hands-on experience developing and maintaining applications on AWS.
- Domain weights: Development with AWS Services 32% → 30%, Security stays 26%, Deployment 24% becomes Testing and Deployment 22%, Troubleshooting and Optimization 18% → 22%.
- New task 2.3: identify and mitigate the security risks of using AI services in application development.
- AI-assisted development was added across the exam: generating and reviewing code, generating tests, supporting CI/CD, analysing errors and finding optimisation opportunities.
- Also added: presigned URLs with CloudFront as well as S3, container image builds with ECR (Dockerfiles, tagging, lifecycle policies), and deploying to ECS, EKS and Fargate.
- Moved, not removed: unit testing with AWS SAM moved to testing and deployment, and Lambda performance tuning moved to optimisation. Several narrow DynamoDB, encryption, testing and observability skills were merged into broader ones, which AWS says does not reduce their emphasis.
Exam mindset: this exam loves exact API names and limits. If two answers look equivalent, the one using the precise API or parameter (
ConsistentRead,ChangeMessageVisibility,GenerateDataKey) is usually right.
Identity, CLI and SDK
- IAM credentials report is account-wide (every user’s credential status). IAM Access Advisor is per identity (services granted and last accessed).
--dry-runchecks permissions for EC2 calls without making changes.aws sts decode-authorization-messagedecodes encoded authorization failures.- To use the CLI with MFA, call
sts get-session-tokenand put the result in a profile (aws_session_token). Require MFA in policies with the conditionaws:MultiFactorAuthPresent: true. - STS APIs and session lengths:
AssumeRole(default 1 hour, up to the role’s maximum of 12 hours; role chaining is limited to 1 hour),GetSessionToken(up to 36 hours for IAM users),AssumeRoleWithSAML,AssumeRoleWithWebIdentity(prefer Cognito identity pools for apps),GetFederationToken,GetCallerIdentity,DecodeAuthorizationMessage. - On
ThrottlingException, retry with exponential backoff and jitter. The SDKs do this for you. - Requests made outside the SDK/CLI must be signed with Signature Version 4, either in the
Authorizationheader or the query string (as in S3 presigned URLs). - Know the credentials provider chain: explicit parameters, then environment variables, then shared credentials and config files, then container credentials, then instance profile (IMDS).
Compute and storage basics
- EC2 user data runs once at first boot, as root.
- EBS is AZ-scoped: move it with a snapshot. gp3 sets IOPS and throughput independently of size. io2 goes past 16,000 IOPS and supports Multi-Attach. HDD volumes can’t be boot volumes.
- Instance store is fast but ephemeral: use it for cache, buffers and scratch data.
- EFS is NFS shared across AZs. Performance modes are General Purpose or Max I/O, and throughput modes are Elastic, Bursting or Provisioned.
Load balancing and Auto Scaling
- ALB passes the client IP in
X-Forwarded-For. - Sticky sessions: duration-based cookies (
AWSALB) or application-based cookies (your own cookie orAWSALBAPP). Don’t name custom cookiesAWSALB,AWSALBAPPorAWSALBTG. - Deregistration delay (connection draining) lets in-flight requests finish.
- ALB multi-value headers pass repeated query parameters to Lambda as arrays in
multiValueQueryStringParameters. - Scaling policies: target tracking, step/simple, scheduled and predictive.
CloudFront essentials
- Viewer protocol policy controls client-to-edge HTTPS (allow HTTP, redirect HTTP to HTTPS, or HTTPS only). Origin protocol policy controls edge-to-origin (HTTP only, HTTPS only, or match viewer).
- SNI lets one ALB, NLB or CloudFront distribution serve multiple TLS certificates (the Classic Load Balancer doesn’t support it).
- Field-level encryption encrypts up to 10 specific POST form fields at the edge with a public key, so only the backend holding the private key can read them (for example card numbers).
- Lambda@Edge can run on four events: viewer request, origin request, origin response and viewer response. CloudFront Functions are lighter and cheaper but only handle viewer events.
- Restrict S3 origins to CloudFront with Origin Access Control (OAC), which replaces the legacy OAI.
Databases and caching
- RDS read replicas: up to 15 for MySQL, MariaDB and PostgreSQL. Replication is asynchronous. Same-region replica traffic is free.
- Multi-AZ is for availability (one DNS name, synchronous standby), not read scaling.
- An unencrypted DB can’t have encrypted replicas. To encrypt, snapshot, copy the snapshot with encryption, then restore.
- Aurora storage grows automatically up to 128 TiB, keeps 6 copies across 3 AZs, and supports up to 15 replicas.
- Caching strategies: lazy loading (cache-aside, can return stale data) vs write-through (always fresh, risks cache churn). Combine them with TTL.
ElastiCache: Redis / Valkey vs Memcached
| Redis OSS / Valkey | Memcached | |
|---|---|---|
| High availability | Replicas and Multi-AZ automatic failover | None (node loss = data loss) |
| Persistence and backups | Yes (snapshots, AOF) | No |
| Data types | Rich (sorted sets, hashes, streams) | Simple key-value |
| Scaling | Read replicas; shards with cluster mode | Sharding across nodes, multi-threaded |
- Cluster mode disabled: one shard with a primary and up to 5 read replicas. All data must fit on one node.
- Cluster mode enabled: data is partitioned across multiple shards, so writes scale too. Use it when one node isn’t enough.
Route 53 essentials
- CNAME vs Alias: a CNAME can’t be used at the zone apex (
example.com) and costs per query. An Alias record can be used at the apex, points to AWS resources (ALB, CloudFront, S3 website, API Gateway, another record), is free for queries to AWS resources, and supports health evaluation. It can’t point to an EC2 DNS name. - Routing policies: simple (no health checks), weighted, latency, failover (primary/secondary with health checks), geolocation, geoproximity (with bias), IP-based and multivalue answer (up to 8 healthy records).
DynamoDB (high-value topic)
Capacity maths
- 1 WCU = one write per second of up to 1 KB.
- 1 RCU = one strongly consistent read per second, or two eventually consistent reads, of up to 4 KB.
- Round item size up: 6 writes/s of 4.5 KB items = 6 × 5 = 30 WCU.
- Transactions cost 2×: 3 transactional writes/s of 5 KB = 3 × 5 × 2 = 30 WCU. 5 transactional reads/s of 5 KB = 5 × 2 (5 KB rounds to 2 × 4 KB) × 2 = 20 RCU.
- Tables run in provisioned mode (with auto scaling) or on-demand mode. Exceeding provisioned throughput throws
ProvisionedThroughputExceededException.
Keys and indexes
| LSI | GSI | |
|---|---|---|
| Partition key | Same as table | Any attribute |
| When created | Only at table creation | Anytime |
| Limit | 5 per table | 20 per table (default) |
| Consistency | Strong or eventual | Eventual only |
| Capacity | Shares the table’s | Its own (throttling can affect the table) |
| Projection | KEYS_ONLY, INCLUDE or ALL |
KEYS_ONLY, INCLUDE or ALL |
APIs and features
BatchWriteItem: up to 25 puts/deletes and 16 MB.BatchGetItem: up to 100 items and 16 MB.Scanreads everything (expensive). UseQuery,ProjectionExpressionand parallel scans when you must.Queryrules: theKeyConditionExpressionneeds equality on the partition key. The sort key can use=,<,>,BETWEENorbegins_with. AFilterExpressionis applied after items are read, so it reduces what’s returned but not the RCU consumed. Each call returns at most 1 MB (orLimititems) and paginates withLastEvaluatedKey.- CLI pagination and filtering:
--projection-expression(attributes to return),--filter-expression,--page-size(items per API call, which helps avoid timeouts),--max-items(total to return, gives aNextToken) and--starting-tokento resume. - Conditional writes give optimistic locking. Use transactions (
TransactWriteItems,TransactGetItems) for all-or-nothing. - DAX caches reads (default item TTL 5 minutes) to fix hot-key read pressure.
- Streams keep 24 hours of changes.
StreamViewTypeisKEYS_ONLY,NEW_IMAGE,OLD_IMAGEorNEW_AND_OLD_IMAGES. - TTL deletes expired items for free (no WCU), also from indexes, and the deletions appear in streams.
- Fine-grained access:
dynamodb:LeadingKeyslimits users to items with their own partition key.dynamodb:Attributeslimits columns. - Write sharding: add a random or calculated suffix to hot partition keys.
- Large objects: store them in S3 and keep pointers in DynamoDB (items max 400 KB).
Messaging and streaming
SQS
- Retention: default 4 days, max 14 days. Message size: up to 1 MiB (raised from 256 KB in 2025). Larger payloads go through S3 with the extended client.
- Visibility timeout defaults to 30 seconds. If processing takes longer, call
ChangeMessageVisibility, or the message is processed twice. - Long polling (
ReceiveMessageWaitTimeSecondsup to 20 s) reduces empty responses and cost. Delay queues postpone delivery up to 15 minutes. - After
maxReceiveCount, messages go to a dead-letter queue. - FIFO: the name must end in
.fifo. Throughput is 300 msg/s, or 3,000 with batching (higher with high-throughput mode). Deduplication within 5 minutes uses a content hash or a deduplication ID. Ordering is perMessageGroupId. - Scale consumers on
ApproximateNumberOfMessagesVisible.
SNS
- Fan-out: SNS to multiple SQS queues. It’s the standard way to send one S3 event notification to several consumers.
- Message filtering policies route subsets of messages to subscribers. A DLQ is configured per subscription, not per topic.
Kinesis
- Data Streams: per shard, 1 MB/s or 1,000 records/s in and 2 MB/s out.
- Shared (classic) consumers pull with
GetRecords: up to 5 calls per second per shard, up to 10 MB or 10,000 records per call, and they share the shard’s 2 MB/s. Latency is around 200 ms. - Enhanced fan-out pushes data over HTTP/2 with
SubscribeToShard: each registered consumer gets its own 2 MB/s per shard at around 70 ms latency. Use it when several applications read the same stream.
- Shared (classic) consumers pull with
- Records can’t be deleted. Retention is 24 hours by default, up to 365 days.
ProvisionedThroughputExceededExceptionmeans a hot shard: use a better partition key, retries with backoff, or split shards (merge cold ones). One KCL worker per shard, with checkpoints in DynamoDB.- Amazon Data Firehose (formerly Kinesis Data Firehose) batches to S3, Redshift, OpenSearch and partners, with optional Lambda transformation. It’s near-real-time (buffering can now be set as low as zero), stores nothing and can’t replay. If you need replay or multiple custom consumers, use Data Streams.
- Amazon Managed Service for Apache Flink replaces Kinesis Data Analytics for SQL applications.
Lambda
- Concurrency: 1,000 per region by default (a soft limit). Reserved concurrency caps a function and guarantees it capacity. Provisioned concurrency removes cold starts.
- Memory drives CPU: to get more vCPU, raise memory.
- A Lambda in a VPC has no internet access unless it’s in a private subnet routed through a NAT gateway. A public subnet doesn’t help.
- Versions are immutable (code and configuration). Aliases point to versions, can split traffic with weights, and can’t point to other aliases.
- Async invocations: retries, then a DLQ (SQS/SNS) or, better, destinations (SQS, SNS, Lambda, EventBridge) for success and failure.
- Stream sources (Kinesis, DynamoDB Streams): a failing batch blocks the shard until it succeeds or expires. Configure bisect on error, maximum retries, maximum record age and an on-failure destination.
- Event source mapping scaling:
- Streams: one concurrent invocation per shard by default, up to 10 with the parallelization factor (records with the same partition key stay in order). Choose the starting position (
LATEST,TRIM_HORIZONorAT_TIMESTAMP) and a batch window to wait for fuller batches. - SQS standard: Lambda adds up to 300 concurrent executions per minute as the queue grows. Set maximum concurrency on the mapping to protect downstream systems.
- SQS FIFO: concurrency scales with the number of active message groups, preserving order within each group.
- Streams: one concurrent invocation per shard by default, up to 10 with the parallelization factor (records with the same partition key stay in order). Choose the starting position (
- Lambda@Edge and CloudFront Functions run at the edge for request and response manipulation.
- Resource-based policies let other services or accounts invoke a function.
API Gateway
- Endpoint types: edge-optimized, regional and private (VPC only).
- Stage variables can point a stage to a Lambda alias (
function:${stageVariables.alias}). The function needs a resource policy for each alias. - Canary deployments send a percentage of stage traffic to a new deployment before promotion.
- Mapping templates (VTL) transform requests and responses. They don’t apply with proxy integrations.
- Caching is per stage, TTL 0–3600 s (default 300 s), with overrides per method. Watch
CacheHitCount/CacheMissCount. - HTTP APIs are cheaper and simpler, but lack usage plans, API keys and request transformation of REST APIs.
- Authorization options: IAM (SigV4), Cognito user pool authorizers, and Lambda authorizers. A Lambda authorizer is either token-based (reads a bearer token such as a JWT) or request-based (reads headers, query strings, stage variables). It returns an IAM policy, which API Gateway caches (default 300 s, up to 1 hour) to avoid calling the function on every request.
- WebSocket APIs: each client has a
connectionId, and the backend posts back through the connection callback URL. Routes include$connect,$disconnectand$default, plus custom routes chosen by the route selection expression (for example$request.body.action).
Security
KMS and encryption
- KMS encrypts up to 4 KB per call. Above that, use envelope encryption with
GenerateDataKey(plaintext + encrypted data key) orGenerateDataKeyWithoutPlaintext(encrypted only, for later use). - Every KMS call is billed and rate-limited. Use data key caching (Encryption SDK) or S3 Bucket Keys to cut calls.
- S3 encryption options: SSE-S3 (default for all new objects), SSE-KMS, DSSE-KMS, SSE-C (HTTPS required, key sent in headers; disabled by default on new buckets since April 2026) and client-side.
- Force HTTPS on a bucket with a Deny when
aws:SecureTransportisfalse. - Secrets Manager rotates secrets automatically (built-in RDS integration). Parameter Store is cheaper. Advanced parameters support policies such as expiry.
- Encrypt CloudWatch Logs per log group with
associate-kms-key.
Cognito
- User pools = user directory and sign-in (MFA, social and SAML federation, returns JWTs). They integrate with ALB and API Gateway authorizers.
- Identity pools = temporary AWS credentials (including guest access), with IAM policies that can use policy variables to scope each user’s access.
IAM evaluation
Explicit deny wins. Otherwise, an action must be allowed by an identity or resource policy, within any permissions boundary, session policy and SCP. For S3, the IAM policy and bucket policy are evaluated together. iam:PassRole controls which roles a user can hand to a service.
Deployment and CI/CD
Elastic Beanstalk deployment policies
| Policy | Downtime | Extra cost | Rollback |
|---|---|---|---|
| All at once | Yes | No | Redeploy |
| Rolling | No (reduced capacity) | No | Redeploy |
| Rolling with additional batch | No (full capacity) | Small | Redeploy |
| Immutable | No | Temporary 2× | Terminate new ASG |
| Traffic splitting | No | Temporary | Shift traffic back |
Use lifecycle policies to clean up old application versions, and swap environment URLs for blue/green.
CodeBuild, CodeDeploy and CodePipeline
buildspec.ymlphases:install,pre_build,build,post_build. Cache dependencies in S3 or locally. In a VPC, CodeBuild needs private subnets with a NAT gateway for internet access.- CodeDeploy uses
appspec.yml:filesplus lifecycle hooks. On EC2 and on-premises the order isApplicationStop,DownloadBundle,BeforeInstall,Install,AfterInstall,ApplicationStart,ValidateService(DownloadBundle and Install are run by the agent and can’t be scripted). EC2 and on-premises targets need the CodeDeploy agent. Lambda and ECS have their own traffic-shifting hooks and support canary and linear deployments. - CodePipeline stages contain action groups. Artifacts pass through S3. State changes go to EventBridge. The pipeline needs a service role with enough permissions.
- Source repositories: pipelines can use GitHub, GitLab or Bitbucket through CodeConnections, or CodeCommit, which is generally available again after AWS paused new sign-ups in 2024 and reversed that in November 2025. CodeCommit is not named in the DVA-C03 in-scope list. Repository events (pushes, pull requests) go to EventBridge or notification rules with SNS.
ECS and SAM
- With an ALB and dynamic host port mapping, the instances’ security group must allow the ALB on the ephemeral port range.
- Log in to ECR with
aws ecr get-login-password --region <region> | docker login --username AWS --password-stdin <account>.dkr.ecr.<region>.amazonaws.com. The oldaws ecr get-logincommand is gone. - Task placement strategies:
binpack,random,spread. Constraints:distinctInstance,memberOf(Cluster Query Language). - SAM templates start with
Transform: AWS::Serverless-2016-10-31. Usesam build/sam deploy, and policy templates for common Lambda permissions.
Monitoring and troubleshooting
- Custom metrics use
PutMetricData, with standard (60 s) or high resolution (1 s) storage. - Use the CloudWatch agent (the old Logs agent is deprecated) for logs plus memory and disk metrics, with config stored in Parameter Store.
- Metric filters turn log patterns into metrics you can alarm on.
- X-Ray: the daemon listens on UDP 2000. A trace is made of segments (one per service) and subsegments (calls inside it). Annotations are indexed (searchable), metadata isn’t. New projects increasingly use the AWS Distro for OpenTelemetry.
- Default sampling: the first request each second (the reservoir), plus 5% of additional requests. Change sampling rules in the console without redeploying code.
- Write APIs the daemon needs:
PutTraceSegments,PutTelemetryRecords,GetSamplingRules,GetSamplingTargets,GetSamplingStatisticSummaries. Read APIs:GetServiceGraph,BatchGetTraces,GetTraceSummaries,GetTraceGraph.
- CloudTrail: management events are on by default. Data events (S3 objects, Lambda invokes) and Insights events are opt-in. Event history covers 90 days.
Step Functions and AppSync
- Step Functions models workflows as state machines:
Task,Choice,Parallel,Map,Wait,Pass,Succeed,Fail. Handle errors with Retry and Catch, and keep error details usingResultPath(for example$.error). Built-in error names includeStates.ALL,States.Timeout,States.TaskFailedandStates.Permissions.
| Standard workflow | Express workflow | |
|---|---|---|
| Maximum duration | 1 year | 5 minutes |
| Execution semantics | Exactly-once | At-least-once (async) / at-most-once (sync) |
| Pricing | Per state transition | Per execution, duration and memory |
| Execution history | Kept in Step Functions | CloudWatch Logs only |
| Best for | Long-running, auditable workflows | High-volume event processing (IoT, streaming) |
- AppSync is managed GraphQL (with real-time subscriptions over WebSockets). Resolvers connect fields to data sources. Auth modes are API key, IAM, Cognito user pools, OIDC and Lambda.
AI-assisted development and AI services (new in DVA-C03)
This section is summarised from the DVA-C03 exam guide rather than from my original exam notes, because these topics were not on the exam I passed.
In-scope AI services: Amazon Bedrock, Amazon Bedrock AgentCore, Amazon Quick and Kiro. Amazon SageMaker AI, Amazon Rekognition, Amazon Polly and Strands Agents are listed as out of scope.
Out of scope as job tasks: selecting foundation models, prompt engineering, designing RAG architectures, designing AI safety frameworks, implementing guardrails and AI governance. The exam tests a developer using AI services and tools safely, not designing AI systems.
What the guide asks you to be able to do:
- Develop with AI tools (skill 1.1.9): use AI-assisted development tools to generate, review and optimise code: spec-driven code generation, automated code reviews, code completion, refactoring suggestions and security scanning. Kiro, AWS’s agentic IDE, is built around spec-driven development.
- Integrate managed AI services (1.1.10) into applications, for example calling Amazon Bedrock through the AWS SDK.
- Request and manage access to AI services (2.3.1), with IAM permissions like any other AWS API.
- Keep data private (2.3.2): use VPC endpoints (AWS PrivateLink) for private connectivity to AI services, and make sure inputs and outputs are not used to train models.
- Filter model inputs and outputs (2.3.3): content filtering, sensitive information detection, PII and PHI redaction, denied topics, and protection against prompt injection and manipulation.
- Secure AI agents (2.3.4): tool-use authorisation, session isolation, and human-in-the-loop approval before sensitive actions.
- Protect logs (2.3.5): keep sensitive content out of monitoring logs that capture interactions with AI services.
- Use AI tools across the lifecycle: generate tests and automate test execution and analysis (3.2.5), support CI/CD with deployment approvals, environment provisioning and post-deployment validation (3.3.9), analyse errors and suggest fixes (4.1.5), and find performance and code-efficiency improvements (4.3.6).
Final exam tips
- Do the DynamoDB and Kinesis maths on paper. Those questions are free points if you’re precise.
- “Process exactly once and in order” means a FIFO queue with the right
MessageGroupId. - “Messages processed twice” means the visibility timeout is too short.
- “Reduce KMS cost or throttling” means data key caching or S3 Bucket Keys.
Frequently asked questions
What is the hardest part of the AWS Developer Associate exam?
For most candidates it is DynamoDB (capacity unit calculations, LSI vs GSI, consistency) and the precise behaviour of Lambda with SQS, Kinesis and DynamoDB Streams. Practise the RCU and WCU maths until it is automatic.
Do I need to be a developer to pass the AWS Developer Associate?
You need to be comfortable reading code, IAM policies and CLI output, but not to write production applications. Building a small serverless app with API Gateway, Lambda and DynamoDB covers most of the exam.
Should I take Developer Associate or Solutions Architect Associate first?
Choose based on your role. Developers usually find the Developer – Associate more natural; infrastructure and DevOps engineers often start with the Solutions Architect – Associate. Both together are good preparation for the DevOps Engineer – Professional.
What changed between DVA-C02 and DVA-C03?
DVA-C02 was last delivered on 30 November 2026 and DVA-C03 starts on 1 December 2026. The domain weights moved to Development 30%, Security 26%, Testing and Deployment 22% and Troubleshooting and Optimization 22%. A new task covers the security risks of using AI services in applications, and AI-assisted development skills were added to writing code, testing, CI/CD, troubleshooting and optimisation. Kiro, Amazon Bedrock, Amazon Bedrock AgentCore and Amazon Quick are in scope. The format is unchanged: 50 scored and 15 unscored questions, passing score 720.
Is CodeCommit still on the Developer Associate exam?
It is not named in the DVA-C03 in-scope service list, which lists CodeArtifact, CodeBuild, CodeDeploy, CodePipeline, Amplify, CloudShell and X-Ray under developer tools. The list is non-exhaustive, so know the basics of source repositories feeding CodePipeline, but spend your time on CodeBuild, CodeDeploy and CodePipeline.