Development with AWS Services (30%)
Domain 1 is 30% of the scored content of the AWS Certified Developer – Associate (DVA-C03) exam. AWS facts were checked against current AWS documentation in November 2026.
| Task | Statement |
|---|---|
| 1.1 | Develop code for applications that are hosted on AWS |
| 1.2 | Develop code for AWS Lambda |
| 1.3 | Use data stores during application development |
Overview
Domain 1: Development with AWS Services AWS Certified Developer – Associate (DVA-C03): application code, Lambda and data stores
Welcome to Domain 1 of the AWS Certified Developer Associate exam, DVA-C03: Development with AWS Services. It is 30 percent of the scored content, about 15 of the 50 scored questions, and the largest domain.
Task 1.1 is developing application code: decoupling, synchronous versus asynchronous patterns, resilience, A P Is, S D Ks, streaming, event-driven patterns and A I-assisted development.
Task 1.2 is developing for Lambda: V P C access, configuration, error handling with destinations and dead-letter queues, and integrations through event source mappings.
Task 1.3 is using data stores: lifecycles and T T L, choosing the right store, caching, and DynamoDB keys, indexes, queries and consistency.
Expect questions about real code behavior: S D K retries, pagination, and which A P I call to make.
Expect event-driven designs: S3, S Q S, S N S, EventBridge and streams triggering code.
The key: prefer a built-in feature over custom glue code whenever one exists.
Exam key takeaway: Domain 1 tests writing code that uses AWS services well: decoupled patterns, Lambda configuration and error handling, and choosing and modeling data stores.
1.1 Develop code for applications that are hosted on AWS
Synchronous and Asynchronous Patterns Task 1.1 · Choose how components talk, and decouple them
| Pattern | Service | Use When |
|---|---|---|
| Request and response | API Gateway or ALB to Lambda or containers | Caller needs the answer now |
| Queue (point to point) | Amazon SQS standard or FIFO | Buffer work; consumers scale independently |
| Publish and subscribe | Amazon SNS topics with filter policies | One message, many subscribers |
| Event bus | Amazon EventBridge rules, Scheduler, Pipes | Route events by content; SaaS events |
| Storage events | S3 Event Notifications | React to object uploads and deletes |
| Workflow | AWS Step Functions | Multi-step logic with retries and state |
Task 1.1 starts with communication patterns. Synchronous request and response, through API Gateway or a load balancer, fits when the caller needs the answer immediately.
A queue, Amazon S Q S, buffers work so producers and consumers scale independently. FIFO queues add ordering per message group and deduplication.
Publish and subscribe with S N S sends one message to many subscribers, with filter policies so each gets what it needs.
EventBridge routes events by content with rules, runs schedules with EventBridge Scheduler, and connects sources to targets with Pipes.
S3 Event Notifications trigger code when objects are created or deleted, sending to Lambda, S Q S, S N S or EventBridge.
And Step Functions coordinates multi-step workflows with built-in retries, error handling and state.
Exam key takeaway: Use synchronous calls only when the caller must wait; otherwise decouple with SQS, SNS fan-out, EventBridge rules, S3 events or Step Functions.
Resilient Code, APIs and SDKs Task 1.1 · Retries, degradation, API features, SDK usage and serialization
- Retry with backoff: Resilient code retries transient errors with exponential backoff and jitter. The A W S S D Ks already retry throttling and some server errors, and idempotency keys make retries safe.
- Graceful degradation: Graceful degradation serves fallbacks or cached responses when a non-critical dependency fails, so core features keep working.
- API Gateway features: API Gateway can validate requests against models, transform requests and responses with mapping templates, and add throttling, caching and usage plans per stage.
- SDKs and the CLI: Code calls A W S through the S D Ks and C L I. Credentials come from the default provider chain, such as environment variables, profiles or an attached role, and paginators handle long result lists.
- Serialization: Serialize data to formats services expect, usually J S O N, with Base64 for binary payloads, and watch size limits on messages, events and items.
- Streaming data: For streaming, Kinesis Data Streams orders records per shard by partition key and allows replay, while Amazon Data Firehose delivers streams to S3, Redshift or Open Search without code.
Exam key takeaway: Retry with backoff and jitter, degrade gracefully, use API Gateway validation and transforms, let SDKs handle credentials and pagination, and pick Kinesis or Firehose for streams.
AI-Assisted Development and AI Services Task 1.1 · New in DVA-C03: AI tools for code, and managed AI in applications
- Kiro: DVA-C03 adds A I-assisted development. Kiro, A W S's agentic I D E and C L I, uses spec-driven development: requirements, then a design, then tasks that agents implement.
- Code generation: Use A I tools for code generation, completions and test generation, but review every change before it ships.
- Reviews and scanning: They also run automated code reviews, security scans and refactoring suggestions, catching issues early.
- Amazon Bedrock: To integrate managed A I into applications, Amazon Bedrock offers foundation models through one A P I, such as Converse or InvokeModel, with streaming responses.
- Knowledge bases and agents: Bedrock Knowledge Bases ground answers in your own documents, and Bedrock AgentCore runs agents that call tools with memory and identity.
- Amazon Quick: Amazon Quick, also in scope, brings A I-powered analytics and agents to business users, and includes what began as QuickSight.
Exam key takeaway: Use Kiro and AI tools for specs, code, tests, reviews and scans with human review; integrate Bedrock models, knowledge bases and AgentCore agents into applications.
1.2 Develop code for AWS Lambda
Configuring Lambda Functions Task 1.2 · Settings every developer must know
| Setting | What It Does | Remember |
|---|---|---|
| Memory | 128 MB to 10,240 MB; CPU scales with memory | More memory can be faster and cheaper |
| Timeout | Up to 15 minutes per invocation | Longer work: Step Functions or durable functions |
| Environment variables | Per-function config; encrypted at rest with KMS | Secrets belong in Secrets Manager |
| Concurrency | Reserved caps a function; provisioned pre-warms | Provisioned removes cold starts |
| Layers and extensions | Share libraries; add monitoring agents | Up to 5 layers per function |
| VPC access | Attach to private subnets and security groups | Internet or AWS APIs need NAT or endpoints |
Task 1.2 is Lambda. Memory ranges from 128 megabytes to about 10 gigabytes, and C P U scales with memory, so more memory can finish faster and even cost less.
The timeout can be up to 15 minutes. For longer work, use Step Functions or Lambda durable functions.
Environment variables hold configuration and are encrypted at rest with K M S, but real secrets belong in Secrets Manager or Parameter Store.
Reserved concurrency guarantees and caps a function's concurrency, and provisioned concurrency keeps environments initialized to remove cold starts.
Layers share libraries and runtimes across functions, up to five per function, and extensions add tools such as monitoring agents.
To reach private resources like R D S, attach the function to private subnets and security groups. It then needs a N A T gateway or V P C endpoints to reach the internet or A W S A P Is.
Exam key takeaway: Tune memory for CPU, keep under 15 minutes, keep secrets out of env vars, use reserved and provisioned concurrency, share with layers, and add NAT or endpoints in a VPC.
Invocation Types and Error Handling Task 1.2 · Who retries, and where failed events go
| Invocation | Retries | Failure Handling |
|---|---|---|
| Synchronous (API Gateway, SDK) | Caller handles retries | Return errors to the caller |
| Asynchronous (S3, SNS, EventBridge) | Lambda retries twice by default | On-failure destination or DLQ |
| Destinations | On success and on failure targets | Richer than DLQ: includes response or error |
| Event source mapping: SQS | Message returns after visibility timeout | Queue redrive policy to a DLQ |
| Event source mapping: streams | Retries until success or expiry | Bisect batch, max retries, on-failure destination |
How Lambda retries depends on the invocation type. Synchronous calls, such as from API Gateway, return errors to the caller, which decides whether to retry.
Asynchronous invocations, such as from S3, S N S or EventBridge, are queued by Lambda and retried twice by default. Failed events go to an on-failure destination or a dead-letter queue.
Destinations send results on success or failure to S Q S, S N S, EventBridge or another function, and include more detail than a dead-letter queue.
With an S Q S event source mapping, failed messages reappear after the visibility timeout, and the queue's redrive policy moves repeated failures to a dead-letter queue. Report batch item failures so only failed messages return.
For Kinesis and DynamoDB streams, Lambda retries a batch until it succeeds or expires, so set bisect on error, a maximum retry count and an on-failure destination to avoid blocking the shard.
Exam key takeaway: Synchronous callers retry themselves, async calls retry twice then use destinations or DLQs, SQS uses redrive and partial batch failures, and streams need bisect and retry limits.
Lambda Integrations Task 1.2 · Event sources, API front doors and service calls
- API Gateway proxy: With API Gateway Lambda proxy integration, the function receives the whole request and must return a status code, headers and body.
- Function URLs: Function U R Ls give a single function its own H T T P S endpoint, with I A M or no auth, and support response streaming.
- DynamoDB Streams: DynamoDB Streams with an event source mapping trigger functions on item changes, for triggers, aggregations or replication.
- SQS batches: For S Q S, tune batch size, the batching window and maximum concurrency, and set the queue visibility timeout to at least six times the function timeout.
- Event filtering: Event filtering on the event source mapping invokes the function only for matching records, so you pay only for events you care about.
- Calling services: Inside the function, create S D K clients outside the handler so they are reused, and grant least-privilege access through the execution role.
Exam key takeaway: Return proper proxy responses, use function URLs for simple endpoints, trigger from streams and SQS with tuned batches and filters, and reuse SDK clients under a least-privilege role.
1.3 Use data stores during application development
Choosing Data Stores and Lifecycles Task 1.3 · Match the store to the access pattern, and expire what you no longer need
| Access Pattern | Store | Lifecycle |
|---|---|---|
| Key-value at any scale | Amazon DynamoDB | TTL deletes expired items free |
| Relational, joins, transactions | Amazon RDS or Aurora | Backup retention period |
| Objects and files | Amazon S3 | Lifecycle rules: transition and expire |
| Sub-millisecond reads, sessions | Amazon ElastiCache (Valkey, Redis OSS, Memcached) | Key TTLs and eviction |
| Logs and messages | CloudWatch Logs, SQS | Log retention; message retention up to 14 days |
Task 1.3 is data stores. Key-value access at any scale fits DynamoDB, where time to live deletes expired items at no cost.
Relational data with joins and transactions fits R D S or Aurora, with a backup retention period.
Objects fit S3, where lifecycle rules transition objects to cheaper classes and expire them.
Sub-millisecond reads and sessions fit ElastiCache with Valkey, Redis O S S or Memcached, using key T T Ls.
Logs and messages have retention settings too: set CloudWatch Logs retention, and remember S Q S keeps messages up to 14 days.
Exam key takeaway: DynamoDB with TTL for key-value, RDS or Aurora for relational, S3 with lifecycle rules for objects, ElastiCache for fast reads, and retention settings for logs and queues.
DynamoDB for Developers Task 1.3 · Keys, indexes, consistency, queries and capacity
- Partition key: In DynamoDB, choose a high-cardinality partition key, such as a user I D, to spread traffic, and avoid hot keys such as a single date or status.
- Sort key and LSI: A sort key enables range queries within a partition. A local secondary index keeps the same partition key with a different sort key, and must be created with the table.
- GSI: A global secondary index uses different keys, can be added anytime, and supports only eventually consistent reads.
- Consistency: Reads are eventually consistent by default at half the cost. Set consistent read to true for strongly consistent reads on the table or a local index.
- Query vs Scan: Query finds items by key efficiently. Scan reads the whole table, so avoid it on large tables, or use parallel scan with care.
- Capacity units: One read capacity unit is one strongly consistent read per second of up to 4 kilobytes, or two eventually consistent reads. One write capacity unit is one write per second of up to 1 kilobyte. Items can be up to 400 kilobytes.
Exam key takeaway: Pick high-cardinality partition keys, use sort keys, LSIs and GSIs for access patterns, choose consistency deliberately, query rather than scan, and size RCUs and WCUs correctly.
Choosing a Caching Solution Task 1.3 · Match the cache to the data store and pattern
| Data Store | Cache | Strategy |
|---|---|---|
| DynamoDB | DynamoDB Accelerator (DAX) | Microsecond reads; API-compatible client |
| RDS, Aurora, any API | Amazon ElastiCache | Lazy loading or write-through, with TTLs |
| Static and API responses | Amazon CloudFront | Edge caching by cache key |
| API Gateway REST | Stage cache | TTL per method; invalidate with header |
| Inside Lambda | Execution environment reuse | Cache in globals between invocations |
Choose the cache by data store. For DynamoDB, DAX gives microsecond reads through an A P I-compatible client.
For relational databases or any slow call, ElastiCache caches results with lazy loading, which fills on a miss, or write-through, which updates on every write, plus T T Ls.
For static content and cacheable A P I responses, CloudFront caches at the edge based on the cache key.
API Gateway R E S T stages offer a built-in cache with a T T L per method.
And inside Lambda, variables outside the handler survive between invocations in the same environment, a simple in-memory cache.
Exam key takeaway: DAX for DynamoDB, ElastiCache with lazy loading or write-through for databases, CloudFront and API Gateway caches for responses, and Lambda globals for warm reuse.
Review
Exam Distractors: What to Reject Answers that work but add code, cost or risk
- Scan the table to find one customer. Query by key or a GSI.
- Strongly consistent reads on a GSI. GSIs are eventually consistent.
- Lambda polling S3 every minute. S3 Event Notifications.
- Database password in an env var. Secrets Manager or Parameter Store.
- Synchronous call to a slow service. Queue it with SQS.
- Hot partition key like today's date. High-cardinality key.
Exam key takeaway: Reject scans for single items, strong reads on GSIs, polling S3, secrets in env vars, synchronous calls to slow services, and low-cardinality partition keys.
Where current AWS differs from the exam guide
- DVA-C03 replaces DVA-C02 from December 1, 2026; this lesson follows DVA-C03.
- Kiro, the AI development tool named in scope, has been generally available since November 2025.
References
- AWS Certified Developer – Associate exam page — checked Nov 30, 2026
Check your understanding
Failed async Lambda events must be kept with error details.Show answerHide answer
Answer
On-failure destination.One order event must reach billing, email and analytics.Show answerHide answer
Answer
SNS fan-out to SQS queues.Session items should disappear after 24 hours at no cost.Show answerHide answer
Answer
DynamoDB TTL.Lambda must read an RDS database in a private subnet.Show answerHide answer
Answer
Attach the function to the VPC.API must reject requests missing required fields before Lambda runs.Show answerHide answer
Answer
API Gateway request validation.