# AWS Certified Developer - Associate (DVA-C03) Course

DVA-C03 · ASSOCIATE. Page: https://blowstack.com/courses/aws-certified-developer-associate

> Build, secure, test and deploy AWS apps for DVA-C03: Lambda, APIs, data stores, CI/CD and AI-assisted coding, in short lessons with diagram exercises.

Exam version DVA-C03: current, release Dec 1, 2026. All exam dates: https://blowstack.com/tools/cloud-certifications/aws

## Course at a glance

- Core lessons: 70
- Extra lessons, for the questions you miss: 230
- Quizzes and practice exams: 12 quizzes, 4 domain practice exams, and 10 full practice exams
- Domains: 4
- Tasks: 12
- Difficulty: 3 / 5
- Course updated: 2026-12-03
- Interactive, adaptive DVA-C03 course (lessons built around exercises with feedback on every answer, no videos): https://app.blowstack.com/courses/aws-certified-developer-associate
- DVA-C03 exam simulator (full-length or custom practice exams): https://blowstack.com/practice-exams/aws-certified-developer-associate
- Official DVA-C03 exam guide (the AWS document listing every domain, task and service in scope): https://docs.aws.amazon.com/aws-certification/latest/developer-associate-03/developer-associate-03.html

## Course scope

The course follows the official DVA-C03 exam guide and covers all 4 domains and 12 tasks.

### Development with AWS Services (30% of the exam)

