Lesson 2 of 2 Approaching DVA-C03 Questions

Choosing Between Similar Developer Services

This lesson gathers the pairs of services that developers most often confuse. Many questions offer two services that both seem to fit, and knowing the one property that separates them answers the question.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish similar messaging and event services by how consumers receive each message.
  • Distinguish similar compute and API services.
  • Distinguish similar data and configuration services.

Messaging and events

Messaging and event services are the most frequently confused group, because several of them move messages from producers to consumers. The deciding property is usually how many consumers receive each message and how they receive it. Amazon SQS holds messages in a queue for one consumer to pull at its own pace. Amazon SNS pushes each message to every subscriber. Amazon EventBridge also delivers to many targets but routes on the content of the event and receives events from AWS services and SaaS partners. Amazon Kinesis Data Streams keeps an ordered record that several consumers read independently and can replay, and Amazon Data Firehose delivers streaming data to storage and analytics destinations without consumer code.

For each pair in the following table, the second and third columns indicate when the first and the second service, respectively, should be chosen.

PairChoose the first whenChoose the second when
SQS / SNSOne consumer pulls messages at its own paceMany subscribers must receive each message
SNS / EventBridgeHigh-throughput fan-out, SMS or pushContent-based routing, AWS or SaaS events, archive and replay
SQS / Kinesis Data StreamsIndependent tasks, no replayOrdered stream, several consumers, replay
Kinesis Data Streams / FirehoseCustom real-time consumersDelivery to S3, Redshift or OpenSearch with no code

Compute and APIs

The following pairs of compute and API services are presented in the same format, indicating when each service in the pair is the appropriate choice.

PairChoose the first whenChoose the second when
Lambda / FargateEvent-driven tasks under 15 minutesLong-running or container-based workloads
Step Functions Standard / ExpressLong, exactly-once workflows with waitsHigh-volume, short workflows
API Gateway REST / HTTP APIUsage plans, API keys, caching, request validation, WAFLower cost and latency, JWT authorizers
Sort into groups

REST API or HTTP API?

Exam skills 1.1.4 · 3.1.5

Choose between the two API Gateway API types.

Log in to try this activity Interactive activities are free with an account.

Data and configuration

The following pairs of data and configuration services are presented in the same format, indicating when each service in the pair is the appropriate choice.

PairChoose the first whenChoose the second when
DynamoDB / AuroraKey-value access at any scaleRelational queries, joins and transactions
DAX / ElastiCacheCaching DynamoDB reads with minimal code changesCaching anything else, or data structures such as sorted sets
Secrets Manager / Parameter StoreAutomatic rotation, cross-account sharingSimple configuration and secrets at low cost
Parameter Store / AppConfigValues read at runtime, changed rarelyGradual rollout with validation and automatic rollback
Cognito user pools / identity poolsSign-up, sign-in and tokensTemporary AWS credentials for users
Scenario questions

Pick between look-alikes

Exam skills 1.3.2 · 4.3.4 · 3.1.4

Practise choosing between similar data and configuration services.

Log in to try this activity Interactive activities are free with an account.

AI services and tools

The AI services and tools added in DVA-C03 also come in pairs that are easy to confuse. The following table shows, for each pair, when the first and when the second option is the right choice.

PairChoose the first whenChoose the second when
Converse / InvokeModelOne request format for any model, so the model can be switchedA provider-specific feature needs the native request body
Guardrail in the model request / ApplyGuardrailFiltering a call to a Bedrock modelChecking text without a model call, or for a model hosted elsewhere
Denied topics / content filtersBlocking a subject the business definesBlocking harmful categories such as hate or violence
Agents for Amazon Bedrock / AgentCore RuntimeA managed agent configured in Bedrock with action groupsHosting an agent built with any framework in per-session microVMs
Kiro steering files / Kiro hooksRules the agent must always followActions that run automatically on events such as a file save
CloudWatch investigations / Logs InsightsAI hypotheses across metrics, logs, traces and changesA precise query over log data
Worked example

Three look-alikes

An application must send an order event to an inventory service, a billing service and an analytics pipeline, and each must be able to process events at its own pace. What should the developer use?

SQS alone delivers each message to one consumer. SNS alone pushes to all three but gives them no buffer. The answer is SNS fan-out to three SQS queues: SNS delivers a copy to each queue, and each service consumes its own queue at its own pace.

Check yourself

When does a requirement point to SQS rather than SNS?

Show answer

When messages must wait until a consumer pulls them, for example to absorb load or to retry processing. SNS pushes each message to its current subscribers straight away and does not keep it for later.

Exam Tips

Remember for the exam

  • SQS pulls for one consumer; SNS pushes to many; combine them for buffered fan-out.
  • Firehose delivers without code; Kinesis Data Streams supports custom consumers and replay.
  • DAX caches DynamoDB with minimal code changes; ElastiCache caches anything.
  • AppConfig adds safe, gradual configuration rollout over Parameter Store.
  • User pools authenticate; identity pools give AWS credentials.
  • Converse switches models easily; ApplyGuardrail filters text without a model call.