- Develop code for applications that are hosted on AWS
  - **[Message Queuing vs. Publish-Subscribe Messaging](https://blowstack.com/courses/aws-certified-developer-associate/lessons/message-queuing-vs-publish-subscribe-messaging-dva-c03)** (core, Free): Why workers sharing a queue compete to handle each message, while publish-subscribe gives each matching subscription its own delivery. An image application reports uploads and metadata changes. Search indexing needs to see both. Thumbnail generation only needs uploads, and either of two identical thumbnail workers can do the job. That gives us two separate questions: Which applications need the event? and Which worker will do the work?
  - **[Asynchronous Communication vs. Synchronous Communication](https://blowstack.com/courses/aws-certified-developer-associate/lessons/asynchronous-communication-vs-synchronous-communication-dva-c03)** (core, Free): How to choose between returning the outcome in the same request and deferring it based on when the caller needs the result or must act on a failure. Imagine an application that shows a shipping quote before the user can choose a delivery option. The quote request is synchronous: the application needs the price, or an error it can act on, in the response to that request.
  - **[Graceful Degradation vs. Retry Policies](https://blowstack.com/courses/aws-certified-developer-associate/lessons/graceful-degradation-vs-retry-policies-dva-c03)** (core, Free): Why retrying a transient failure seeks the original result, while switching to reduced service changes what the application promises to deliver. A retry policy decides whether to repeat a failed operation. The next attempt still aims for the original result. If a product page normally shows product details and personalized recommendations, retrying the recommendation lookup is an attempt to return that same full page.
  - **[Payload Transformation vs. Request Validation](https://blowstack.com/courses/aws-certified-developer-associate/lessons/payload-transformation-vs-request-validation-dva-c03)** (core, Free): How to tell whether an API rule checks the inbound contract or changes the payload, and why rejected input is a client error while a broken mapping is an integration failure. Request validation asks whether the request as submitted meets the public API contract. If the contract requires an integer quantity, the JSON number 3 passes that rule and the string "3" fails it. The check does not rewrite either value.
  - **[APIs vs. AWS SDKs](https://blowstack.com/courses/aws-certified-developer-associate/lessons/apis-vs-aws-sdks-dva-c03)** (core, Free): How to distinguish the service's API contract from the language-specific SDK that wraps it. An AWS service's API contract defines the operations the service accepts, the inputs each operation needs, and the results or errors the service can return. For example, Amazon S3 defines PutObject as the operation for writing an object to a bucket. The contract belongs to S3, not to a programming language.
  - **[Amazon Data Firehose vs. Amazon Kinesis Data Streams](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-data-firehose-vs-amazon-kinesis-data-streams-dva-c03)** (core, Free): Distinguish managed delivery to a destination from a retained, replayable stream that applications consume independently. Choose Amazon Data Firehose when the job is to get incoming records into a supported destination, such as an Amazon S3 bucket. You configure the destination, and Firehose buffers and delivers the data for you. Applications work with the delivered data rather than opening their own readers on Firehose.
  - **[Serialization versus JSON](https://blowstack.com/courses/aws-certified-developer-associate/lessons/serialization-versus-json-dva-c03)** (core, Free): Why serialization is an operation and JSON is one possible representation, so a payload can be valid JSON without matching the receiver’s contract. Serialization turns a value in your program into a representation you can send or store. Deserialization reads that representation back into usable values. These are operations: they describe what your code does.
  - **[Amazon EventBridge vs. Amazon Simple Queue Service (Amazon SQS)](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-eventbridge-vs-amazon-simple-queue-service-amazon-sqs-dva-c03)** (core, Free): When to route an event to interested consumers with EventBridge and when to buffer work in an SQS queue for workers to pull at their own pace. Start with what the caller needs back. In a synchronous API call, the caller waits for the operation's result in the same request. With an asynchronous handoff, the producer can confirm that the event or work was accepted without waiting for downstream processing to finish.
  - **[Amazon CodeGuru vs. Amazon Q Developer](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-codeguru-vs-amazon-q-developer-dva-c03)** (core, Free): How to choose between Amazon CodeGuru and Amazon Q Developer when both can review existing code but only Amazon Q Developer generates and completes code. Code review starts with code that already exists. Amazon CodeGuru Reviewer analyzes supported source code and reports potential problems, such as a resource that is opened but never closed. A finding can include a recommended fix. Amazon Q Developer can also review existing code, including scanning for potential security issues in supported workflows.
  - **[Model Inference vs. Tool Calling](https://blowstack.com/courses/aws-certified-developer-associate/lessons/model-inference-vs-tool-calling-dva-c03)** (core, Free): Why generating a tool request is model inference, while executing the requested operation is a separate step handled by the application or agent runtime. Model inference runs a trained model on input to produce an output. For a language model, that output can be an answer in plain text or a structured tool request: a tool name and the arguments the model proposes. Both are outputs of inference.
  - Task quiz (Free with an account)
  - **[Publish-Subscribe Messaging: Topic-based fan-out](https://blowstack.com/courses/aws-certified-developer-associate/lessons/publish-subscribe-messaging-topic-based-fan-out-dva-c03)** (extra, for the questions you miss, Free): How an Amazon SNS topic decouples a publisher from its recipients by distributing one published message to matching subscriptions without the publisher naming or calling each recipient. When an order is created, inventory and shipping may both need to know about it. Instead of calling each recipient, the orders app sends one message to an Amazon SNS topic, a named destination for related messages. The app identifies the topic by its ARN, not by a list of recipients.
  - **[Amazon SQS: the work message lifecycle](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-sqs-the-work-message-lifecycle-dva-c03)** (extra, for the questions you miss, Free): Understand how a producer can hand work off without waiting for a result, and how retention, visibility, deletion, and dead-letter routing determine what happens to that work. With synchronous processing, the caller waits for the work to finish and gets the result in the response. That fits a request whose next step needs the result immediately.
  - **[Amazon EventBridge: event bus routing](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-eventbridge-event-bus-routing-dva-c03)** (extra, for the questions you miss, Free): How to choose a bus for asynchronous event routing and use Classic rules to match events such as alarm state changes or object creation and send targets the payloads they need. Use asynchronous routing when a producer needs to report what happened without waiting for downstream work. For example, a deployment can emit a completion event without waiting for a notification to go out. Use a synchronous request, such as an API Gateway call, when the caller needs the result in the response.
  - **[Amazon EventBridge vs. Amazon Simple Notification Service (Amazon SNS)](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-eventbridge-vs-amazon-simple-notification-service-amazon-sns-dva-c03)** (extra, for the questions you miss, Free): When applications need EventBridge to route events from multiple sources and when they need SNS to fan out messages published to a topic. Amazon EventBridge and Amazon SNS both let producers send information without knowing every recipient. Start with EventBridge when different events from multiple sources need different actions. Start with an SNS topic when a publisher already knows which channel a message belongs on and several subscribers need a copy.
  - **[Synchronous Communication: the request-response dependency](https://blowstack.com/courses/aws-certified-developer-associate/lessons/synchronous-communication-the-request-response-dependency-dva-c03)** (extra, for the questions you miss, Free): How an API Gateway endpoint that invokes Lambda synchronously returns a result the caller needs before continuing, and how waiting ties the caller’s latency and ability to finish to Lambda’s response. A checkout client asks for a shipping quote because it needs the amount before it can display the order total. In synchronous communication, the work that needs the result waits for the response. The client can still do unrelated work, such as showing a loading indicator.
  - **[Asynchronous Communication: the background job lifecycle](https://blowstack.com/courses/aws-certified-developer-associate/lessons/asynchronous-communication-the-background-job-lifecycle-dva-c03)** (extra, for the questions you miss, Free): How a job moves from acceptance through queued processing to a result or failure that the caller discovers by polling or notification, even when delivery is retried. A background job separates submitting work from finishing it. This report API returns 202 Accepted with a job ID and status URL after it creates a job record and queues the work. Acceptance means the work was handed off, not that a report exists.
  - **[Asynchronous Communication vs. Event-Driven Architecture](https://blowstack.com/courses/aws-certified-developer-associate/lessons/asynchronous-communication-vs-event-driven-architecture-dva-c03)** (extra, for the questions you miss, Free): Why sending a command to a worker for later processing is asynchronous without necessarily being event-driven, and how that differs from publishing a fact that interested consumers can react to. Synchronous communication keeps the caller waiting for the outcome of the requested work. For example, an API Gateway endpoint can invoke a backend synchronously and return its result. Asynchronous communication lets the caller continue before the work finishes. An acknowledgment can confirm that a request was accepted without confirming that it succeeded.
  - **[Push vs. Pull and Event-Driven Architecture](https://blowstack.com/courses/aws-certified-developer-associate/lessons/push-vs-pull-and-event-driven-architecture-dva-c03)** (extra, for the questions you miss, Free): Distinguish what triggers processing from who initiates delivery, so a polling consumer is not mistaken for a system that is not event-driven. An application keeps a file catalog up to date as uploads arrive. Instead of periodically scanning the bucket for new files, it reacts to object creation notifications. Each notification records that an object was created; it does not carry the file itself.
  - **[Exponential Backoff vs. Retry Policies](https://blowstack.com/courses/aws-certified-developer-associate/lessons/exponential-backoff-vs-retry-policies-dva-c03)** (extra, for the questions you miss, Free): How to distinguish the delay before an eligible retry from the broader policy that determines which failures to retry and when to stop. A retry policy decides whether an operation gets another attempt after a failure. It matches the failure against rules and checks whether there is room for another attempt. A read that was throttled may qualify; an invalid request usually needs to be corrected rather than sent again unchanged.
  - **[Idempotency vs. retry policies](https://blowstack.com/courses/aws-certified-developer-associate/lessons/idempotency-vs-retry-policies-dva-c03)** (extra, for the questions you miss, Free): Why a retry policy controls when and how often Lambda processing is reattempted, but idempotency determines whether those attempts repeat a side effect. When you invoke AWS Lambda asynchronously, Lambda accepts the event into its own queue without waiting for the function to finish. Lambda processes the queued event separately. If the function fails, Lambda can invoke it again with the same event.
  - **[Retry Policies: bounded retries](https://blowstack.com/courses/aws-certified-developer-associate/lessons/retry-policies-bounded-retries-dva-c03)** (extra, for the questions you miss, Free): How to retry transient failures only when the operation is safe to repeat, using exponential backoff with jitter, an attempt limit, and an overall deadline. A retry needs two things: a transient failure and an operation that is safe to repeat. Temporary throttling or a brief connection interruption may clear on its own. An invalid request or missing permission won’t be fixed by resending the same request under the same conditions.
  - **[Exponential Backoff: bounded retry timing](https://blowstack.com/courses/aws-certified-developer-associate/lessons/exponential-backoff-bounded-retry-timing-dva-c03)** (extra, for the questions you miss, Free): How capped, jittered delays give a dependency time to recover after transient failures, and how to keep those delays within the retry budget of the caller, workflow, or event source that owns the retry. Exponential backoff increases the delay before successive retries, giving a temporarily overloaded or unavailable dependency time to recover. Start with an initial delay, multiply it for each successive retry, and apply a maximum delay. For example, starting at 200 milliseconds and doubling with a 500-millisecond cap gives delay ceilings of 200, 400, 500, 500, and so on. The cap limits one wait, not the total time spent retrying.
  - **[Graceful Degradation: reduced-service modes](https://blowstack.com/courses/aws-certified-developer-associate/lessons/graceful-degradation-reduced-service-modes-dva-c03)** (extra, for the questions you miss, Free): How to define a fallback that preserves essential functionality within the request deadline, keeps required checks in place, and tells callers what is unavailable. Graceful degradation means deliberately offering less when a dependency fails or slows down, while still delivering something the caller can use. Start with the reason for the request: on a saved-products page, the shopper came to see their saved list. Personalized recommendations are useful, but they are not the reason the request has to succeed.
  - **[Dead-Letter Queues vs. Retry Policies](https://blowstack.com/courses/aws-certified-developer-associate/lessons/dead-letter-queues-vs-retry-policies-dva-c03)** (extra, for the questions you miss, Free): How a retry policy controls whether and when processing is attempted again, while a dead-letter queue holds failed events outside the normal processing path rather than scheduling another attempt. A retry policy governs whether and when work gets another attempt. A dead-letter queue (DLQ) holds failed work outside the normal processing path. Putting a message in a DLQ does not schedule another attempt.
  - **[AWS Step Functions: workflow error handling](https://blowstack.com/courses/aws-certified-developer-associate/lessons/aws-step-functions-workflow-error-handling-dva-c03)** (extra, for the questions you miss, Free): Trace how Step Functions matches errors, including wildcard exceptions, to retry states with backoff or route failures and timeouts to a fallback, and identify which failures must be handled at the execution level. By default, an error reported by a state fails the entire execution. A Step Functions workflow can instead handle a task error inside the current run: retry the work or move to a fallback that returns a useful result with less information.
  - **[Request Validation: API Gateway request validators](https://blowstack.com/courses/aws-certified-developer-associate/lessons/request-validation-api-gateway-request-validators-dva-c03)** (extra, for the questions you miss, Free): How API Gateway REST API method validators check required parameter presence and nonblank values, apply body models by content type, and reject invalid requests before invoking the backend, and where application validation is still needed, including for H Use an API Gateway REST API when you need built-in request validation. An API Gateway HTTP API does not provide this REST API feature. In a REST API, you configure a request validator, register it with the API, and assign it to each method that should use it.
  - **[API Versioning: Side-by-side API contracts](https://blowstack.com/courses/aws-certified-developer-associate/lessons/api-versioning-side-by-side-api-contracts-dva-c03)** (extra, for the questions you miss, Free): How to recognize a breaking contract change and route requests to the version whose validation rules and payload mappings preserve the client's expected behavior. An API contract says what a client can send and what it can rely on getting back. It covers more than field names: required inputs, data types, units, status codes, and error bodies can all be part of the contract. A change is breaking if a previously supported client can no longer make a valid request or correctly use the result.
  - **[APIs: The AWS service operation contract](https://blowstack.com/courses/aws-certified-developer-associate/lessons/apis-the-aws-service-operation-contract-dva-c03)** (extra, for the questions you miss, Free): How application code uses an SDK to call an IAM API operation with the required inputs and handle the response or service error. An API operation is a named action a service exposes. Its contract tells you what inputs to send and what success and error responses to expect. IAM’s GetRole operation reads information about an existing IAM role; it does not assume the role or return credentials.
  - **[Credential Provider Chain: AWS SDK credential resolution](https://blowstack.com/courses/aws-certified-developer-associate/lessons/credential-provider-chain-aws-sdk-credential-resolution-dva-c03)** (extra, for the questions you miss, Free): How an AWS SDK resolves credentials without hard-coding them, and how provider precedence can cause an unintended source to override a local profile or workload role. Create an AWS SDK client without passing access keys, and the SDK can use its default credential provider chain. Each provider knows how to obtain credentials from one source, such as environment variables, a local profile, or a workload role. The SDK checks providers in order and normally stops at the first one that returns credentials. That lets the same application code run locally and on AWS without embedding secrets.
  - **[AWS SDKs: Service client calls](https://blowstack.com/courses/aws-certified-developer-associate/lessons/aws-sdks-service-client-calls-dva-c03)** (extra, for the questions you miss, Free): How an application configures a service client, uses provider-supplied credentials to call an AWS operation, and handles the returned result or error. A Python AWS Lambda function uses Boto3, the AWS SDK for Python, to look up an order in DynamoDB. The application creates a service client and calls get_item. The SDK signs and sends the request; the application decides what to do with the outcome.
  - **[Event Streaming vs. Stream Processing](https://blowstack.com/courses/aws-certified-developer-associate/lessons/event-streaming-vs-stream-processing-dva-c03)** (extra, for the questions you miss, Free): How to tell whether a pipeline needs to make events available to consumers or compute results from those events as they arrive. Event streaming makes an ongoing flow of records available to consumers. A sales application publishes a record for each sale, and a service such as Amazon Kinesis Data Streams keeps those records available for consumers to read independently. One reader does not take a record away from another.
  - **[Event Streaming: partitioned event logs](https://blowstack.com/courses/aws-certified-developer-associate/lessons/event-streaming-partitioned-event-logs-dva-c03)** (extra, for the questions you miss, Free): How partition keys govern record placement and ordering, and how independent consumers use their read positions to replay records within the retention window. A partitioned event log stores records in several ordered sequences rather than one global sequence. In Amazon Kinesis Data Streams, each of those sequences is held in a shard. A producer supplies a partition key with each record.
  - **[Amazon Kinesis Data Streams: shard-based consumption](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-kinesis-data-streams-shard-based-consumption-dva-c03)** (extra, for the questions you miss, Free): How shards let consumers read in parallel without a stream-wide ordering guarantee, using EventBridge Pipes as a managed consumer. A Kinesis data stream is divided into shards. Each shard holds a sequence of records. Because the sequences are separate, a consumer can make progress on one shard without waiting to finish reading another.
  - **[Amazon Data Firehose: the record delivery lifecycle](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-data-firehose-the-record-delivery-lifecycle-dva-c03)** (extra, for the questions you miss, Free): Trace a record from direct ingestion or a Kinesis data stream to its configured destination, explaining the record size limit, when size or time triggers delivery, and where optional transformation and source-data backup fit. Amazon Data Firehose automatically delivers streaming records to a configured destination. This diagram uses Amazon S3. Amazon OpenSearch Service and custom HTTP endpoints are also supported destinations.
  - **[Amazon Managed Service for Apache Flink vs. Amazon Kinesis Data Streams](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-managed-service-for-apache-flink-vs-amazon-kinesis-data-streams-dva-c03)** (extra, for the questions you miss, Free): When to use Kinesis Data Streams to retain events for consumers to read or replay, and when to use managed Flink to run stateful computations on those events. An order event records one purchase. A running total answers a different question: how much has a shop sold so far? Amazon Kinesis Data Streams keeps the order events available to read, while an application on Amazon Managed Service for Apache Flink uses them to update the totals.
  - **[Amazon Managed Service for Apache Flink: stateful stream processing](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-managed-service-for-apache-flink-stateful-stream-processing-dva-c03)** (extra, for the questions you miss, Free): How a managed Flink application reads events through a source connector, computes per-key results over time windows, and writes those results through a sink connector. An Amazon Managed Service for Apache Flink application can turn a continuous stream of sensor readings into a total for each sensor and time interval. AWS runs the Flink infrastructure; your application defines what to read, how to group the readings, and where to write the totals.
  - **[Amazon Managed Service for Apache Flink vs. Amazon Data Firehose](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-managed-service-for-apache-flink-vs-amazon-data-firehose-dva-c03)** (extra, for the questions you miss, Free): When buffered delivery to a destination with optional record transformation is enough, and when the pipeline needs a Flink application that maintains state across events. The same stream of sensor readings can feed two outputs: a Parquet archive that preserves individual readings and a table of counts per device per minute. The archive changes how readings are stored. The count combines information from multiple readings.
  - **[Stream Processing: event-time windows](https://blowstack.com/courses/aws-certified-developer-associate/lessons/stream-processing-event-time-windows-dva-c03)** (extra, for the questions you miss, Free): How an Apache Flink job groups incoming records by when events occurred and uses watermarks to decide when to emit rolling metrics and how to handle late arrivals. A sensor can take a reading while offline and upload it later. If you want a count of readings taken in each interval, the job needs the sensor's timestamp, not the time the reading reached AWS.
  - **[Checkpointing: recovering stream consumers](https://blowstack.com/courses/aws-certified-developer-associate/lessons/checkpointing-recovering-stream-consumers-dva-c03)** (extra, for the questions you miss, Free): How durable checkpoints track per-shard progress in Kinesis consumers and pair source positions with operator state in Flink, and why recovery depends on retained records and safe handling of repeated writes. A checkpoint is a saved point from which a consumer can recover. For a stateful job, knowing where to start reading is not enough. If the job has already counted earlier events, it needs those saved counts as well as the positions from which to continue.
  - **[Serialization: JSON payload contracts in AWS](https://blowstack.com/courses/aws-certified-developer-associate/lessons/serialization-json-payload-contracts-in-aws-dva-c03)** (extra, for the questions you miss, Free): How to tell which layer encodes or decodes an AWS payload and what JSON structure and types must cross that boundary. The DynamoDB low-level API requires a type descriptor on every attribute. For example, {"count":{"N":"42"}} sends a number, not a string attribute: the N tag gives the value its meaning. Numbers travel as strings tagged with N to preserve precision. Binary values travel as base64 text tagged with B; DynamoDB decodes that text back to binary.
  - **[JSON: Event payload contracts](https://blowstack.com/courses/aws-certified-developer-associate/lessons/json-event-payload-contracts-dva-c03)** (extra, for the questions you miss, Free): Explain how to build valid JSON test payloads that match an event contract, including its nesting, field types, and rules for omitted fields versus explicit nulls. Start with the event contract for the code you are testing: what value goes at the root, where each field lives, and what type it takes. In our order event, the root is an object with an order field. That field holds an object containing id and items. Putting id at the root would leave it at the wrong path, even if the JSON parses.
  - **[Event Filtering: Per-destination matching](https://blowstack.com/courses/aws-certified-developer-associate/lessons/event-filtering-per-destination-matching-dva-c03)** (extra, for the questions you miss, Free): How routing rules match an event’s source, type, or payload fields to decide which destinations receive it without changing what the producer publishes. A producer publishes what happened, not a separate message for each team. Here, a Lambda function publishes deployment events to one Amazon EventBridge event bus.
  - **[Alert Routing vs. Event Filtering](https://blowstack.com/courses/aws-certified-developer-associate/lessons/alert-routing-vs-event-filtering-dva-c03)** (extra, for the questions you miss, Free): Why selecting which events enter a notification workflow is different from choosing where their notifications go, even when both decisions use the same event fields. Event filtering at the entry to a notification workflow asks, “Should this event enter?” Alert routing asks, “Where should the notification go once the event is in?”
  - **[Amazon SQS: Standard and FIFO queues](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-sqs-standard-and-fifo-queues-dva-c03)** (extra, for the questions you miss, Free): Choose a queue type by weighing throughput against ordering within a message group and send-side deduplication, without assuming FIFO prevents consumer retries. Both SQS queue types let a producer hand off work without waiting for a worker to finish. Choose a Standard queue when throughput is the priority and each message can be handled independently of arrival order. Standard provides at-least-once delivery and best-effort ordering: a message can arrive more than once, and messages can arrive out of send order.
  - **[Amazon S3: Event Notifications](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-s3-event-notifications-dva-c03)** (extra, for the questions you miss, Free): How S3 matches bucket events to notification destinations, what permissions delivery requires, and how to recognize test events and prevent recursive Lambda invocations. An S3 notification rule selects an event type and can also filter on the object's key. A prefix filter checks how the key starts. Each rule specifies one destination, so the uploads bucket uses separate rules for files under incoming/ and reports under reports/.
  - **[Fan-Out: one SNS topic, a queue for each consumer](https://blowstack.com/courses/aws-certified-developer-associate/lessons/fan-out-one-sns-topic-a-queue-for-each-consumer-dva-c03)** (extra, for the questions you miss, Free): How a single SNS publish delivers a copy to each matching SQS subscription, so each application can buffer and process the event independently instead of competing for it on a shared queue. Fan-out lets one event start work in several applications. An order publisher sends one message to an Amazon SNS topic instead of calling inventory and notifications separately.
  - **[Amazon SQS: queue policies for event delivery](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-sqs-queue-policies-for-event-delivery-dva-c03)** (extra, for the questions you miss, Free): Use an SQS queue policy to authorize delivery from a specific SNS topic, including subscriptions that cross account or Region boundaries. An SNS subscription names the SQS queue that should receive messages from a topic. Setting up that subscription and delivering a message through it are separate operations. They have different callers and different destinations.
  - **[Code Completion: AI suggestions in the editor](https://blowstack.com/courses/aws-certified-developer-associate/lessons/code-completion-ai-suggestions-in-the-editor-dva-c03)** (extra, for the questions you miss, Free): How AI uses nearby code and comments to suggest a continuation as you type, and how to check that it fits the project’s SDK version and runtime constraints before keeping it. As you type, AI code completion uses machine learning to predict what could come next. It draws on patterns and common syntax, using context such as nearby code and comments. The editor can show the proposed continuation inline, where you can accept, edit, or ignore it.
  - **[Spec-Driven Development: from feature request to implementation plan](https://blowstack.com/courses/aws-certified-developer-associate/lessons/spec-driven-development-from-feature-request-to-implementation-plan-dva-c03)** (extra, for the questions you miss, Free): How to use Kiro to turn a feature request into testable requirements, a design, and implementation tasks that guide AI-generated code and tests. Start a Kiro spec with a feature request in plain language, such as “Let callers retry a report export without starting it twice.” Kiro can turn that request into structured requirements, a design, and discrete implementation tasks. In a requirements-first workflow, review the expected behavior before deciding how to build it.
  - **[Code Completion vs. Spec-Driven Development](https://blowstack.com/courses/aws-certified-developer-associate/lessons/code-completion-vs-spec-driven-development-dva-c03)** (extra, for the questions you miss, Free): How continuing code at the cursor differs from using an explicit specification to guide a broader implementation, even when both produce several lines of code. Code completion proposes what to insert at the cursor. It can fill in a method name or draft an entire loop using available context, such as nearby code and comments. A comment that says “return an empty list when nothing matches” can guide a multi-line suggestion, but the suggestion is still a continuation of the current edit.
  - **[Amazon Q Developer: code analysis in the IDE](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-q-developer-code-analysis-in-the-ide-dva-c03)** (extra, for the questions you miss, Free): How to give IDE chat the code and error context it needs to explain failures and decide whether to use Optimize or Refactor on selected code. Amazon Q Developer IDE chat can explain a code snippet and help you debug it. When you ask a question, Q uses the currently open file as context, including its programming language and file path. That gives Q the code you are looking at, but it does not tell Q what happened when you ran it.
  - **[Kiro: conversational debugging](https://blowstack.com/courses/aws-certified-developer-associate/lessons/kiro-conversational-debugging-dva-c03)** (extra, for the questions you miss, Free): How Kiro uses repository context, error output, and failing tests to suggest likely causes and focused code fixes that engineers can verify with a diff and a test rerun. In a Kiro conversation, start with the failure output: the test name, the command that reproduced the failure, and the relevant assertion message or stack frames. This shows what happened in a specific run. Remove secrets and sensitive data before sharing output.
  - **[Code Refactoring: behavior-preserving efficiency improvements](https://blowstack.com/courses/aws-certified-developer-associate/lessons/code-refactoring-behavior-preserving-efficiency-improvements-dva-c03)** (extra, for the questions you miss, Free): How to use Amazon Q Developer to spot redundant work and verify that a proposed refactor improves efficiency without changing results, errors, or side effects. An efficiency refactor does less work without changing what callers observe. Start with a representative workload: use a CPU profile to find where time goes, or count calls to see how often an operation runs. A loop that parses the same fixed label for every item is a candidate. A loop that writes an audit record for every item is different: those writes are part of its behavior.
  - **[Code Review: AI-assisted pull request feedback](https://blowstack.com/courses/aws-certified-developer-associate/lessons/code-review-ai-assisted-pull-request-feedback-dva-c03)** (extra, for the questions you miss, Free): How to check AI-generated comments against the proposed behavior, surrounding code, and tests before deciding what must change for approval. An AI-generated review comment is a claim to check, not a reason to block a pull request. Start with the pull request description and its linked requirements. Identify what should change, what must stay the same, and which cases the change must handle. If those sources disagree, ask the author to clarify the intended behavior rather than letting the AI decide it.
  - **[Static Application Security Testing: code analysis and findings](https://blowstack.com/courses/aws-certified-developer-associate/lessons/static-application-security-testing-code-analysis-and-findings-dva-c03)** (extra, for the questions you miss, Free): How a static analyzer traces untrusted input through code without running the application, and how to use the reported path to assess a finding and verify a suggested fix. Static application security testing (SAST) inspects code without running the application. A data-flow analyzer tracks how values move through assignments, function calls, and returns. It can also use control flow to reason about which statements can run after a branch or an early return.
  - **[Code Review vs. Static Application Security Testing](https://blowstack.com/courses/aws-certified-developer-associate/lessons/code-review-vs-static-application-security-testing-dva-c03)** (extra, for the questions you miss, Free): Why an AI-generated review comment about security is not the same as a static analysis finding, and what each can establish about a proposed change. AI-assisted code review asks whether a proposed change makes sense in context. On a pull request that adds a document download endpoint, an AI reviewer might ask, “Where do we check that the caller owns this document?” The comment raises a question about the intended access rules. Even if it quotes the changed lines, it does not establish that the check is missing; shared middleware could enforce it.
  - **[Amazon CodeGuru: diagnosing issues in existing code](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-codeguru-diagnosing-issues-in-existing-code-dva-c03)** (extra, for the questions you miss, Free): How to use CodeGuru Reviewer’s source-code findings and CodeGuru Profiler’s runtime hotspots to decide what to fix or optimize. CodeGuru Reviewer analyzes source code without running the application. In an existing repository association, it can review pull request changes and point to code that may contain a bug, leak a resource, or misuse an API. New repository associations can no longer be created.
  - **[Model Inference: the managed request–response lifecycle](https://blowstack.com/courses/aws-certified-developer-associate/lessons/model-inference-the-managed-request-response-lifecycle-dva-c03)** (extra, for the questions you miss, Free): How an application prepares input for a managed model, chooses between an immediate response and a job result, and interprets the output before acting on it. Inference runs a trained model on new input to produce an output, such as a review score. It applies what the model learned during training; an ordinary inference request does not update the model.
  - **[Amazon Comprehend vs. Amazon Textract: Text analysis vs. document extraction](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-comprehend-vs-amazon-textract-text-analysis-vs-document-extraction-dva-c03)** (extra, for the questions you miss, Free): Distinguish extracting text and document structure with Textract from analyzing the resulting text for meaning with Comprehend. Amazon Textract answers what is on the page and how it is arranged. It can recognize words in a scan and identify relationships such as a form field's label and value or a table's cells.
  - **[Amazon Textract: Document extraction APIs](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-textract-document-extraction-apis-dva-c03)** (extra, for the questions you miss, Free): How an application chooses between text detection and structured extraction, then reads the returned blocks from a synchronous call or an asynchronous job. Use text detection when your application needs the words on a page but not their roles. For example, it can extract lines from a scanned notice so users can search for a phrase. Textract groups detected words into lines, but text detection does not identify which text is a form field or belongs in a table cell.
  - **[Amazon Bedrock vs. Amazon Bedrock AgentCore](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-bedrock-vs-amazon-bedrock-agentcore-dva-c03)** (extra, for the questions you miss, Free): When to use Amazon Bedrock for managed foundation-model inference or built-in agent orchestration, and when to use AgentCore to deploy and operate agents built with a framework and model of your choice. Use Amazon Bedrock for managed inference when your application needs a foundation model to do a task, such as summarizing a support ticket. Your application sends the input to a supported model, gets a result, and decides what happens next. AWS runs the inference infrastructure; you choose a model that supports the task.
  - **[Amazon Bedrock AgentCore: Deploying and invoking a Runtime agent](https://blowstack.com/courses/aws-certified-developer-associate/lessons/amazon-bedrock-agentcore-deploying-and-invoking-a-runtime-agent-dva-c03)** (extra, for the questions you miss, Free): How to package agent code for AgentCore Runtime and invoke it from an application using authenticated requests and a consistent session ID for follow-up turns. AgentCore Runtime hosts your agent code. Your code still decides how to handle a turn, which model to call, and what actions to take. Runtime provides the environment in which that code runs.
- Develop code for AWS Lambda
  - **AWS Lambda: VPC attachment** (core, Premium): How Lambda uses Hyperplane network interfaces to connect a function to selected subnets and security groups, and which permissions and network routes let it reach private resources and outbound services. To let a Lambda function reach private resources in your VPC, add a VPC configuration to the function. The configuring principal, such as your deployment role, submits the change and needs permission to verify the selected VPC, subnets, and security groups.
  - **AWS Lambda: function runtime settings** (core, Premium): How the runtime and handler determine what code runs, and how environment variables, memory, and timeout configure each invocation. For a Lambda function deployed as a ZIP archive with a managed runtime, the runtime provides the language environment that executes your code. Choose a runtime compatible with the language version and dependencies your code expects.
  - **AWS Lambda: direct invocation and event delivery** (core, Premium): How direct triggers pass service-specific events to a handler, and how synchronous and asynchronous invocation differ in responses, retry ownership, duplicate delivery, and failure routing. A direct trigger invokes a Lambda function rather than relying on Lambda to poll a source. Here, an API Gateway REST API and an S3 bucket invoke the same function independently. Lambda turns each JSON event into an object and passes it to the handler, the code that receives the event.
  - **AWS Lambda: SQS event source mappings** (core, Premium): How a Lambda event source mapping polls SQS instead of receiving a direct invocation, and how visibility timeouts and partial batch responses determine which messages are retried. With a direct trigger, the service that produces the event stores and manages the trigger and pushes the event to Lambda. For example, Amazon S3 can invoke a function directly when an object is created or deleted. Even if you set up the trigger in the Lambda console, the trigger is managed by S3.
  - Task quiz (Premium)
  - **IP Routing vs. Network Segmentation** (extra, for the questions you miss, Premium): Why a route provides a forwarding path, while segmentation controls which network zones may communicate, so putting Lambda and a private resource in separate subnets does not by itself isolate them. A VPC-connected Lambda function can use private networking to reach a database in another subnet of the same VPC. The VPC's local route provides a forwarding path between the subnets. The database's security group controls which clients can use that path to open a database connection.
  - **Network Segmentation: security group boundaries for Lambda** (extra, for the questions you miss, Premium): How security group rules let a VPC-connected Lambda function reach a private resource on the required port without granting the same access to unrelated workloads. The Orders function needs to open a TCP connection on port 5432 to a private Amazon RDS for PostgreSQL database. An unrelated EC2 worker in the same VPC does not need that access.
  - **Amazon VPC: private network access for Lambda** (extra, for the questions you miss, Premium): How the subnets and security groups selected for a Lambda function govern its access to private resources, including resources reached through cross-account VPC peering. A Lambda function runs in a network managed by Lambda. To call a resource at a private IP address in your VPC, configure the function with subnets and security groups from that VPC. Lambda uses a Hyperplane elastic network interface (ENI) in a selected subnet to send traffic into the VPC; the function runtime itself does not move into the subnet.
  - **Environment Variables: AWS Lambda function configuration** (extra, for the questions you miss, Premium): How Lambda supplies literal string values to function code, how updates replace the variable map and are captured in published versions, and why these variables do not change Lambda settings such as memory or timeout. You define environment variables as key-value pairs in a Lambda function’s configuration. Lambda makes them available to the running code through the process environment. For example, Python code can read the value of BUCKET_NAME with os.environ["BUCKET_NAME"].
  - **Application Compatibility: Lambda runtime requirements** (extra, for the questions you miss, Premium): How to match a function's handler, dependencies, and required environment variables to the selected Lambda runtime and processor architecture, then verify that a representative invocation works beyond startup. For a ZIP-based Lambda function, the runtime selects the language and version that run your code. Match it to a version your application and its dependencies support, not just to the language name. A package that works with one Python version does not necessarily work with another.
  - **Right-Sizing: AWS Lambda memory allocation** (extra, for the questions you miss, Premium): How Lambda’s memory setting changes CPU capacity, and how invocation metrics, Compute Optimizer recommendations, and benchmarks help identify a setting that meets latency and cost goals. In AWS Lambda, the Memory setting controls how much memory your function has at runtime. It defaults to 128 MB, the minimum, and you can set it from 128 MB to 10,240 MB in 1-MB increments.
  - **Timeouts: AWS Lambda execution limits** (extra, for the questions you miss, Premium): How to set Lambda’s function timeout from measured execution times and keep dependency calls within the invocation’s remaining time. The Lambda function timeout limits how long an invocation can run. Time spent waiting for a dependency counts just like time spent running handler code. When the limit is reached, Lambda stops the invocation, so the handler cannot count on having time left to return a response or clean up.
  - **Concurrency: sizing and allocating execution slots** (extra, for the questions you miss, Premium): How to size Lambda concurrency from request rate, duration, and CloudWatch measurements, then use reserved concurrency to guarantee and cap capacity or provisioned concurrency to keep execution environments warm. Lambda concurrency is the number of function invocations in progress at the same time. To estimate average concurrency, multiply average requests per second by average invocation duration in seconds. At 100 requests per second and 0.2 seconds per invocation, about 20 invocations are in progress on average.
  - **Idempotency: duplicate AWS Lambda events** (extra, for the questions you miss, Premium): How a Lambda handler uses a stable key for each logical event to prevent duplicate side effects when invocations overlap or a retry follows partial success. Suppose each job should launch one EC2 instance. A standard SQS queue can deliver the same job more than once, and two Lambda invocations can overlap. Idempotency means those attempts still produce one intended launch, not that the handler runs only once.
  - **Dead-Letter Queues: Lambda asynchronous failure routing** (extra, for the questions you miss, Premium): How Lambda routes asynchronous events after retries are exhausted or events expire, and how DLQs and asynchronous destinations differ in when they receive events, what they receive, and which targets they support. When you invoke a function asynchronously, Lambda queues the event and manages processing attempts. An individual failed attempt is not enough to send the event down a failure route. That route applies when the event fails all processing attempts or exceeds its maximum event age. An event can expire without using all its attempts.
  - **Push vs. Pull: Lambda delivery boundaries** (extra, for the questions you miss, Premium): Identify who initiates delivery at each boundary: API Gateway invokes Lambda, Lambda polls SQS or DynamoDB Streams through an event source mapping, and Lambda sends invocation records to configured asynchronous destinations. To tell push from pull, name the boundary and ask who makes the call. When a service calls Lambda with work to run, it pushes. When Lambda's managed poller asks a source for work, Lambda pulls. A function receiving an event in its handler does not tell you which happened.
  - **Batching: How Lambda event source mappings form batches** (extra, for the questions you miss, Premium): How batch size, the batching window, and the invocation payload limit determine when Lambda invokes a function and how many records it receives, trading lower invocation overhead for longer record waits. With Amazon SQS as an event source, a Lambda event source mapping polls the queue. The queue does not push each message directly to your function. The mapping gathers messages and invokes the function with a batch.
  - **Amazon DynamoDB: Streams as a Lambda event source** (extra, for the questions you miss, Premium): How a Lambda event source mapping reads table changes from stream shards, from permissions and starting position through pausing, resuming, and parallel processing without losing per-item order. DynamoDB Streams captures changes to table items as records. It organizes those records into shards, sections of the stream that Lambda reads. Your function can react to changes without repeatedly reading the table.
- Use data stores during application development
  - **Data Retention vs. Storage Tiering** (core, Premium): Why moving data to a cheaper storage class changes its cost and retrieval characteristics without changing how long it is kept. Data retention decides how long data must be kept and what should happen at the end of that period. Storage tiering decides which storage class holds the data while it is being kept. Logs can move to a cheaper class partway through their life without changing when they are due for disposal.
  - **Key-Value Data Model vs. Object Storage** (core, Premium): Why retrieving an S3 object by key is not the same as updating fields in a DynamoDB item, even when both contain JSON. In Amazon S3, an object key identifies an object within a bucket. GetObject returns the object's data. A JSON document can be that data, but S3 does not expose the fields inside it as attributes you can update. Setting the content type to JSON does not change that.
  - **Amazon ElastiCache vs. Amazon CloudFront** (core, Premium): How to distinguish repeated backend data reads that suit ElastiCache from repeated HTTP requests that CloudFront can serve at the edge. A catalog application can repeat two kinds of work: serving the same HTTP response to shoppers and reading the same backend data to build responses. Amazon CloudFront and Amazon ElastiCache remove work at different points, so one application can use both.
  - **Amazon DynamoDB: Query and Scan read paths** (core, Premium): How Query and Scan read tables and indexes, and what each path means for result order, filtering, pagination, consistency, and read capacity. Use Query when you know the partition key value on the table or index you want to read. A KeyConditionExpression must specify equality on that one value. If the table or index has a sort key, you can add a sort key comparison to narrow the read further. Non-key attributes cannot go in the key condition.
  - Task quiz (Premium)
  - **Amazon S3: Lifecycle rules** (extra, for the questions you miss, Premium): How bucket-level rules select objects and schedule storage class transitions or expiration for current and noncurrent versions. An S3 Lifecycle configuration belongs to a bucket. In a general purpose bucket, each enabled rule pairs a filter, which selects objects, with one or more actions, which tell S3 what to do and when. Rules apply to matching objects already in the bucket as well as to objects added later.
  - **Storage Tiering: S3 Lifecycle transitions** (extra, for the questions you miss, Premium): How age-based S3 Lifecycle rules move selected objects to storage classes that fit retrieval deadlines and total cost. An S3 Lifecycle transition changes the storage class of an eligible object in place. The rule's filter selects objects by key prefix, object tags, size, or a supported combination. A rule without a narrowing filter applies to the whole bucket, subject to transition eligibility.
  - **Time to Live: DynamoDB item expiration** (extra, for the questions you miss, Premium): How an expiration timestamp makes a DynamoDB item eligible for asynchronous deletion and why reads may still return the item after it expires. Enable Time to Live (TTL) on a DynamoDB table and name the attribute DynamoDB should check, such as expiresAt. That setting tells DynamoDB where to look; it does not assign an expiration time to every item. An item with no value for that attribute does not expire through TTL.
  - **Data Retention: lifecycle expiration** (extra, for the questions you miss, Premium): How to translate an approved retention period into expiration settings and determine when data is actually removed, including older S3 object versions and DynamoDB items awaiting TTL deletion. Start with the approved retention period and the event that starts it. If logs should expire 90 days after upload, an S3 Lifecycle rule can match the log prefix and set Expiration to 90 days. S3 measures current object age from creation and rounds the calculated expiration time up to the next midnight UTC. If the policy starts at a different event, such as case closure, object age alone does not express that policy.
  - **Data Retention vs. Time to Live** (extra, for the questions you miss, Premium): Why a TTL timestamp makes data eligible for cleanup but does not guarantee either a minimum keep period or deletion by a deadline. A retention policy says which records to keep, what event starts the clock, and how long the records must be preserved. A minimum retention period sets the earliest time deletion is allowed. To enforce that minimum, you need a control that blocks premature deletion.
  - **Key-Value Data Model: access by known key** (extra, for the questions you miss, Premium): How a complete key identifies a value for direct reads and writes, and why lookups by other attributes may need an index or a scan. In a key-value data model, the key identifies a record within a collection, and the value is the data associated with it. A cart item can contain product details, a quantity, and a timestamp. You do not need to inspect those fields to find the item if you already know its key.
  - **Relational Data Model: querying across related tables** (extra, for the questions you miss, Premium): Understand when queries across related entities favor a relational store such as Amazon RDS, using foreign keys to enforce relationships and SQL joins to combine records. Store each customer in Customers and each purchase in Orders. A primary key identifies a row in its own table: Customers.customer_id identifies a customer, and Orders.order_id identifies an order.
  - **Object Storage: Access patterns for large payloads** (extra, for the questions you miss, Premium): Why whole-object uploads and byte-range reads suit media, backups, and static assets, while frequent small in-place writes do not. In an Amazon S3 general purpose bucket, you store a payload under an object key. A video export, a backup archive, or a versioned JavaScript bundle already has a natural boundary: the application produces a complete payload and publishes it as one object. Uploading to the same key replaces the object readers get by default; it does not edit selected bytes in that object.
  - **Key-Value Data Model vs. Relational Data Model** (extra, for the questions you miss, Premium): Why both models support lookup by ID, but relational tables are a better fit when queries routinely join data across entities. Suppose a customer opens order o-482. If order_id is the entire primary key of an Amazon DynamoDB table, the app can use GetItem to fetch that order. The item can hold several attributes, including the order total and the customer ID.
  - **Amazon RDS: relational data access** (extra, for the questions you miss, Premium): How relational schemas, SQL joins, and transactions support access patterns that read or update related records across tables. Amazon RDS runs a managed relational database engine. Your application sends SQL to that engine, and your schema defines how the data is organized. For example, store each customer once in customers and store each purchase in orders, rather than copying customer details into every order.
  - **Amazon DynamoDB: item and index design** (extra, for the questions you miss, Premium): How known access patterns shape item structure, primary key selection, and secondary index keys and projections. Start with the access patterns: what the app knows when it makes a request and what it needs back. An order summary might need the order ID and total, while a detail screen also needs the shipping address. Both can use the same order item.
  - **Amazon DynamoDB vs. Amazon RDS: choosing a data model** (extra, for the questions you miss, Premium): When predictable key-value or document access at scale favors DynamoDB and when joins and flexible relational queries favor Amazon RDS. Amazon DynamoDB is a managed NoSQL database for key-value and document data. A key identifies an item, and the item can hold attributes, including nested data. For example, an item keyed by player ID can contain a player's display name, preferences, and game settings. Non-key attributes can vary from one item to another.
  - **Amazon S3: Object workloads and storage classes** (extra, for the questions you miss, Premium): How bucket-and-key access fits object workloads such as website assets, backups, archives, and data lakes, and how access frequency, retrieval time, and latency shape the storage class choice. An S3 object contains data and descriptive metadata. A bucket is the container, and a key identifies an object within that bucket. To fetch a logo, an application can request images/logo.svg from its assets bucket. Another bucket can hold an object with the same key.
  - **Amazon ElastiCache: Cache-aside for database queries** (extra, for the questions you miss, Premium): How an application serves cache hits from ElastiCache, fetches and caches query results on misses, and uses expiration to balance freshness against database load for repeated reads. With cache-aside, the application manages the read path. Amazon ElastiCache holds reusable copies of query results in memory, while the database remains the source of the data.
  - **Caching: Choosing a cache for your data source** (extra, for the questions you miss, Premium): How the data source and read pattern determine whether to cache responses at the edge, accelerate reads through a database integration, or cache application objects and data structures. Choose a cache by asking what gets reused and who asks for it. A browser asking for a stylesheet, an application rereading a DynamoDB item, and application code rebuilding an object from database rows reuse data at different points.
  - **In-Memory Caching: data access paths** (extra, for the questions you miss, Premium): How read patterns and freshness requirements determine whether to use DynamoDB Accelerator (DAX) for compatible DynamoDB reads, an application-managed cache such as ElastiCache for reusable results from a data store, or no cache for reads that must go to  An in-memory cache holds copies of data in RAM so repeated reads can skip database work. The database remains the source of truth. Caching pays off when requests reuse the same data often enough and can tolerate a copy that may be out of date.
  - **Cache-Aside: Application-managed database reads** (extra, for the questions you miss, Premium): How an application uses Amazon ElastiCache to reuse database query results and when the read workload makes that extra lookup worthwhile. With cache-aside, the application checks Amazon ElastiCache for a saved database query result before it runs the query. The database remains the source of truth. ElastiCache holds a copy the application can recreate by running the query again.
  - **Composite Keys: DynamoDB partition and sort keys** (extra, for the questions you miss, Premium): How DynamoDB’s partition and sort key pair uniquely identifies an item, how the partition key alone distributes traffic, and how the sort key supports range queries within one partition key value. A DynamoDB table with a composite primary key identifies each item by its partition key and sort key together. In an Orders table keyed by tenant_id and order_number, tenant A can have orders 25 and 26, and tenant B can also have order 25. A second write to the pair (A, 25) addresses the same item, not a second order.
  - **Data Partitioning: DynamoDB partition key design** (extra, for the questions you miss, Premium): How DynamoDB hashes partition key values and how to choose a key that supports targeted queries and spreads traffic without creating hot partitions, even when cardinality is high. DynamoDB hashes the partition key value to determine where to store and find items. The hash spreads different values across physical storage partitions; it does not place similar-looking values near each other or give every distinct value its own physical partition.
  - **Data Partitioning vs. Composite Keys in DynamoDB** (extra, for the questions you miss, Premium): Why the partition key alone determines data placement, even when the partition key and sort key together identify an item. In a DynamoDB table with a composite primary key, the partition key and sort key have different jobs. DynamoDB hashes the partition key value alone to determine data placement. It does not hash the full pair, so changing only the sort key does not give DynamoDB a new input for distribution.
  - **Database Indexing: DynamoDB secondary indexes** (extra, for the questions you miss, Premium): How to match a secondary index’s key schema and projected attributes to a query, and how choosing a global or local index affects read consistency and write cost. A secondary index gives DynamoDB another key schema for the same table. Suppose an Orders table uses CustomerId as its partition key and OrderId as its sort key. That schema supports looking up a customer's order by ID, but it doesn't let the query use an order date range as a key condition.
  - **Database Indexing vs. Full Table Scan** (extra, for the questions you miss, Premium): Why a key-based index query narrows what DynamoDB reads, while a full table scan reads items before applying a filter. A DynamoDB Scan reads items from a table or index and then applies any filter expression to the items it read. A full table scan works through the entire table. A filter that returns just three orders does not mean DynamoDB read only three orders.
  - **Database Indexing vs. Data Partitioning** (extra, for the questions you miss, Premium): Why distributing table items across partitions does not create an alternate lookup path, and why adding a secondary index does not fix a hot partition on the base table. Data partitioning determines where DynamoDB stores base-table items. In an Orders table keyed by OrderId, DynamoDB hashes the OrderId value to place each order. That can spread storage and requests across partitions, but it does not organize items by other attributes, such as SupportRef.
  - **Eventual Consistency: Stale reads in DynamoDB** (extra, for the questions you miss, Premium): How DynamoDB’s default eventually consistent reads can return older data after a successful write, and why neither successive reads nor a fixed wait guarantee that an update is visible. When DynamoDB returns success for an item update, the write is committed. A later GetItem uses eventual consistency by default. The update takes time to reach all copies, so the read can return a previously committed version instead of the newest one.
  - **Eventual Consistency vs. Strong Consistency in DynamoDB** (extra, for the questions you miss, Premium): How to choose between eventual and strong reads based on freshness and read capacity, and why tables and local secondary indexes support both modes while global secondary indexes support only eventual reads. An eventually consistent read is the DynamoDB default. It can return the latest value, but it can also return an older one after a successful write. That makes it suitable for a product list where briefly showing an old title is acceptable.
  - **Full Table Scan: DynamoDB scan and read capacity** (extra, for the questions you miss, Premium): How a DynamoDB Scan reads each page before filtering, why even an empty page can consume read capacity and have a continuation key, and when a key-based Query can read less. A DynamoDB Scan reads items without using a key condition to narrow the read. For each request, DynamoDB evaluates items until it reaches the requested Limit, the per-request data-size cap, or the end of the scan. Only then does it apply the FilterExpression. That means Limit caps items evaluated, not matches returned.
  - **Strong Consistency: read scope in DynamoDB** (extra, for the questions you miss, Premium): How to use ConsistentRead on a DynamoDB table or local secondary index to see a completed write or a later one, and why that guarantee does not extend to global secondary indexes or make a scan a point-in-time snapshot. A strongly consistent read that starts after a successful write must reflect that write or a later one. To request this for a DynamoDB item, call GetItem on the base table with ConsistentRead set to true. If you omit the flag, the read is eventually consistent by default.
- Domain 1 practice exam (Premium)

### Security (26% of the exam)

- Implement authentication and authorization mechanisms for applications and AWS services
  - **OpenID Connect vs. SAML 2.0** (core, Premium): How to choose between OpenID Connect tokens and SAML 2.0 assertions based on which protocol the identity provider and the target AWS integration support. Identity federation lets a destination rely on an identity provider (IdP) instead of asking for the user's password. The IdP authenticates the user and sends proof of that authentication. The destination checks that proof before using it to establish access.
  - **Access Control: effective policy permissions** (core, Premium): How identity and resource policies combine with permissions boundaries and explicit denies to determine which actions a requester can take on a resource or its individual data fields. To work out effective permissions, start with one request: who is calling, what action they want to take, which resource they are targeting, and which policy conditions match. An allow for one action or resource does not automatically cover another.
  - **Workload Identity vs. Temporary Credentials** (core, Premium): Why workload identity identifies the software acting as a principal, while temporary credentials let a session authenticate requests for a limited time and can represent either software or a person. Workload identity is the identity assigned to software, such as an application, a function, or a deployment pipeline. In AWS, you can give a report-writing application its own IAM role instead of letting it run under a developer’s identity. The application’s AWS requests then act as a role session, which is the principal AWS sees making the requests.
  - **Amazon S3 vs. Amazon CloudFront: Signed access** (core, Premium): When to use an S3 presigned URL for a direct object upload or download instead of a CloudFront signed URL for restricted content delivery through a distribution. Both kinds of link grant time-limited access, but they open different doors. An S3 presigned URL sends the client straight to a bucket. A CloudFront signed URL sends the viewer to a distribution, even when the file itself lives in S3.
  - **Temporary Credentials: IAM role sessions** (core, Premium): How AWS STS issues expiring credentials when an authorized caller assumes an IAM role and limits what those credentials can authorize. Assuming an IAM role creates a role session without creating a new IAM user or changing the caller's existing permissions. The caller uses credentials it already has to ask AWS Security Token Service (AWS STS) for credentials for that session.
  - **Security Principals: How AWS policies grant access to callers** (core, Premium): How AWS identifies the caller—an IAM user, an assumed-role session, or an AWS service—and how identity-based policies attach permissions to IAM users and roles while resource-based policies name the principals they grant access to. A principal is the identity AWS evaluates for a request. Authentication establishes who made the request; authorization decides whether that caller can perform the requested action on the resource. Credentials prove identity, but they are not the identity and do not grant access by themselves.
  - **Cross-Account Access: assuming a role in another AWS account** (core, Premium): How the caller’s IAM policy and the destination role’s trust policy authorize an STS AssumeRole request, and how the application uses the resulting temporary credentials with the role session’s permissions rather than its original permissions. A report reader runs on Amazon EC2 in one account and reads reports from an Amazon S3 bucket in another. It starts with its workload role credentials and calls AWS STS for a separate session in the destination account.
  - Task quiz (Premium)
  - **Identity Federation: direct IAM role federation** (extra, for the questions you miss, Premium): How IAM role trust policies let AWS STS exchange a trusted OIDC token or SAML assertion for a temporary role session, and how federated attributes can become session tags that govern access. With direct IAM federation, an external identity provider (IdP) authenticates a person or workload. The federation client can then get temporary AWS credentials for an IAM role without creating an IAM user for that identity or storing a long-term AWS key.
  - **OpenID Connect: AWS role federation** (extra, for the questions you miss, Premium): How an IAM role trust policy uses an OIDC token’s issuer, audience, and subject to determine whether AWS STS can exchange it for temporary role credentials. A deployment job can use OpenID Connect (OIDC) federation to get temporary AWS credentials without storing a long-lived AWS access key. The job first gets a signed token from its identity provider. That token is proof of identity for the exchange, not a credential for calling services such as Amazon S3.
  - **SAML 2.0: Assertion trust and AWS role federation** (extra, for the questions you miss, Premium): How IdP metadata and IAM role trust let AWS STS validate a signed SAML assertion, use its role mapping to issue temporary credentials, and leave access permissions to AWS policies. With direct SAML federation, the corporate identity provider (IdP) authenticates the user. The user's password stays with the IdP. What the user brings to AWS is a SAML response containing a signed assertion about that sign-in.
  - **Amazon Cognito: federated sign-in with user pools** (extra, for the questions you miss, Premium): How a user pool uses its sign-in domain and app-client settings to broker external sign-in, reuse provider sessions, and map sign-ins to user profiles and groups before issuing application tokens. A Cognito user pool can sign users in directly or let a social, OpenID Connect (OIDC), or SAML identity provider authenticate them. With federation, Cognito acts as the service provider to the external identity provider (IdP). The app receives tokens issued by Cognito, not the provider’s sign-in response.
  - **Amazon Cognito: temporary AWS credentials from identity pools** (extra, for the questions you miss, Premium): How an identity pool uses different sign-in sources or guest access to obtain temporary AWS credentials through its STS flows, and how IAM role trust limits who can receive them. A user pool handles sign-up and sign-in for your app. An identity pool helps the app obtain temporary AWS credentials for access to protected AWS resources. The sign-in token proves the user's identity; it is not an AWS credential.
  - **Attribute-Based Access Control: IAM tag conditions** (extra, for the questions you miss, Premium): How an IAM policy matches trusted principal tags to resource tags to scope job-function permissions without writing a separate policy for each project. In traditional IAM role-based access control (RBAC), you write different policies for different job functions and attach them to IAM users, groups, or roles. A developer policy and an auditor policy can grant different actions because the two jobs need to do different things.
  - **Access Control: temporary role session constraints** (extra, for the questions you miss, Premium): How session policies, credential lifetime, and MFA requirements constrain a temporary role session, including the difference between checking MFA at role assumption and checking it on a later request. A role can serve several tasks without giving every session the full set of permissions in the role’s identity policies. When you create a temporary role session programmatically with AssumeRole, you can pass a session policy to narrow what that session can do. You can also pass a session policy when programmatically creating an AWS STS federated-user session.
  - **AWS Command Line Interface (AWS CLI): Console-backed authentication** (extra, for the questions you miss, Premium): How the AWS CLI uses a console identity through a local profile configured with `aws login` or through a pre-authenticated AWS CloudShell session, without static access keys. You don’t need to create or copy long-term access keys to run AWS CLI commands with your console identity. You can sign in from a local terminal with aws login, or open AWS CloudShell from the console and run commands there.
  - **Credential Management: AWS programmatic credentials** (extra, for the questions you miss, Premium): How to keep AWS CLI and SDK requests authenticated by using automatically refreshed role sessions where supported and safely replacing long-lived access keys when they are unavoidable. The AWS CLI and AWS SDKs use credentials to sign API requests. The signature lets AWS authenticate the caller. AWS then makes a separate authorization decision: does that identity have permission for the requested action and resource?
  - **Amazon S3: Presigned URLs** (extra, for the questions you miss, Premium): How an S3 presigned URL grants time-limited permission for a specific object operation and how the signer's permissions and credential lifetime constrain it. An S3 presigned URL lets someone make a specific request against a private bucket without needing their own AWS credentials. The backend signs the request ahead of time and shares the URL, not the credentials used to sign it.
  - **Request Signing: AWS Signature Version 4** (extra, for the questions you miss, Premium): How AWS clients turn request details and credentials into a verifiable signature, whether the SDK or CLI signs automatically or the caller signs directly. AWS Signature Version 4 (SigV4) lets AWS verify who signed an API request and whether its signed parts changed. AWS SDKs and the AWS CLI sign automatically using their configured credentials. If you send the HTTP request without either, your code must arrange the signing, preferably through a maintained signing library.
  - **Explicit Deny Precedence: Matching denies in AWS IAM** (extra, for the questions you miss, Premium): Determine whether a deny statement in a principal or resource policy matches the request, why no allow can override a matching deny, and how that differs from a request denied for lack of permission. A policy statement with Effect: Deny blocks a request only if the policy applies and the statement matches. Start with the actual caller or role session, API action, resource, and request context. An identity-based policy applies through the identity to which it is attached, directly or through an IAM group for a user; its statements do not have a Principal field. In a resource-based policy, also check whom the statement covers.
  - **Workload Identity: AWS role assumption** (extra, for the questions you miss, Premium): How a workload obtains an IAM role session through its runtime or a trusted identity provider, and how role trust controls who can assume the role while permissions policies govern what the session can do. A workload that uses an IAM role signs AWS API requests with credentials for a role session. How the workload gets those credentials depends on where it runs and how the role is assigned.
- Implement encryption and manage sensitive data by using AWS services
  - **Encryption at Rest vs. Encryption in Transit** (core, Premium): Why encryption of a stored object does not protect its transfer, and why an encrypted connection does not tell you how the object is stored. An application on an EC2 instance downloads a report from a private S3 bucket and saves it to a file on an attached volume. The arrows follow the report bytes, not the request that asks for them.
  - **AWS Certificate Manager (ACM) vs. AWS Private Certificate Authority** (core, Premium): How ACM’s role in managing TLS certificates differs from AWS Private CA’s role in operating a private certificate authority, and when a workload needs both. AWS Certificate Manager (ACM) manages the certificates your workloads use for TLS. It can provision a publicly trusted certificate for an eligible domain without a private CA, or manage a private certificate issued by AWS Private CA. You can select an ACM certificate for an integrated endpoint, such as an Application Load Balancer.
  - **Client-Side Encryption vs. Server-Side Encryption** (core, Premium): How to choose between the two based on whether the storage service may receive plaintext, regardless of who supplies the key. To choose an encryption model, ask: May the storage service receive the readable payload? Look at what the service can read after it removes TLS, the encryption that protects the connection.
  - **AWS KMS: encryption and decryption requests** (core, Premium): What Encrypt and Decrypt require for symmetric and RSA KMS keys, including how symmetric encryption context binds metadata to ciphertext and can restrict key use. A KMS key’s key spec determines whether the key is symmetric or asymmetric and which algorithms it supports. You choose the spec when you create the key and cannot change it later. For Encrypt and Decrypt, use a key with ENCRYPT_DECRYPT usage. AWS services that integrate with KMS to encrypt your data use symmetric encryption KMS keys, not asymmetric keys.
  - **AWS Certificate Manager (ACM): TLS certificate lifecycle** (core, Premium): How ACM provisions certificates through domain validation or import, and how the deployment target determines who renews and installs each replacement. A TLS certificate lets a browser verify the identity of the endpoint it connects to over HTTPS. When you request an Amazon-issued public certificate in AWS Certificate Manager (ACM), you list the domain names it should cover. ACM issues the certificate only after you prove control of those names.
  - **Access Control versus Data Masking** (core, Premium): How to distinguish denying a read request from allowing it while hiding sensitive values in the response. Access control decides whether a requester may perform a read. If the read is denied, the requester gets no data from that operation—not even a masked version. Signing in establishes who the requester is; it does not by itself grant permission to read.
  - **AWS Secrets Manager vs. AWS Systems Manager Parameter Store** (core, Premium): When to choose Secrets Manager for credentials that need managed rotation and when to choose Parameter Store for configuration values that may need encryption but not managed rotation. Choose AWS Secrets Manager when a credential needs managed rotation. For a supported database credential, you can configure rotation on a schedule. Rotation changes both the password the database accepts and the secret your application retrieves. Editing only the stored copy would leave the application with a password the database does not accept.
  - Task quiz (Premium)
  - **Encryption at Rest: Object encryption in Amazon S3** (extra, for the questions you miss, Premium): How to verify encryption coverage for S3 objects by tracing where encryption happens and which settings apply to each write. Start with one object write. With client-side encryption, the client encrypts the data before uploading it. The client manages the encryption process, keys, and tools, and sends ciphertext to S3.
  - **AWS KMS: key ownership and control** (extra, for the questions you miss, Premium): How to choose among customer managed, AWS managed, and AWS owned keys based on who controls them, who can use them, and what usage is visible in CloudTrail. You create, own, and manage a customer managed key in your AWS account. You control access through key policies, IAM policies, and grants. You also control the key’s lifecycle: you can enable or disable it, rotate its key material, or schedule it for deletion. Authorized callers can use it directly in AWS KMS cryptographic operations.
  - **Transport Layer Security: protection on each connection** (extra, for the questions you miss, Premium): How to enforce TLS on every required network hop, with protocol policies and certificate validation that verifies the intended peer. TLS protects one connection at a time. When an edge proxy terminates TLS, it decrypts the request. If it forwards that request over a new connection, the first connection's encryption and certificate checks do not carry over.
  - **Transport Layer Security vs. Encryption in Transit** (extra, for the questions you miss, Premium): Why encryption in transit is a broader category than TLS and why network-layer encryption alone does not establish application peer identity. Encryption in transit is the broad category: it protects data from being read while it moves. Transport Layer Security (TLS) is one way to do that. HTTPS uses TLS to protect HTTP traffic, while IPsec can protect IP packets between network gateways without changing the application.
  - **Encryption in Transit: Enforcing TLS on AWS endpoints** (extra, for the questions you miss, Premium): How to require TLS on AWS service connections, verify server identity, and use S3 bucket policies to reject HTTP and enforce a minimum TLS version. For an HTTP-based AWS service, configure the client to use the HTTPS endpoint. HTTPS carries HTTP over TLS. For a connection that does not use HTTP, such as a database connection, configure the driver to require TLS rather than merely prefer it, so it cannot fall back to plaintext.
  - **Public Key Infrastructure: certificate trust chains** (extra, for the questions you miss, Premium): How clients verify an endpoint’s identity through a certificate chain, and how client trust stores determine whether to use a publicly trusted certificate through ACM or a private certificate issued by AWS Private CA. When a client opens an HTTPS connection, the server presents a leaf certificate. This certificate binds the endpoint’s identity, such as a DNS name, to a public key. Issuing that certificate, deploying it, and deciding whether to trust it are three different jobs.
  - **Certificate management: ACM public certificates** (extra, for the questions you miss, Premium): How ACM uses DNS validation to issue public certificates and renew them while they remain eligible and the validation record stays in place. When you request a public certificate from AWS Certificate Manager (ACM), you list the DNS names the certificate should cover. With DNS validation, ACM gives you a CNAME record to publish for each name that requires a distinct validation record. Finding the expected record in public DNS shows that you control the DNS for that name.
  - **AWS Private Certificate Authority: private certificate lifecycle** (extra, for the questions you miss, Premium): How a private CA issues certificates that internal clients can trust, how it publishes revocation status, and why directly issued certificates must be replaced before they expire. An internal TLS workload needs a certificate that binds its service name to a public key. Its certificate agent creates a key pair and submits a certificate signing request (CSR) to AWS Private CA. The CSR contains the public key and requested identity; the private key stays with the workload.
  - **Client-Side Encryption: Envelope Encryption** (extra, for the questions you miss, Premium): How an application encrypts data before upload, stores the wrapped data key with the ciphertext, and uses separate key permissions to decrypt on retrieval. Envelope encryption uses two keys for different jobs. A data key encrypts the backup inside the application. A separate wrapping key protects the data key so it can be stored safely alongside the encrypted backup.
  - **Server-Side Encryption: Amazon S3 object settings** (extra, for the questions you miss, Premium): Understand how bucket defaults and per-upload settings determine encryption for new S3 objects and why changing the default does not re-encrypt existing objects. Amazon S3 automatically encrypts new uploads at rest. The baseline bucket default is SSE-S3, which uses S3-managed keys. If an upload does not specify an encryption setting, S3 uses the bucket's current default.
  - **Server-Side Encryption: Amazon DynamoDB table encryption** (extra, for the questions you miss, Premium): Understand what DynamoDB encrypts at rest and how its KMS key options change key control without changing how applications read and write items. Amazon DynamoDB always encrypts table data at rest. You choose which key protects the table, not whether encryption is on. The protection covers item data, including primary keys, and both local and global secondary indexes stored on durable media.
  - **Asymmetric Encryption vs. Symmetric Encryption** (extra, for the questions you miss, Premium): How the two approaches differ in who needs access to secret key material and why that distinction matters when choosing between them. With symmetric encryption, the same secret key encrypts and decrypts the data. The sender and recipient both need a way to use that key. They don't necessarily need a copy: a managed key service can keep the key material and authorize each application to perform only the operations it needs.
  - **Symmetric Encryption: Encrypting and decrypting payloads** (extra, for the questions you miss, Premium): How to use the same secret key for authenticated encryption and decryption, and when to use a KMS-protected data key instead of encrypting the payload directly with KMS. Symmetric encryption uses the same secret key to encrypt and decrypt a payload. With envelope encryption, the application uses a data key for the payload, and a separate symmetric KMS key protects that data key.
  - **Asymmetric Encryption: public-key encryption with AWS KMS** (extra, for the questions you miss, Premium): How a sender encrypts a small payload with a verified RSA public key and the recipient decrypts it in AWS KMS using the matching key ID and encryption algorithm. To receive a small confidential value, the recipient creates an asymmetric RSA KMS key with key usage ENCRYPT_DECRYPT. An authorized publisher retrieves the public key with GetPublicKey. The matching private key stays in AWS KMS and cannot be downloaded.
  - **Amazon EC2: SSH key pairs for Linux instances** (extra, for the questions you miss, Premium): How to generate an EC2 key pair or import a public key, select it at launch, and use the securely stored private key to sign in over SSH. An SSH key pair has two halves: a public key that a Linux instance can use to verify your identity, and a private key that your SSH client uses to prove you hold it. Your client does not send the private key to the instance.
  - **Self-Signed Certificates: Development HTTPS** (extra, for the questions you miss, Premium): How to generate a self-signed TLS certificate with the development server’s DNS names or IP addresses, protect its private key, and configure test clients to trust it without disabling verification. A self-signed TLS certificate contains the server's public key and is signed with the matching private key, rather than by a separate certificate authority. The signature alone does not tell a client that the certificate came from your development server. The client needs to trust the certificate explicitly and check that it matches the address in the URL.
  - **Data Masking vs. PII Detection** (extra, for the questions you miss, Premium): Why identifying a sensitive value does not hide it, and how masking changes what a reader sees. PII detection identifies information that can be linked to a person. A text detector can report that part of a support note looks like an email address and say where it appears. That finding leaves the note unchanged: anyone reading the original still sees the address.
  - **Amazon Macie: sensitive data discovery in S3** (extra, for the questions you miss, Premium): Understand how Macie selects and accesses current S3 object versions through automated sampling or targeted jobs, applies managed and custom identifiers and allow lists, and reports discovery results and sensitive data findings separately from bucket poli Automated sensitive data discovery is for getting a broad view of where sensitive data might be stored. Macie evaluates its S3 bucket inventory daily and selects representative objects to retrieve and inspect. A daily inventory evaluation does not mean that every object is scanned daily.
  - **PII Detection: detection-driven protection in AWS** (extra, for the questions you miss, Premium): How PII detection drives protection in AWS: Amazon Macie findings flag S3 objects whose access can be restricted with IAM policies, while CloudWatch Logs data protection policies mask matched identifiers from viewers who lack the logs:Unmask permission. A support application keeps exports in Amazon S3 and writes operational messages to CloudWatch Logs. An email address can appear in both places, but the right response depends on what readers need: block access to a flagged export, or let staff read a log message without seeing the address.
  - **AWS Systems Manager: Parameter Store paths and access** (extra, for the questions you miss, Premium): How applications use environment-specific parameter paths to load the right settings without rebuilding deployment artifacts, and how IAM and KMS control access to those values. Keep settings that vary by environment out of the deployment artifact, the code package you deploy. Put the settings in AWS Systems Manager Parameter Store and have the application look them up at runtime.
  - **AWS Secrets Manager: runtime retrieval of rotating secrets** (extra, for the questions you miss, Premium): How an application retrieves and caches the current version of its environment’s secret at runtime as scheduled rotation replaces credentials. Put the database credential in AWS Secrets Manager, not in source code or deployment settings. Give each deployment its own secret identifier as configuration: development points to its development secret, and production points to its production secret. The identifier tells the application what to retrieve; it is not the password.
- Identify and mitigate security risks associated with using and integrating AI services into application development
  - **Amazon Bedrock: invoking foundation models** (core, Premium): How an application meets a model provider’s first-use requirements, gets IAM permission to invoke the model, and tunes its output in a Bedrock Runtime request. Amazon Bedrock gives your application managed access to foundation models from Amazon and third-party providers. Your application calls Bedrock Runtime for inference. Before that call can succeed, check both the provider’s first-use requirements and the application’s IAM permissions.
  - **Network Isolation vs. Encryption in Transit** (core, Premium): Why restricting which network paths are available and protecting data from being read or altered in transit address different risks and do not replace each other. Network isolation controls which connections are possible. It does not have to disconnect a workload entirely: an application can be allowed to reach an AI service over a private path while other paths are blocked. An interface VPC endpoint provides a private path to a supported AWS service, but adding one does not by itself remove other paths.
  - **AI Guardrails vs. Content Moderation** (core, Premium): Why content moderation addresses whether material is acceptable, while AI guardrails also enforce application-specific boundaries that even acceptable content can cross. Content moderation asks whether material is acceptable for a particular audience and purpose. It applies to both what users send and what the model produces. A harmful-content filter helps catch abusive language; sensitive-information detection can flag personal or health information that the policy requires you to redact. A patient identifier may belong in a restricted care record but not in a public reply.
  - **Tool Calling: The request-and-result loop** (core, Premium): How an application declares a tool to a managed model, validates and executes the model’s structured request, and returns the result for the next model turn. A support app can use tool calling to answer a question about a live order. The app tells the model what lookup it offers. If the model asks for that lookup, the app checks the request, reads the order, and sends the outcome back in a new model turn.
  - **Data Masking vs. Encryption at Rest** (core, Premium): Why encrypting stored logs does not hide sensitive values from authorized readers after decryption, while masking limits the values those readers see. Encryption at rest protects log data while it is stored. In a server-side setup, the service encrypts each event before persisting it. Someone who obtains only the stored ciphertext cannot read the event without the ability to decrypt it.
  - Task quiz (Premium)
  - **AWS Marketplace: Third-party model subscriptions** (extra, for the questions you miss, Premium): How to scope subscription permissions for third-party Amazon Bedrock models by AWS Marketplace product ID, and why the Bedrock model ID is used for inference instead. Subscribing to a third-party model and running inference with it are different actions. The subscription is for a product in AWS Marketplace. For a Bedrock serverless model that has a Marketplace product ID, that ID is what you use to control who can subscribe to the product.
  - **AWS PrivateLink: interface endpoints for AI services** (extra, for the questions you miss, Premium): How private DNS and endpoint security groups let applications in a VPC reach supported AI service APIs, such as Amazon Bedrock Runtime, without traversing the public internet. AWS PrivateLink lets an application in a VPC reach a supported AWS service without traversing the public internet. For this path, you do not need an internet gateway, a NAT device, a Direct Connect connection, or a Site-to-Site VPN.
  - **Data Minimization: Purpose limits for AI requests** (extra, for the questions you miss, Premium): How to send only the information needed for inference and prevent inputs and outputs from being reused for model training. Data minimization starts with what the model must do. To score the sentiment of a support message, it needs wording that expresses the customer's experience. It doesn't need the customer's account number, billing address, or full ticket history.
  - **Content Moderation: Policy enforcement at model boundaries** (extra, for the questions you miss, Premium): How to apply moderation policies before prompts reach the model and before responses reach users, mapping harmful-content, denied-topic, and sensitive-data matches to decisions to allow, redact, block, or hold for review. A model application has two places where content crosses a boundary: when a prompt reaches the model and when a response reaches the user. Checking the prompt does not clear the response. Even an ordinary request can produce a reply that repeats sensitive data or covers a topic the application does not permit.
  - **AI Guardrails: Input and output checks in Amazon Bedrock** (extra, for the questions you miss, Premium): How Amazon Bedrock combines policies for harmful content, sensitive data, denied topics, blocked words, and prompt attacks, and when integrated inference or standalone ApplyGuardrail checks allow, block, or mask content. An Amazon Bedrock guardrail can use one policy or combine several. Start with what you want to detect: harmful content, a subject your application won't discuss, a specific phrase, sensitive data, or an attempt to manipulate the model.
  - **Prompt Injection: Screening untrusted model inputs** (extra, for the questions you miss, Premium): How to apply Amazon Bedrock Guardrails prompt attack filtering to user messages and retrieved content, and why a passing result does not authorize a model-generated action. Prompt injection happens when text supplied as input tries to steer a model away from the application's instructions. Direct injection comes from a user message. Indirect injection comes from material the application brings into the prompt, such as a retrieved passage. A document can be safe to read without being safe to obey.
  - **Output Validation: Checks before release** (extra, for the questions you miss, Premium): How an application uses destination-specific acceptance rules to block or redact unsafe content and sensitive data before a model response reaches a user or another system. Treat a model response as untrusted input, even if it reads well or arrives as valid JSON. In this support app, the application knows whether it requested a reply for a person or a draft for a ticket record. The model does not get to choose where its output goes.
  - **Output Validation vs. AI Guardrails** (extra, for the questions you miss, Premium): Why passing an AI guardrail policy does not establish that a response meets the downstream application's acceptance rules. A managed AI guardrail checks model input or output against the policies you configure, such as restrictions on certain topics or rules for handling sensitive information. A pass means the evaluated response did not trigger a blocking action under those policies. It does not tell you whether another system can use the response.
- Domain 2 practice exam (Premium)

### Testing and Deployment (22% of the exam)

- Prepare application artifacts to be deployed to AWS
  - **Software Packaging: Lambda ZIP archives and layers** (core, Premium): How a Lambda ZIP release divides runtime-compatible dependencies between the function archive and separately versioned layers while leaving environment-specific settings outside the archive. The function ZIP carries your function code and any dependencies you want to release with it. Upload a ZIP instead of relying on the embedded editor when you need to add libraries, when the code is larger than 3 MB, or when the editor doesn't support the language.
  - **Amazon ECR: Container image lifecycle** (core, Premium): How a built image moves through a private ECR repository, from authenticated push to pull by tag or digest, and how tag immutability and lifecycle policies keep releases predictable as old images expire. A Dockerfile contains instructions for building a container image. The build turns those instructions and the application files into an image: the package a runtime uses to start a container. Amazon ECR stores that package; it does not build it or run it.
  - **AWS CodeCommit: Git branches as pipeline sources** (core, Premium): How CodePipeline detects changes on a tracked branch in a private CodeCommit repository and delivers the commit as a ZIP snapshot or full-clone reference with revision metadata. AWS CodeCommit hosts private Git repositories, so your team does not have to run or scale its own source control system. You can store source code and binaries, keep using standard Git tools, and have repository data encrypted both at rest and in transit.
  - **Environment Isolation vs. Externalized Configuration** (core, Premium): Why moving settings outside an application artifact changes where configuration lives but does not, by itself, restrict which environments can access production settings or resources. Externalized configuration keeps settings outside the application artifact. For example, test and production can run the same Lambda deployment package and read different database endpoints from Systems Manager Parameter Store. Changing an endpoint doesn't require rebuilding the package.
  - Task quiz (Premium)
  - **Dependency Pinning: fixed build inputs** (extra, for the questions you miss, Premium): How lockfiles and image digests fix dependency selections, including indirect library dependencies, and how CI enforces those selections until they are deliberately updated. Dependency pinning keeps an upstream release from changing what your build uses when your source has not changed. A manifest such as package.json declares the libraries your app uses directly and which versions are acceptable. A version range leaves the package manager room to choose.
  - **AWS CodeArtifact: package dependency resolution** (extra, for the questions you miss, Premium): How an authenticated package manager resolves declared dependency versions from packages published to a CodeArtifact repository, its upstream repositories, or a connected public registry. CodeArtifact stores published package versions and lets package managers download them. In this build, npm is configured to use one repository endpoint. That repository can make versions available from other sources without requiring npm to configure each source separately.
  - **Externalized Configuration vs. Environment Variables** (extra, for the questions you miss, Premium): Why an environment variable is a way to pass a value, while externalized configuration is a design choice that keeps the value changeable without rebuilding the artifact. An environment variable is a named string supplied to a process. For example, an application can read API_BASE_URL from its process environment to find the service it should call. That tells you how the application gets the value.
  - **Externalized Configuration: deployment-time settings** (extra, for the questions you miss, Premium): How an application validates settings supplied through environment variables or external files at startup so the same package or container image can run in multiple environments. Build and test one application artifact, then promote that same package or container image from staging to production. If the database endpoint changes between environments, supply it at deployment instead of rebuilding the artifact. Production then runs the same build that passed staging tests.
  - **AWS CodeBuild: Dependency packaging with buildspecs** (extra, for the questions you miss, Premium): How buildspec phases use build environment variables to install pinned dependencies and stage them with configuration files in a deployable artifact. A buildspec tells AWS CodeBuild which commands to run and which output files to collect. By default, CodeBuild looks for buildspec.yml at the root of the source. The project separately selects the build environment image, which supplies the runtime and tools that execute those commands.
  - **Software Packaging: Lambda container images** (extra, for the questions you miss, Premium): How a Lambda-compatible image from Amazon ECR packages the runtime and dependencies, and when that control makes an image a better fit than a ZIP archive. A Lambda container image is a deployment package that bundles your function code, its dependencies, and the language runtime that runs the code. For example, if your code needs a native image-processing library, you can ship that library with the runtime and code as one release.
  - **Containers: Dockerfile builds** (extra, for the questions you miss, Premium): How Dockerfile instructions create image layers and how a multi-stage build keeps build tools out of the final image. A Dockerfile is a recipe for building an image. A stage starts with FROM, which selects its base image. For a typical Linux image, Docker builds on that base by stacking filesystem layers. Each new layer records changes relative to the filesystem below it: files added, changed, or removed.
  - **Multi-Stage Builds: the build-to-runtime handoff** (extra, for the questions you miss, Premium): How Dockerfile stages pass selected build outputs into a deployable image that includes the application's runtime dependencies but leaves build and test tools behind. Each FROM instruction starts a Dockerfile stage. Give the build stage a name with AS build so another stage can refer to it. The last stage is the default build output; --target selects a named stage instead.
  - **Containers: image versioning and retention** (extra, for the questions you miss, Premium): How tags, digests, and registry lifecycle policies determine which exact image builds remain available for deployment and rollback. An Amazon ECR repository can hold many builds of the same application. A tag such as latest or release-42 is a readable name that points to an image. If the tag is mutable, a later push can point it at a different build. The name latest has no special power: it moves only when something assigns it to another image.
  - **Artifact Immutability vs. Artifact Versioning** (extra, for the questions you miss, Premium): Why a version tag names a release but guarantees the same content on every pull only if the registry prevents both overwriting and reusing the tag. Artifact versioning gives each release a distinct name. For a container image, a tag such as 2.4.1 tells you which release the publisher intended. But the tag is a label that points to an image, not a fingerprint of the image itself.
  - **Artifact Versioning: container image references** (extra, for the questions you miss, Premium): How to publish each changed image as a distinct version, use digests rather than moving tags to deploy the exact build, and keep versions needed for rollback out of registry cleanup. A container image version names a build output, not just a source commit. Rebuilding the same Dockerfile from the same commit can produce different content if a base image or dependency changed. Publish each changed output under a fresh version tag, such as build-184, instead of publishing new content under an old version name.
  - **Artifact Immutability: Pinning container images** (extra, for the questions you miss, Premium): How to test, promote, and deploy the same container image by digest, and why rollback depends on retaining that image in the registry. A container release starts when a build turns a Dockerfile and its inputs into an image. Rebuilding for production, even from the same source commit, can pick up a different base image or dependency. Test the published image, not a fresh build of the same source.
  - **AWS AppConfig: environment-specific configuration rollouts** (extra, for the questions you miss, Premium): How AppConfig targets a configuration version to an application's environment, rolls it out gradually, and reverts it when a configured CloudWatch alarm fires. AWS AppConfig separates a settings change from a code release. For example, you can deploy a version that enables a feature without redeploying the code that implements it.
  - **AWS AppConfig vs. AWS Systems Manager Parameter Store** (extra, for the questions you miss, Premium): When an application needs AWS AppConfig to control how a configuration change goes live rather than Parameter Store to save and retrieve named settings. AWS Systems Manager Parameter Store saves values under names so an application can look them up at runtime. For example, an application can read a report batch size without having that value built into its code. Updating the parameter creates a new version. A read by name without a version or label retrieves the latest version, so each instance picks up the change when it next makes that read, not according to a rollout plan.
- Implement and automate application testing in AWS environments
  - **Integration Testing vs. Unit Testing** (core, Premium): How to decide whether a behavior can be verified with dependencies replaced or requires connected components to reveal a mismatch at their boundary. A unit test verifies a small behavior in isolation. If a function should return a specific result when a database reports that an item is missing, a stub can supply that response. The assertion checks what the function does with the response, not whether the database would actually send it.
  - **Mocking vs. Contract Testing** (core, Premium): Why passing a test against a mock shows how the client handles the configured responses, while contract testing checks whether the provider actually honors the agreed request and response expectations. A mock replaces a dependency with a substitute the test controls. An order app can send a payment request to an Amazon API Gateway REST API with a mock integration and get a configured response without calling the payment provider. The test can check that the app saves the authorization ID on success or shows an error when a payment is declined.
  - **AWS Lambda: JSON test events** (core, Premium): How to create JSON inputs that match the events a handler receives and replay them using Lambda console test events or AWS SAM local invocation. A test event is the JSON input to your Lambda handler. Start with the event format for the service and integration that normally invoke it. The Lambda console has sample events for many integrations. Keep the structure and value types your handler expects, and replace sample values with test data. If the handler needs no input, use {}.
  - **Environment Isolation: Configuration boundaries** (core, Premium): How each deployment of the same artifact selects its own settings and secret references, and how environment-scoped permissions prevent nonproduction deployments from reading production configuration or reaching production resources. Build a versioned artifact once, then deploy that same artifact to development and production. Each deployment is a separate Lambda function with its own settings and execution role. Promoting the artifact does not copy either of those from development.
  - **Kiro: event-driven agent hooks** (core, Premium): How Kiro hooks respond to file changes by reviewing code or deployment configuration and flagging missing checks, while the pipeline remains responsible for validation, approvals, and deployment. A Kiro agent hook pairs a development event with a repeatable agent task. For example, configure a hook to respond when a source file is saved and ask the agent to review the change for behavior that needs a unit test. The event decides when the hook runs; the instruction tells the agent what to do.
  - Task quiz (Premium)
  - **Unit Testing: Isolating cloud application logic** (extra, for the questions you miss, Premium): How to replace cloud dependencies with controlled substitutes and use assertions to verify a unit’s behavior for normal, boundary, and error inputs. A Lambda handler can turn an event into a call to loadReport. Test loadReport directly when the behavior you care about is validating a report ID, returning a report, or handling a storage error. That behavior is the unit; you don't need to invoke Lambda to check it.
  - **Regression Testing vs. Unit Testing** (extra, for the questions you miss, Premium): Why unit testing describes the scope of a test and regression testing describes its purpose, so a single test can be both. Unit testing describes what the test runs. A unit test checks a small piece of behavior, such as a function that parses a response, independently of the wider application. Testing that function with a fixed input doesn't tell you whether the live endpoint sends a response the function can handle.
  - **AWS CDK: stack assertions** (extra, for the questions you miss, Premium): How to use the CDK assertions library to test whether a synthesized stack contains the expected resources and properties without deploying it. A CDK stack test checks the CloudFormation template generated by your code, not resources running in an AWS account. That lets you catch a missing resource or a changed setting before deployment.
  - **AWS CDK vs. AWS CloudFormation: assertions and template validation** (extra, for the questions you miss, Premium): Why a template can pass CloudFormation validation yet fail a CDK assertion about what the stack should contain. When you write infrastructure in AWS CDK, you define a stack in code. Synthesis turns that code into a CloudFormation template. Both checks in this lesson examine that template, not running resources.
  - **Integration Testing: assertions at cloud service boundaries** (extra, for the questions you miss, Premium): How to use a reproducibly deployed AWS test stack and controlled inputs to verify outputs, state changes, and expected failures across a real service boundary. Use infrastructure as code to deploy an isolated test stack with a real API, function, and table. Check in the template, tests, and small synthetic fixtures with the application code. AWS SAM and AWS CDK both deploy through AWS CloudFormation; you can also use a CloudFormation template directly.
  - **AWS CloudFormation: disposable stacks for automated tests** (extra, for the questions you miss, Premium): How to provision an isolated stack from a template, use its outputs as inputs to smoke-test assertions, verify that those assertions catch a known failure, and delete the stack after the run. A disposable stack is created for one automated test run and deleted afterward. In this example, a CodeBuild job deploys a template into a dedicated test account. It gives the stack a unique name and lets CloudFormation generate the physical name of the DynamoDB table, so parallel runs do not share a table.
  - **Mocking: HTTP endpoints for external dependencies** (extra, for the questions you miss, Premium): How a mock endpoint, such as an API Gateway mock integration, lets tests exercise real client code with controlled success and error responses without calling the upstream service. An HTTP mock endpoint stands in for an external service. You point the real client at the mock's URL, so the client still builds and sends an HTTP request and handles a real HTTP response. Unlike replacing an HTTP library method in a unit test, this keeps the client's HTTP request and response handling in play.
  - **Synthetic Test Data: event fixtures** (extra, for the questions you miss, Premium): How to build reproducible JSON fixtures that match the Lambda or API Gateway event contract being tested and pair routine, edge-case, and invalid inputs with explicit expected outcomes. A fixture is a saved input you can replay. Its shape must match the event contract at the entry point you test. If you invoke an order handler directly and it expects {"orderId":"test-001","quantity":2}, use that JSON object as the Lambda event. The Lambda console passes your test event to the handler; it does not add an API Gateway wrapper.
  - **AWS Amplify: Branch-based deployment environments** (extra, for the questions you miss, Premium): How Amplify maps Git branches and pull requests to production, preview, and custom pre-production environments, and how those deployments use isolated data and sign-in resources when configured with separate backends. An Amplify environment is an isolated place to deploy your app, with its own AWS resources, configuration, and app URL. You connect the Git repository once for the app, then set which branches and deployment events each environment uses.
  - **AWS Copilot: application environments** (extra, for the questions you miss, Premium): How to define separate test and production environments for one Copilot application, configure their infrastructure in environment manifests, and provision them with the Copilot CLI. In AWS Copilot, an application groups related container workloads and the environments where they run. An environment is a named deployment target in a particular AWS account and Region. For an Amazon ECS workload, the environment provides shared infrastructure such as the VPC and ECS cluster.
  - **Code Coverage vs. Test Pass Rate** (extra, for the questions you miss, Premium): Why every test can pass while branches remain untested, and why high coverage can coexist with failing tests. Code coverage measures which parts of the measured code ran during testing. Line coverage tracks executed lines. Branch coverage tracks the outcomes of decisions, such as whether an if condition was true or false. A test can execute the line with the condition without taking both branches.
  - **Code Coverage: guiding AI-generated tests** (extra, for the questions you miss, Premium): How to use a branch coverage report to select untested code in the IDE and give Amazon Q Developer the inputs and expected behavior it needs to generate a targeted test. Line coverage tells you which source lines ran. Branch coverage tells you which outcomes of a decision ran. A test can reach an if line and take the false path without ever taking the true path.
  - **Test Pass Rate: AI-assisted analysis of CI results** (extra, for the questions you miss, Premium): How to use Amazon Q or Kiro to summarize CI test outcomes and verify the reported pass rate against raw counts, retry and skip rules, and the list of expected suites. Use Amazon Q Developer or Kiro to turn CI test results into a readable summary. Start with the structured result files for one run and commit. Include every available shard and the list of expected suite and environment combinations from the CI configuration or test plan. A job log that says passed is not a substitute for the test records.
- Deploy code by using AWS continuous integration and continuous delivery (CI/CD) services
  - **AWS Lambda: choosing a deployment package format** (core, Premium): How ZIP archives and container images differ in size limits, where Lambda gets and stores their code, and what it takes to move a function to the other format. A Lambda Event Function uses one of two deployment package types: a ZIP archive or a container image. The choice determines where Lambda gets the code when you create or update the function.
  - **Amazon ECS vs. Amazon EKS: Choosing an orchestrator** (core, Premium): How the choice between AWS-native orchestration and managed Kubernetes changes the APIs, workload definitions, and tools a team uses. Both services manage an orchestration control plane, which decides what workloads should run and works to keep them running. With Amazon ECS, your deployment pipeline talks directly to the AWS ECS API. For example, it can use aws ecs update-service to update a running service.
  - **AWS CloudFormation: templates and stacks** (core, Premium): How the Resources section declares what CloudFormation manages as a stack and the Outputs section exposes values from that stack. A CloudFormation template is a YAML or JSON text file that describes infrastructure. For example, a template can describe an Amazon S3 bucket and a DynamoDB table that belong to the same application.
  - **AWS CodePipeline vs. AWS CodeBuild: Release orchestration vs. build execution** (core, Premium): When to use CodePipeline to coordinate a release and when to use CodeBuild to run build and test commands, either independently or as a pipeline action. AWS CodePipeline coordinates a software release. You define the stages and the actions within them. CodePipeline starts each action at the right point and uses its result to decide whether the release can advance.
  - **Canary Deployment vs. Rolling Deployment** (core, Premium): Why replacing instances in batches is a rolling deployment and does not by itself provide the deliberate exposure limit and promotion gate of a canary deployment. A rolling deployment updates or replaces the serving fleet in successive batches. Some instances keep serving while others are replaced, so the deployment can preserve serving capacity during the update. Amazon EC2 Auto Scaling instance refresh is one way to replace instances progressively.
  - **Deployment Rollback: CloudFormation stack recovery** (core, Premium): How CloudFormation restores the previous stack configuration after a failed update and how an operator initiates or resumes rollback based on the stack status. By default, if a CloudFormation stack update fails, CloudFormation starts an automatic rollback. The stack moves from UPDATE_IN_PROGRESS to UPDATE_ROLLBACK_IN_PROGRESS as CloudFormation tries to restore the resource configuration from before the update.
  - **Version Control: Git references for releases** (core, Premium): How branch heads and release tags identify commits so you can compare revisions and carry one exact revision from checkout through deployment. A commit identifies a recorded revision of your files. A branch points to a commit, and that commit is the branch head. The head moves as work is committed to the branch. You can start a maintenance branch from an existing branch, a tag, or a commit ID and work there without moving the original branch.
  - **Approval Workflows vs. Quality Gates** (core, Premium): How a quality gate determines whether a release meets defined criteria, while an approval workflow records whether that specific deployment is authorized to proceed. A quality gate asks whether a release candidate meets criteria defined in advance. For example, a pipeline can require the checkout integration tests to pass before promotion. The test report is evidence; the gate is the control that reads the result and stops promotion if the requirement is not met. Define what happens when evidence is missing, stale, or tied to a different candidate rather than treating it as a pass.
  - Task quiz (Premium)
  - **Amazon ECS vs. AWS Fargate: Orchestration and compute** (extra, for the questions you miss, Premium): Why choosing ECS as an orchestrator is a separate decision from choosing Fargate to supply compute without managing hosts. Amazon ECS is a container orchestrator. You tell it what to run and, for an ECS service, how many copies to keep running. Each copy is an ECS task. If one stops unexpectedly, ECS schedules a replacement to bring the service back to its desired task count.
  - **Declarative Programming: desired state in container deployments** (extra, for the questions you miss, Premium): How an ECS service uses a task definition and an EKS Deployment uses a manifest to specify the workload that controllers maintain and update, without prescribing the steps of a rollout. A container deployment is declarative when you describe what should be running and let the orchestration system work out how to get there. For example, “Keep three copies of this application running” describes desired state. “Start a container, wait for it to become ready, then stop an old one” prescribes a procedure.
  - **Container Orchestration: desired-state deployments** (extra, for the questions you miss, Premium): How ECS services and EKS Deployments use task definitions and Kubernetes manifests to schedule replicas on available compute, including Fargate, and replace them incrementally as new replicas become healthy. With desired state, you tell the orchestrator what should be running instead of starting each container by hand. The control plane keeps comparing what is running with what you declared. If a replica disappears, it works to replace it; if you declare a new version, it works to replace replicas of the old one.
  - **Amazon ECS: From task definition to running tasks** (extra, for the questions you miss, Premium): How ECS uses a task definition revision to run a standalone task or schedule a service on compatible compute capacity. An ECS task definition is a JSON blueprint, not a running workload. It must include a family and container definitions. The family names the blueprint across versions, and the container definitions describe the containers that make up the application.
  - **All-at-Once Deployment vs. Rolling Deployment** (extra, for the questions you miss, Premium): Why instances finishing at different times does not make a release rolling: rolling deployment deliberately stages updates in batches to retain serving capacity. An all-at-once deployment treats the entire target fleet as one batch. Every targeted instance is eligible to start the update without waiting for another group to finish. The instances do not have to start or finish at the same instant: downloads, restarts, and startup checks can take different amounts of time.
  - **Rolling Deployment: Health-gated batches** (extra, for the questions you miss, Premium): How minimum healthy capacity, room for replacement capacity, and readiness checks govern when each batch can proceed. A rolling deployment replaces tasks in batches while the rest of the service keeps running. In an Amazon ECS rolling deployment, the scheduler uses two percentages of the service’s desired task count to decide how many tasks it can start or stop at a time.
  - **Amazon ECS: Rolling service deployments** (extra, for the questions you miss, Premium): How an ECS rolling deployment replaces tasks with a consistent image version, limits how many tasks can run during the rollout, and determines whether the rollout succeeds or fails. In an ECS rolling deployment, the service scheduler replaces old tasks with new ones in stages. It does not change the container image inside an already running task.
  - **Rolling Deployment: Amazon ECS failure detection and rollback** (extra, for the questions you miss, Premium): How the ECS deployment circuit breaker detects tasks that fail to start or become healthy, while CloudWatch alarms detect metric breaches, and how either can trigger a configured rollback. In an Amazon ECS rolling deployment, replacement tasks may fail to start or become healthy. They can also pass their health checks and still serve requests badly.
  - **AWS CloudFormation vs. AWS SAM: native templates vs. serverless shorthand** (extra, for the questions you miss, Premium): When AWS SAM shorthand is useful for serverless resources and why it extends CloudFormation templates rather than replacing CloudFormation as the deployment engine. A native CloudFormation template declares resources directly under Resources. You can build a serverless app this way: declare an AWS::Lambda::Function, then declare the API Gateway resources and the Lambda permission that let an API route invoke it.
  - **Parameterization: inputs for reusable IaC templates** (extra, for the questions you miss, Premium): How CloudFormation and AWS SAM templates use validated deployment inputs for environment-specific values while using resource references and deployment context for values the template can resolve. A deployment parameter is a named input declared in the template’s Parameters section. For example, a template can ask for Stage because the deployer decides whether this stack is dev or prod. The same template can take either value without changing its resource definitions. An identifier for a pre-existing resource can also be an input when the deployer needs to choose which resource to use.
  - **AWS CloudFormation: environment-specific templates** (extra, for the questions you miss, Premium): How mappings and conditions let one template select environment-specific values and control which resources or properties are deployed. Use an Environment parameter to tell CloudFormation which environment a stack is for, such as dev or prod. The parameter supplies the environment name. The optional Mappings section stores the values that go with each name, so you don't need a separate template for each environment.
  - **Infrastructure as code (IaC): Template-driven provisioning** (extra, for the questions you miss, Premium): How a pipeline uses environment-specific parameters to preview and apply changes from the same versioned CloudFormation or AWS SAM template. A CloudFormation template describes what resources a stack should have. Instead of editing those resources individually, a pipeline takes a versioned template and selects the parameter values for the environment it is deploying to.
  - **CI/CD: pipeline orchestration** (extra, for the questions you miss, Premium): How AWS CodePipeline starts from a linked repository change and promotes the same build artifact through environments as required tests and approvals pass. AWS CodePipeline is the orchestrator: it decides when each action can run and which output a later action uses. The build and deployment services do the work that CodePipeline coordinates.
  - **AWS CodePipeline: Artifact flow through stages** (extra, for the questions you miss, Premium): How CodePipeline orders actions and passes named artifacts through build, test, and deployment stages, including to actions in another Region. An AWS CodePipeline pipeline describes how a change moves through a release. It organizes the work into ordered stages. Each stage contains one or more actions, such as compiling code, running tests, or deploying a package.
  - **Development-Test-Acceptance-Production (DTAP) vs. CI/CD** (extra, for the questions you miss, Premium): Why DTAP environments define where a release candidate runs, while CI/CD pipeline stages define what work runs and in what order, without requiring a one-to-one mapping. DTAP environments tell you where the application runs and what that setting is for. Development supports integration and fast feedback. Test checks whether the candidate behaves as designed. Acceptance lets business users or their delegates check whether it meets their needs. Production serves live users.
  - **Development-Test-Acceptance-Production (DTAP): Promotion gates** (extra, for the questions you miss, Premium): How CodePipeline promotes the same versioned release candidate through isolated DTAP environments, using technical test results and acceptance evidence as separate gates before production. When a change reaches a linked release branch, a configured repository trigger starts AWS CodePipeline. The source action captures that revision, and the build action packages it as a release candidate that can be deployed without rebuilding it.
  - **AWS CodePipeline: Deployment stage gates** (extra, for the questions you miss, Premium): How a CodePipeline stage condition uses a Lambda check to evaluate Amazon Bedrock–assisted post-deployment validation against explicit pass/fail criteria, with a separate manual approval action when a human must authorize promotion. A successful staging deployment means the deployment action finished successfully, not that the running version passed its health checks. Add an On Success stage condition to the staging deployment stage. Its LambdaInvoke rule calls a Lambda function to evaluate the running version and report a verdict.
  - **All-at-Once Deployment: Single-batch releases** (extra, for the questions you miss, Premium): How to configure an AWS release to update the entire deployment target in one batch, and why that choice affects serving capacity and recovery if the release fails. In AWS CodeDeploy, configure an EC2/On-Premises deployment group for an in-place deployment. The group defines which instances the release targets. In-place means CodeDeploy updates those existing instances rather than replacing them with a separate fleet.
  - **All-at-Once Deployment vs. Blue-Green Deployment** (extra, for the questions you miss, Premium): Why all-at-once describes the pace of a rollout, while blue-green describes how old and new environments are kept separate, and how both can apply to the same traffic cutover. In a blue-green deployment, the current release and its replacement run in separate environments. Here, each version runs on its own Amazon EC2 fleet, so you can prepare green without updating the instances that are serving production in blue.
  - **Blue-Green Deployment vs. Canary Deployment** (extra, for the questions you miss, Premium): How blue-green describes which environments coexist, while canary describes who sees the new release first, and why a rollout can use both. Blue-green deployment answers: Where do the current and replacement releases run? Blue keeps serving the current release while green is prepared separately. Having green ready does not, by itself, expose it to production traffic.
  - **Canary Deployment: metric-gated traffic shifting** (extra, for the questions you miss, Premium): How to configure a small production traffic share for a candidate version and use version-specific metrics during an observation window to decide whether to promote it or return traffic to the stable version. A canary deployment gives a new version a small share of real production traffic while the stable version handles the rest. Publishing the candidate makes it available to run; it does not, by itself, send production traffic to it.
  - **AWS Elastic Beanstalk: application release strategies** (extra, for the questions you miss, Premium): How Elastic Beanstalk rolls out application versions using rolling batches or canary traffic splitting within one environment, or a URL swap between two environments for blue/green releases. With a rolling deployment, Elastic Beanstalk updates existing instances in one environment. It takes a batch out of load balancer service, deploys the new version to that batch, and returns it to service before moving on. Ordinary rolling temporarily reduces serving capacity; rolling with an additional batch adds instances first to maintain capacity.
  - **Threshold-Based Alerting: Deployment health gates** (extra, for the questions you miss, Premium): How an alarm evaluates a deployment health metric over a window and signals the deployment service to roll back automatically or prompts an operator to roll back manually. Choose a health metric that can reveal a bad release. In this example, the application publishes a custom metric with a value of 100 for each failed request and 0 for each successful one. The Average over a period gives the percentage of requests that failed. Scope the metric to the application or targets you’re changing so healthy traffic elsewhere doesn’t hide a regression.
  - **AWS CloudFormation: stack rollback and recovery** (extra, for the questions you miss, Premium): How provisioning failures and CloudWatch rollback triggers can cause CloudFormation to revert a stack operation, and when preserving successful resources lets an operator retry, update, or roll back instead. When a resource fails to provision, CloudFormation normally rolls back the stack operation. It tries to undo the changes made by that operation, not just the change to the resource that failed. For a create, that means removing resources created by the failed operation. For an update, it means returning the stack to its previous working state.
  - **Rollback: failed stack updates in AWS CloudFormation** (extra, for the questions you miss, Premium): How CloudFormation reverses a failed stack update and how to resume the rollback after resolving the resource issue that blocked it. When a stack update fails and rollback is enabled, AWS CloudFormation automatically tries to return the stack to its previous working state. It reverses infrastructure changes made during the failed update. For example, if CloudFormation changed a resource property before a different resource failed to update, it tries to restore that property to its prior value.
  - **Deployment Rollback: CodeDeploy revision recovery** (extra, for the questions you miss, Premium): How CodeDeploy redeploys the last known-good revision automatically after a deployment failure or alarm, and how an operator manually redeploys a chosen revision. In AWS CodeDeploy, a revision is the release you deploy. For the in-place Amazon EC2 deployment shown here, it's an application bundle in Amazon S3 with an AppSpec file that tells the CodeDeploy agent what to install and which lifecycle scripts to run.
  - **Rollback: revision recovery in AWS CodeDeploy** (extra, for the questions you miss, Premium): How CodeDeploy creates a new deployment of the last known good revision when a configured failure or alarm triggers automatic rollback, and how to redeploy a known good revision manually. In AWS CodeDeploy, a revision is what you deploy. For an in-place EC2 deployment, it’s the bundle that contains your application files and an AppSpec file that tells CodeDeploy how to install them.
  - **Feature Branching: From branch to merge** (extra, for the questions you miss, Premium): How a short-lived branch isolates one change, how pull request checks validate it against the target before merging, and why merging makes the change eligible for release without deploying it. Create a feature branch from the current tip of the branch you intend to merge into, usually main. New commits advance the feature branch without changing main. The branch can hold a feature, a fix, or a refactor; what matters is that it holds one change a reviewer can understand on its own.
  - **Amazon Q Developer: proposed changes to pipeline definitions** (extra, for the questions you miss, Premium): How Q Developer uses repository context to draft pipeline changes for review and testing without bypassing existing deployment approvals. Use Amazon Q Developer to draft a pipeline change against the files you actually maintain. In a supported development environment, point it to the pipeline definition and the files it calls, such as deployment scripts and test configuration. If the pipeline is defined in infrastructure code, ask for a change to that source, not just a snippet for the live pipeline.
  - **Infrastructure as code (IaC): AI-assisted deployment verification** (extra, for the questions you miss, Premium): How to use an AWS AI assistant to interpret change previews before approval and check observed results against the template after provisioning. A CloudFormation change set previews what CloudFormation plans to add, modify, or remove. A modification can require replacement rather than an in-place update, so check the Replacement field as well as the action. A conditional replacement is an uncertainty to investigate, not proof that the existing resource will stay.
  - **Quality Gates: evidence-based promotion** (extra, for the questions you miss, Premium): How a deployment gate checks AI-assisted validation results for the candidate release against predefined criteria and uses the outcome to allow promotion, block rollout, or require review. A quality gate is the decision point between validating a candidate release and promoting it. Running a validation job is not enough: the workflow must read the results, apply a policy defined before the run, and take the matching action.
- Domain 3 practice exam (Premium)

### Troubleshooting and Optimization (22% of the exam)

- Assist in a root cause analysis
  - **AWS X-Ray vs. Amazon CloudWatch: traces, metrics, and logs** (core, Premium): When to use X-Ray to follow an individual request and when to use CloudWatch metrics or logs, even when the traces are displayed in CloudWatch. Use CloudWatch metrics to see how a service behaves over time. Request counts show traffic volume, and latency percentiles show how response times are distributed. For example, if the 95th-percentile latency rises, the slow end of the measured requests is getting slower; that does not mean every request slowed down. A CloudWatch alarm can notify you when a metric crosses a threshold.
  - **Temporal Correlation vs. Distributed Tracing** (core, Premium): Why matching observations by time suggests a possible relationship, while propagated trace context links recorded spans to the same request. Temporal correlation compares observations by when they happened. If a checkout error metric rises while inventory timeout logs appear, the overlap makes inventory worth investigating. The metric summarizes many requests, though, and the timeout log might describe a request that retried and succeeded.
  - **Amazon OpenSearch Service vs. Amazon CloudWatch: querying CloudWatch logs** (core, Premium): How to choose between CloudWatch Logs Insights and OpenSearch Dashboards for the same CloudWatch log groups, distinguishing OpenSearch Direct Query from searching an OpenSearch index. Start with one CloudWatch log group that already holds your application events. You can investigate those events in CloudWatch Logs Insights or explore them in OpenSearch Dashboards. Opening Dashboards does not tell you where the data is stored.
  - **Exit Codes: failure status propagation** (core, Premium): How command exit codes become deployment action results, and how to use logs and tool-specific meanings to trace a reported failure or spot one masked by a script. An exit code is the numeric result a process returns when it ends. Zero conventionally means success. A nonzero code needs interpretation: the command defines what that number means, and the caller decides how to handle it.
  - **Amazon Q vs. AWS DevOps Agent: operational investigations** (core, Premium): When to ask Amazon Q’s AWS assistant about a resource and when to use AWS DevOps Agent to correlate signals across systems during an incident. Use the AWS assistant when you have a focused question about an AWS resource. This is the console experience formerly branded Amazon Q Developer. For example, ask what a DynamoDB throttling metric means or what to check when a particular Lambda function times out. Name the resource and the symptom so the assistant can use the context available to it.
  - Task quiz (Premium)
  - **Exception Handling: Propagation across call boundaries** (extra, for the questions you miss, Premium): How to trace an exception from where it originates through application and service calls, and how to add context without losing the original cause or masking the failure. An exception interrupts normal execution. Within a running program, it moves back through the active calls until a matching handler catches it or it escapes the operation. Across a service boundary, the exception object does not travel: the remote service sends an error response, and the receiving code or SDK decides how to represent that error locally.
  - **AWS X-Ray: segments and request timelines** (extra, for the questions you miss, Premium): How X-Ray assembles segments and subsegments into a request timeline and service map that show where latency or errors originate. An X-Ray trace brings together the segments recorded for one request. The diagram shows two flows: the order request moves through the application, while the application services report what they recorded to X-Ray.
  - **Amazon Athena vs. Amazon CloudWatch: S3 logs or log groups?** (extra, for the questions you miss, Premium): When to query logs stored in S3 with Athena rather than query CloudWatch log groups with CloudWatch Logs Insights. Start with the copy of the logs that covers the time you need. The same application can send recent events to CloudWatch and keep older files in Amazon S3. The application name and log format do not tell you which copy to query.
  - **Distributed Tracing: reading a request timeline** (extra, for the questions you miss, Premium): How to read span relationships, timing, and status in AWS X-Ray to locate where a request slowed down or failed without mistaking that location for the root cause. Open a request in the X-Ray trace details and start with the timeline. Each row represents recorded work. In X-Ray terms, a segment records a service’s view of the request, while a subsegment records a more specific operation within that work, such as a database query or an outgoing HTTP call.
  - **Temporal Correlation: building a cross-source timeline** (extra, for the questions you miss, Premium): How to align event times across metrics, logs, and traces in a bounded window and use shared context to distinguish a supported sequence from a coincidence. Build a timeline around a known observation, such as a rise in checkout errors. Use event time to put observations in order: it is when the source says the activity happened. Ingestion time is when the monitoring system received the record. A retry in log delivery can make an earlier error arrive after a later one.
  - **Query Filtering: predicates for log records** (extra, for the questions you miss, Premium): How time ranges, field comparisons, and AND/OR conditions determine which log records match, including records with missing fields. A predicate is a condition a log record must satisfy to be returned. In Amazon CloudWatch Logs Insights, the selected time range limits which events the query considers. That range uses the event timestamp, @timestamp, not @ingestionTime, which records when CloudWatch received the event.
  - **Regular Expressions: Matching variable values in logs** (extra, for the questions you miss, Premium): How to write and test a pattern in the target log query engine so it matches the intended field value rather than a lookalike substring. Suppose each log message is one line of unquoted key=value fields separated by spaces. To find server errors, start with status=5[0-9]{2}. The character class [0-9] matches a digit, and the quantifier {2} requires two of them after the literal 5. But a substring search also finds this pattern inside upstream_status=503 and at the start of status=5030.
  - **Grouped Aggregation: log summaries by key** (extra, for the questions you miss, Premium): How grouping keys such as service, error code, or time bucket determine what each row of a log summary represents and what its count measures. A grouped log query turns many log events into summary rows. The grouping key tells the query which events belong together. In CloudWatch Logs Insights, stats count(*) as events by service returns one row per observed service, with that service’s event count.
  - **Grouped Aggregation vs. Query Filtering** (extra, for the questions you miss, Premium): How filtering log events before aggregation changes which events are counted, while filtering grouped results afterward keeps or discards whole summaries without changing their counts. In CloudWatch Logs Insights, a filter before aggregation sees individual log events. If it keeps only ERROR events, a later count by service counts only those errors. Events that fail the filter never contribute to the count.
  - **Amazon Athena: SQL over logs in Amazon S3** (extra, for the questions you miss, Premium): How Athena uses an external table to read log files in S3 and SQL filters to isolate events by time, error code, or request ID. Amazon Athena runs SQL directly over files in Amazon S3. An external table gives those files a table name and tells Athena how to read them. Creating the table does not copy or load the logs into a database.
  - **Amazon OpenSearch Service: querying indexed logs** (extra, for the questions you miss, Premium): How to combine time ranges, exact-match filters on fields such as request ID, and full-text searches in OpenSearch Dashboards to find related log events. In OpenSearch Dashboards, open Discover and select the index pattern that points to your log indexes. For a time-based index pattern, the time picker limits results using the timestamp field configured for that pattern, often @timestamp. Check whether that field records when the event happened or when the log was ingested: the two times can differ.
  - **Amazon Athena vs. Amazon OpenSearch Service: SQL scans or indexed search?** (extra, for the questions you miss, Premium): When to run ad hoc SQL over logs in S3 with Athena rather than index logs in OpenSearch Service for repeated low-latency search. Amazon Athena runs SQL over log files in Amazon S3 without first loading the records into a search index. Amazon OpenSearch Service, in the indexed setup shown here, prepares records for search as they arrive so later searches can use the index instead of scanning the original files.
  - **AWS CloudFormation: diagnosing failures from stack events** (extra, for the questions you miss, Premium): How to use operation IDs, status reasons, and root-cause detection to distinguish the original failure from downstream failures and decide whether to inspect resource dependencies or EC2 bootstrap logs. A stack’s event history can contain several deployment attempts. CloudFormation assigns an operation ID to correlate events from the same operation. Filter by the ID of the attempt you’re investigating so you don’t mistake a failure from an earlier attempt for the current one.
  - **Amazon Q: resource troubleshooting with the AWS assistant** (extra, for the questions you miss, Premium): How the AWS assistant uses available resource context and operational telemetry to suggest causes of errors and flag inefficient resource usage. In the AWS Management Console, the Amazon Q Developer experience is called the AWS assistant. You can ask it to help troubleshoot an AWS resource or ask questions about its telemetry and operations. Name the resource, describe what you noticed, and give a time window so the question is specific.
  - **AWS DevOps Agent: Performance analysis with application topology** (extra, for the questions you miss, Premium): Understand how AWS DevOps Agent connects telemetry and deployment changes to application dependencies in an Agent Space to surface potential bottlenecks and show what evidence supports each suggestion. An Agent Space defines the application environment AWS DevOps Agent can investigate. Its configured connections and permissions determine which resources and records the agent can access. For checkout performance, include the affected checkout service and the records you need from the services it depends on.
- Apply logging, monitoring, and observability best practices
  - **Structured Logging: application event records** (core, Premium): How to emit application events and user actions as queryable records with stable event names, consistently typed context fields, and no sensitive payloads. A structured log records something that happened as named fields, not just as a sentence. A message can still help a person read the log, but queries should use fields that keep the same meaning even when the wording changes. JSON is a common way to encode those fields.
  - **Metric Cardinality: dimensions in CloudWatch custom metrics** (core, Premium): How each emitted dimension combination creates a distinct CloudWatch time series, and how to keep series counts manageable by using bounded dimensions and leaving request-specific identifiers in logs or traces. Metric cardinality is the number of distinct time series emitted within the scope and time window you are looking at. In one AWS account and Region, CloudWatch identifies a custom metric by its namespace, metric name, and complete set of dimension name–value pairs.
  - **Amazon SNS: Topic subscriptions and fan-out** (core, Premium): How a standard topic delivers one publication to multiple subscribers, including how to confirm email subscriptions for operational alerts and use subscription filters to route messages to the right SQS queues. An Amazon SNS standard topic gives a publisher one place to send a message. A subscription connects the topic to one destination, such as an email address or an SQS queue. SNS evaluates each subscription independently: one publication can reach several destinations without the publisher addressing them separately.
  - **AWS Distro for OpenTelemetry vs. AWS X-Ray** (core, Premium): Where ADOT's role in instrumenting applications and shipping traces ends and X-Ray's role in storing, visualizing, and analyzing traces begins. AWS Distro for OpenTelemetry (ADOT) is AWS's distribution of OpenTelemetry. It provides tools to instrument applications and ship the telemetry they produce. AWS X-Ray is a managed backend that receives and stores trace data so you can analyze it.
  - **Health Checks: Container probes and recovery** (core, Premium): How startup, liveness, and readiness probes answer different questions, and how Amazon ECS combines essential-container health results and uses a service grace period to avoid replacing tasks prematurely. A liveness probe asks whether a container is still working well enough to keep running. In Kubernetes, repeated liveness failures can trigger a container restart. A readiness probe asks whether the workload should receive new traffic. A readiness failure takes the Pod out of normal Service traffic without itself restarting the container.
  - Task quiz (Premium)
  - **Log Levels: event severity and logging thresholds** (extra, for the questions you miss, Premium): How to assign levels to application events based on their operational impact and use severity thresholds to control which records are emitted. A log level tells readers how much an event mattered to the application. Use TRACE for fine-grained execution details, DEBUG for details that help diagnose behavior, and INFO for expected milestones, such as a job starting or a checkout completing.
  - **Audit Logging: application audit events** (extra, for the questions you miss, Premium): How to choose which user and service actions to audit and capture who acted, what they did, what they acted on, when it happened, and the outcome in structured records without logging secrets. Start with an investigation question: Who granted access, approved a refund, or exported customer records? Audit the application actions that answer those questions. Include changes to access and important business state, as well as reads or exports of sensitive data when you need to account for disclosure. A read can matter even when it changes nothing.
  - **Service Quotas: quota utilization alarms** (extra, for the questions you miss, Premium): How to identify quotas with compatible CloudWatch usage metrics and configure alarms that notify you before usage reaches the applied quota. In Service Quotas, open the quota in the account and Region where the workload runs. Check its scope and applied quota value. That is the limit in effect for that scope; the AWS default may be lower if an increase has already been applied.
  - **Alert Routing: notification routing rules** (extra, for the questions you miss, Premium): How routing rules use event type, severity, environment, and ownership to send quota warnings and deployment notifications to the right destinations, including when multiple rules match or none do. A notification routing rule pairs a set of field checks with a destination. Event type tells the router what happened, while severity tells it how urgent the event is. The event type quota warning does not by itself satisfy a check for warning severity.
  - **Alert Routing vs. Threshold-Based Alerting** (extra, for the questions you miss, Premium): Why a quota threshold determines whether to raise an alert, while a routing rule determines who receives the resulting notification. A quota is a limit on how much of a service you can use. For Lambda, concurrent executions are invocations running at the same time. A warning below the Regional concurrency quota gives the team time to respond before demand reaches the limit.
  - **AWS X-Ray: trace capture pipeline** (extra, for the questions you miss, Premium): How instrumentation propagates trace IDs and sampling decisions and sends the recorded segments to X-Ray. A trace capture pipeline has two flows. Trace context travels with the request and tells downstream services which trace the request belongs to and whether to record it. A segment describes work that was recorded and is sent separately to X-Ray.
  - **Trace Sampling: request selection on AWS** (extra, for the questions you miss, Premium): How AWS X-Ray rule priority, reservoirs, and fixed rates determine which requests are sampled at entry, and how downstream services such as Lambda honor that decision to keep traces connected. A distributed trace connects the work done for one request across services. Recording every request adds processing and sends more trace data, so sampling limits which requests are recorded without stopping any requests from being served.
  - **AWS Distro for OpenTelemetry: application trace pipelines** (extra, for the questions you miss, Premium): How ADOT instrumentation creates and links spans across services, and how sampling and export settings determine which spans reach AWS X-Ray. A span records one operation, such as handling an HTTP request or making an HTTP call. A trace links those operations across services: its spans share a trace ID, and parent span IDs show which operations led to which others.
  - **Distributed Tracing: getting spans into AWS X-Ray** (extra, for the questions you miss, Premium): How to configure AWS Distro for OpenTelemetry to propagate trace context across services and export spans to AWS X-Ray, including for a Bedrock AgentCore workload. Getting one distributed trace into AWS X-Ray takes two things: propagating trace context with the application request and exporting recorded spans to the tracing backend. A working export path does not fix a missing header, and a correctly passed header does not deliver any spans by itself.
  - **Health Checks: Application Load Balancer target health** (extra, for the questions you miss, Premium): How ALB evaluates probe responses over time, uses target health to route traffic even when all targets fail, and reports health transitions that explain ECS deployment delays. An Application Load Balancer (ALB) checks each registered target at the interval set by its target group. The box shows target registration: the ECS task is one member of the group, not the only task the group can contain. Probes run even when no clients send requests.
  - **Synthetic Transactions: scheduled workflow checks** (extra, for the questions you miss, Premium): How scheduled scripts use outcome assertions and step timings to detect broken or slow application workflows even when no users are active. A synthetic transaction is a scripted interaction with your application. A CloudWatch Synthetics canary runs that script on a schedule, so a quiet period still produces health observations. Here, a transaction is a logical workflow, not a database transaction or a purchase.
- Optimize applications by using AWS services and features
  - **AWS Lambda: concurrency and execution environments** (core, Premium): How Lambda scales and reuses execution environments and their connections, and how Regional quotas, reserved concurrency, and provisioned concurrency affect throttling and startup latency. For an on-demand Lambda Event Function, concurrency is the number of requests the function is handling at the same time. Each in-flight request needs its own execution environment. If a request arrives while the existing environments are busy, Lambda can add another one, subject to available concurrency and how fast the function can scale.
  - **Resource Utilization vs. Right-Sizing** (core, Premium): Why observed capacity use is evidence for a right-sizing decision, not proof that a smaller configuration will meet performance and reliability requirements. Resource utilization describes how much of the current configuration a workload used during a measured period. A low average CPU reading tells you about CPU use, not whether memory, storage, or network capacity is spare. Even for CPU, an average can hide short bursts, and a quiet week can miss a month-end job.
  - **Amazon SNS vs. Amazon SQS: Fan-out or work buffering?** (core, Premium): When to use SNS to send a copy to each interested subscriber, SQS to buffer work for consumers, or both to give each downstream application its own backlog. Use an Amazon SNS topic when several subscribers each need to hear about the same event. The producer publishes once, and SNS pushes a copy to each subscribed endpoint that should receive it. This is fan-out: shipping and analytics can both learn that an order was placed.
  - **Cache Invalidation vs. Time to Live** (core, Premium): Why a TTL limits how long a cached copy can be reused but does not detect a source change or remove the copy immediately when that change occurs. An Amazon S3 bucket holds the source copy of /notice.html. Amazon CloudFront can keep an edge copy so it can answer repeated requests without going back to the bucket each time.
  - **Latency vs. Throughput** (core, Premium): Understand why a system can complete more work per second while individual requests or records take longer to finish. Latency is the elapsed time for one operation. If a pipeline’s job is to make a record queryable, measure from when the record is submitted to when it becomes queryable. A quick acknowledgment tells you it was accepted, not that the result is ready.
  - **AWS DevOps Agent vs. AWS Compute Optimizer: Bottlenecks and rightsizing** (core, Premium): Distinguish when to use AWS DevOps Agent to investigate an application-wide performance bottleneck and when to use AWS Compute Optimizer for rightsizing recommendations on supported AWS resources. Use AWS DevOps Agent when you know the application symptom but not what is slowing it down. For example, if checkout latency rises, start with the affected application, the symptom, and the time window. The agent can use connected telemetry, dependency information, and deployment records to suggest where the slowdown began. Treat its findings as leads to verify, not proof of a cause.
  - Task quiz (Premium)
  - **Connection Pooling vs. Thread Pooling** (extra, for the questions you miss, Premium): Distinguish the limit on borrowed backend connections from the limit on worker threads, and identify which resource a request is waiting for when both pools are in use. A thread pool limits how many worker threads can run tasks at once. In a pool configured to queue work, a request that arrives when every worker is occupied can wait in the worker queue. Its task has not started yet.
  - **Thread Pooling: worker and queue limits** (extra, for the questions you miss, Premium): How to use load measurements to size reusable workers and bound queued work so CPU-bound or blocking tasks don’t overwhelm an application. A thread pool reuses worker threads across tasks instead of creating a thread for every submission. The worker limit caps how many tasks can occupy workers at once. A task that is blocked waiting for I/O still occupies its worker.
  - **Amazon RDS Proxy: connection pooling under load** (extra, for the questions you miss, Premium): How RDS Proxy reuses database connections during bursts of application concurrency, and how long transactions, session pinning, and pool limits affect when clients have to wait. During a burst, many Lambda invocations can open client connections at once. With RDS Proxy, the application's normal database driver connects to the proxy endpoint rather than directly to the database. The proxy manages a separate pool of database connections to the Aurora writer.
  - **Amazon EC2 Auto Scaling: target tracking** (extra, for the questions you miss, Premium): How an Auto Scaling group uses per-target request load or per-worker queue backlog to add or remove EC2 instances within capacity limits as demand for parallel work changes. An Auto Scaling group manages a fleet of EC2 instances. With target tracking, you choose a metric and a target value. With demand held steady, a useful scaling metric falls as you add instances: the same work is now spread across more capacity.
  - **Resource Utilization: CPU and memory headroom** (extra, for the questions you miss, Premium): How to interpret CPU and memory metrics separately across representative workload peaks, using CloudWatch Lambda Insights for Lambda functions, to identify bottlenecks and spare capacity. Resource utilization describes how much of a resource a workload uses. Headroom is the capacity left before it reaches that resource’s limit. A workload can have spare CPU capacity while its memory is almost full, so a single utilization figure can hide the resource under pressure.
  - **Performance Benchmarking: comparing compute and memory configurations** (extra, for the questions you miss, Premium): How to hold the workload and test conditions constant while comparing compute and memory configurations on tail latency, successful throughput, errors, resource utilization, and cost per successful transaction. Start with a baseline: the current or approved compute and memory configuration. Run the same application build on the baseline and the candidate. Change only the settings you intend to compare. If a setting changes two resources together, treat it as a comparison of configurations, not proof that one resource caused the result. For example, increasing AWS Lambda memory also increases the CPU allocated to the function.
  - **AWS Compute Optimizer: rightsizing and idle-resource findings** (extra, for the questions you miss, Premium): Understand how Compute Optimizer uses resource configuration and utilization history to distinguish idle resources from those that need resizing, and how to interpret performance risk for EC2 instance and Lambda memory recommendations. AWS Compute Optimizer reads both resource configuration and utilization history. Configuration tells it what capacity a resource has. Utilization tells it how much of that capacity the workload has used. Together, they help distinguish a resource that is bigger than it needs to be from one that is sitting idle.
  - **Right-Sizing: Amazon EC2 instance selection** (extra, for the questions you miss, Premium): How workload telemetry and Compute Optimizer findings guide the choice of an EC2 instance family and size that matches CPU and memory demand with enough headroom for peaks. An EC2 instance type determines the host hardware and the mix of compute, memory, storage, and networking capacity the instance offers. A family groups types with a similar resource emphasis: general-purpose families offer a balanced mix, compute-optimized families emphasize CPU, and memory-optimized families emphasize RAM.
  - **Cache Invalidation: Freshness strategies** (extra, for the questions you miss, Premium): How to choose between expiration, explicit invalidation, and versioned keys based on how long an application can safely serve stale data and which cache layers it can control. Before choosing a freshness strategy, ask two questions: How long can this copy safely be stale? and Which cache can I control? A product description can often wait for a refresh. A decision to grant access after a permission change may need an authoritative check instead of a cached answer.
  - **Latency: where end-to-end delay accumulates** (extra, for the questions you miss, Premium): Understand how to define the start and end of an operation and use tail latency, queue age, and per-stage timings to distinguish waiting from slow processing. Latency is elapsed time between two named events. In an asynchronous job, the API can acknowledge that it accepted the job before a worker has even started it. A fast acknowledgment therefore tells you little about when the result is ready.
  - **Throughput: bottleneck signals** (extra, for the questions you miss, Premium): How to identify a capacity bottleneck by comparing arrival and successful completion rates in CloudWatch with backlog trends and stage-level utilization or throttling. A capacity bottleneck is a stage that cannot keep up with the work offered to it. A buffer can hide the shortfall for a while: submissions still succeed even as unfinished work piles up.
  - **Performance Profiling: AI-assisted bottleneck analysis with Amazon Q Developer** (extra, for the questions you miss, Premium): How to give Amazon Q Developer profile summaries, trace timings, and resource metrics from a representative workload so it can suggest where to improve code efficiency or resource use, and how to check those suggestions against the measured bottleneck. Start with a performance objective and record a baseline before changing code. For example, if document search feels slow, measure p95 end-to-end latency: the time within which 95 percent of requests finish. Use a workload that reflects normal request sizes, concurrency, and cache behavior. Record the code version and deployment settings so you can repeat the run.
- Domain 4 practice exam (Premium)

Full DVA-C03 practice exam, after the last domain, from your 100 free questions (Free).

## A short core, then what your mistakes call for

The course goes through the DVA-C03 exam guide task by task: learn the core, prove it on exam questions, and get more lessons only where you miss.

1. **70 core lessons**: The lesson that covers the most of each skill's exam questions. The first task's are free.
2. **12 quizzes**: One at the end of each task: up to 10 exam questions, 80% right passes it. Pass it early and you skip the task's lessons. The first is free with an account.
3. **230 extra lessons** (Premium): Only where your own quiz and practice exam mistakes call for them, each on what you missed. The first task's are free.
4. **4 domain practice exams** (Premium): One on each domain after its last task, its share of the real exam.
5. **10 full practice exams**: Enough questions for that many full DVA-C03 exams without repeating one, each the real exam's length and time limit. The course ends with one, free from your 100 free questions.

## Inside this course

- Exercises: 1064
- Free lessons: 62
- AWS services covered: 57
- Cloud concepts covered: 140
- Services with the most lessons: AWS CloudFormation (7 lessons), AWS Lambda (7 lessons), Amazon Q (5 lessons), Amazon S3 (5 lessons), Amazon Simple Queue Service (Amazon SQS) (5 lessons), Amazon DynamoDB (4 lessons), Amazon Elastic Container Service (Amazon ECS) (4 lessons)

## Other courses

- [CLF-C02 AWS Certified Cloud Practitioner](https://blowstack.com/courses/aws-certified-cloud-practitioner)
- [SAA-C03 AWS Certified Solutions Architect - Associate](https://blowstack.com/courses/aws-certified-solutions-architect-associate)
- [DOP-C02 AWS Certified DevOps Engineer - Professional](https://blowstack.com/courses/aws-certified-devops-engineer-professional)
- [DEA-C01 AWS Certified Data Engineer - Associate](https://blowstack.com/courses/aws-certified-data-engineer-associate)
- [AIF-C01 AWS Certified AI Practitioner](https://blowstack.com/courses/aws-certified-ai-practitioner)
- [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/courses/aws-certified-security-specialty)
- [AIB-C01 AWS Certified AI Business Strategist](https://blowstack.com/courses/aws-certified-ai-business-strategist)
- [AIP-C01 AWS Certified Generative AI Developer - Professional](https://blowstack.com/courses/aws-certified-generative-ai-developer-professional)
- [MLA-C02 AWS Certified Machine Learning Engineer - Associate](https://blowstack.com/courses/aws-certified-machine-learning-engineer-associate)
- [SOA-C03 AWS Certified CloudOps Engineer - Associate](https://blowstack.com/courses/aws-certified-cloudops-engineer-associate)
- [SAP-C03 AWS Certified Solutions Architect - Professional](https://blowstack.com/courses/aws-certified-solutions-architect-professional)
