Curated

Architecture Design and Implementation Built for the Cloud 1 (1.1–1.4)

0 votes

Questions59

  1. Question 1

    Architecture Design and Implementation Built for the Cloud

    A company must expose a TCP service privately to another account whose VPC has an overlapping IPv4 CIDR. Consumers must access only that service without either company renumbering its VPC. Which design meets these requirements?

    Show the answer

    Correct answerC. Publish an AWS PrivateLink endpoint service behind a Network Load Balancer.

    AWhy not this: Transit Gateway does not resolve overlapping address spaces or restrict connectivity to a published service by itself.

    BWhy not this: VPC peering does not support connections between VPCs with overlapping IPv4 CIDRs.

    CWhy this is right: Interface endpoints provide private access to the published service despite overlapping VPC CIDRs.

    DWhy not this: A VPN alone does not resolve overlapping addresses or provide service-specific endpoint connectivity.

    AWS PrivateLink exposes a specific service through interface endpoints and supports overlapping consumer and provider CIDRs. VPC peering cannot connect VPCs with overlapping IPv4 CIDRs.

    Open this question
  2. Question 2

    Architecture Design and Implementation Built for the Cloud

    A company has about 120 VPCs in five AWS Regions and two data centers connected through Direct Connect. Production, development and shared-services traffic must stay in separate segments enforced the same way in every Region from one central policy, and new VPCs must join the right segment automatically based on their tags. Which design meets these requirements with the LEAST operational overhead?

    Show the answer

    Correct answerC. AWS Cloud WAN with a core network policy that defines the segments and tag-based attachment policies.

    AWhy not this: This can segment traffic, but each Region's route tables and the static routes across peering are managed separately, and attachments are not placed by tag.

    BWhy not this: A full mesh of 120 VPCs needs about 7,000 peering connections with their own routes, and peering has no central segment policy.

    CWhy this is right: Cloud WAN applies one policy across all Regions, maps tagged attachments to segments automatically, and supports Direct Connect gateway attachments.

    DWhy not this: PrivateLink exposes individual services, not routing between VPCs and data centers, and it gives no segment policy.

    AWS Cloud WAN builds a global network from one core network policy: segments isolate environments in every Region, attachment policies place new VPCs into segments by tag, and Direct Connect gateway attachments bring in the data centers. Per-Region transit gateways can do the same work, but their route tables and peering routes are managed Region by Region.

    Open this question
  3. Question 3

    Architecture Design and Implementation Built for the Cloud

    An application needs 60 assignable private IPv4 addresses in each of three Availability Zones, with no internet connectivity in either direction. AWS service access will use interface VPC endpoints in separate subnets. Which application subnet design uses the smallest suitable CIDRs?

    Show the answer

    Correct answerB. One /25 subnet per AZ, with no default route.

    AWhy not this: A /25 has sufficient addresses, but a NAT gateway default route provides an outbound internet path.

    BWhy this is right: A /25 is the smallest suitable size, and omitting an internet default route preserves the required isolation.

    CWhy not this: A /26 has 64 total addresses but only 59 assignable addresses after AWS reservations.

    DWhy not this: A /26 lacks sufficient assignable addresses, and a NAT gateway default route provides an outbound internet path.

    AWS reserves five IPv4 addresses per subnet, so a /26 provides only 59 assignable addresses; a /25 provides 123. Subnets without an internet default route meet the isolation requirement, whereas a route to a functioning NAT gateway enables outbound internet access.

    Open this question
  4. Question 4

    Architecture Design and Implementation Built for the Cloud

    A company has one AWS Direct Connect connection and must maintain private connectivity if its Direct Connect location becomes unavailable. Which addition provides the required location redundancy?

    Show the answer

    Correct answerB. A second connection at another location using an independent network path

    AWhy not this: A separate customer router does not protect connections from an outage affecting their shared Direct Connect location.

    BWhy this is right: A separate location and independent path preserve connectivity when the original location becomes unavailable.

    CWhy not this: A link aggregation group uses connections at one Direct Connect location, leaving a shared location failure domain.

    DWhy not this: A second virtual interface shares the physical connection and its location's failure domain.

    A connection at another Direct Connect location with an independent network path avoids the original location's failure domain. Another connection at the same location can protect against some device or connection failures, but not a location outage.

    Open this question
  5. Question 5

    Architecture Design and Implementation Built for the Cloud

    A transit gateway learns identical on-premises prefixes through a Direct Connect gateway and a BGP-enabled Site-to-Site VPN, but its VPC-facing route table also contains static routes for those prefixes targeting the VPN. The company requires Direct Connect to carry normal traffic and automatic VPN failover without route-table automation; what should the architect change?

    Show the answer

    Correct answerC. Remove the static routes and propagate both connections into the route table.

    AWhy not this: Static routes take priority over propagated routes for the same prefix, so BGP attributes on the Direct Connect path cannot make it preferred.

    BWhy not this: Static Direct Connect routes do not provide automatic fallback to a propagated VPN route for the same prefix.

    CWhy this is right: Propagating both paths permits Direct Connect preference and automatic VPN fallback when the Direct Connect route is withdrawn.

    DWhy not this: Static routes take priority over propagated routes for identical prefixes, regardless of VPN AS-path prepending.

    For identical propagated prefixes, a transit gateway prefers Direct Connect gateway routes over Site-to-Site VPN routes and can fail over when the preferred route is withdrawn. Static VPN routes override propagated routes for the same prefix; BGP attributes such as AS-path length or local preference do not change that priority.

    Open this question
  6. Question 6

    Architecture Design and Implementation Built for the Cloud

    An existing on-premises NFS server remains authoritative, but its files must be copied nightly to Amazon S3 with transfer integrity verification. Files deleted on premises must remain in S3, and applications cannot change their mount target; which design best meets these requirements?

    Show the answer

    Correct answerB. Schedule a DataSync task from NFS to S3, verify transferred files, and preserve destination files deleted from the source.

    AWhy not this: An SFTP endpoint does not synchronize the existing NFS share and would require changing how applications write files.

    BWhy this is right: DataSync supports scheduled NFS-to-S3 transfers, integrity verification, and preservation of destination files absent from the source.

    CWhy not this: Using the gateway's share requires changing application mounts rather than synchronizing the existing authoritative NFS server.

    DWhy not this: Removing destination files deleted from the source violates the requirement to retain those files in S3.

    AWS DataSync can schedule transfers from an existing NFS server, verify transferred data, and retain destination files deleted from the source. S3 File Gateway provides an S3-backed file interface, but using it here would require changing application mounts.

    Open this question
  7. Question 7

    Architecture Design and Implementation Built for the Cloud

    Which Amazon Bedrock API provides a consistent conversational interface across supported foundation models?

    Show the answer

    Correct answerB. The Converse API

    AWhy not this: StartIngestionJob synchronizes a knowledge base with its data source.

    BWhy this is right: Converse provides a consistent conversational interface across supported Amazon Bedrock models.

    CWhy not this: InvokeEndpoint invokes a deployed Amazon SageMaker AI endpoint, not the Bedrock conversational interface.

    DWhy not this: Retrieve obtains relevant information from an Amazon Bedrock knowledge base.

    The Converse API provides a consistent message-based interface across supported Amazon Bedrock models. Retrieve returns information from a knowledge base rather than providing a conversational model interface.

    Open this question
  8. Question 8

    Architecture Design and Implementation Built for the Cloud

    Applications in several AWS accounts need Amazon Bedrock access, but a central team must enforce prompt filtering and model selection before every invocation. Which architecture BEST meets these requirements?

    Show the answer

    Correct answerB. Route applications through a central API that applies controls before invoking Bedrock.

    AWhy not this: A central role controls AWS permissions, but callers can bypass application-level prompt filtering.

    BWhy this is right: A central API can validate prompts and choose approved models before making each Bedrock invocation.

    CWhy not this: Approved retrieval content does not enforce filtering or model selection for every model invocation.

    DWhy not this: Central logging supports auditing after invocation but does not enforce prompt filtering before invocation.

    A central application API can enforce filtering and model selection before invoking Bedrock. Assuming a shared invocation role centralizes permissions but does not force requests through application-level prompt controls.

    Open this question
  9. Question 9

    Architecture Design and Implementation Built for the Cloud

    Several agents on Amazon Bedrock AgentCore Runtime need the same internal inventory API as a tool. The API is described by an OpenAPI specification and accepts only a static API key; it applies no per-user permissions. The key must stay out of agent code, prompts and model context, and the agents should discover the API's operations as MCP tools. Which design BEST meets these requirements?

    Show the answer

    Correct answerA. Add the API as an OpenAPI target on an AgentCore Gateway, with outbound authorization from an AgentCore Identity API key credential provider.

    AWhy this is right: The gateway turns the specification into MCP tools and adds the key, held by AgentCore Identity, to outbound calls without exposing it to agents or the model.

    BWhy not this: SigV4 signing with the gateway service role does not supply the API key that this API requires.

    CWhy not this: Each agent then holds the key in its own configuration, and the agents get no MCP tool definitions from the specification.

    DWhy not this: Putting the key into the prompt exposes it to the model and treats memory as a credential store.

    AgentCore Gateway can turn an OpenAPI specification into MCP tools that agents discover. Its outbound authorization for OpenAPI targets can use an API key stored by an AgentCore Identity credential provider, so the gateway adds the key to each call and agents and the model never see it. IAM outbound authorization signs requests with SigV4, which an API-key-only service does not accept.

    Open this question
  10. Question 10

    Architecture Design and Implementation Built for the Cloud

    An agent must check live order status and submit approved cancellations through existing REST APIs described by OpenAPI schemas. Which design exposes these operations as discoverable tools with the LEAST custom integration code?

    Show the answer

    Correct answerA. Register the API schemas as Amazon Bedrock AgentCore Gateway targets and connect the agent through MCP.

    AWhy this is right: AgentCore Gateway can transform supported API definitions into discoverable tools exposed through MCP.

    BWhy not this: Memory retains interaction context; it does not expose live API operations as executable tools.

    CWhy not this: Retrieving API documentation does not execute live status checks or cancellation operations.

    DWhy not this: Predicting an operation does not provide an integration that executes the existing REST APIs.

    AgentCore Gateway can expose supported API targets as tools through the Model Context Protocol (MCP). A knowledge base can retrieve API documentation but does not turn that documentation into executable API operations.

    Open this question
  11. Question 11

    Architecture Design and Implementation Built for the Cloud

    An application must process each customer's commands in submission order while processing different customers' commands concurrently. Which queue configuration best meets these requirements?

    Show the answer

    Correct answerC. An Amazon SQS FIFO queue with customer IDs as message group IDs

    AWhy not this: Dedicated consumers do not make a standard queue deliver messages in submission order.

    BWhy not this: One shared message group serializes processing across all customers.

    CWhy this is right: Customer-specific message groups preserve each customer's order while allowing concurrency across customers.

    DWhy not this: Message attributes do not provide ordering guarantees in a standard queue.

    SQS FIFO preserves order within each message group while allowing different groups to be processed concurrently. A shared message group preserves order but prevents concurrent processing across customers.

    Open this question
  12. Question 12

    Architecture Design and Implementation Built for the Cloud

    An SQS consumer applies account credits in DynamoDB, but a crash after committing a credit can cause the message to be delivered again hours later. Each event has a unique ID; which design prevents duplicate credits without losing unapplied credits?

    Show the answer

    Correct answerC. Transact a conditional event-ID insert with the balance update, then acknowledge after success

    AWhy not this: FIFO deduplication suppresses duplicate sends within its deduplication interval, not repeated processing after a consumer crash.

    BWhy not this: A crash after recording the ID could leave the credit unapplied while retries treat it as completed.

    CWhy this is right: The conditional insert and balance update either both commit or neither commits, making retries safe.

    DWhy not this: A crash after updating the balance could allow a retry to apply the credit again.

    A DynamoDB transaction atomically records the event ID and applies the credit; the conditional insert prevents a replay from applying it again. Separate writes leave a crash window, and FIFO deduplication does not prevent consumer redelivery.

    Open this question
  13. Question 13

    Architecture Design and Implementation Built for the Cloud

    Stateless application instances store shopping carts in DynamoDB, where concurrent edits must not silently overwrite one another and expired carts must immediately reject updates. Each cart has a version and expiration timestamp, with TTL enabled for cleanup; which update strategy meets these requirements?

    Show the answer

    Correct answerB. Condition updates on the expected version and unexpired timestamp, incrementing the version atomically

    AWhy not this: TTL cleanup is asynchronous, so an expired cart can remain present and accept an update.

    BWhy this is right: The atomic conditions enforce concurrency control and expiration, while the version increment invalidates stale edits.

    CWhy not this: Another writer can change the cart between the read and the unconditional write, causing a lost update.

    DWhy not this: An instance-local lock does not coordinate edits handled by other instances.

    A conditional update checks the version and expiration atomically, rejecting stale edits and expired carts without instance-local state. Version checking alone is insufficient because DynamoDB TTL deletion is asynchronous.

    Open this question
  14. Question 14

    Architecture Design and Implementation Built for the Cloud

    Which approach lets any application instance serve subsequent requests without relying on session data stored by a previous instance?

    Show the answer

    Correct answerA. Store sessions in a shared Amazon ElastiCache cache

    AWhy this is right: Shared session storage makes session data accessible independently of the instance handling a request.

    BWhy not this: Stickiness retains dependence on the instance that holds the session.

    CWhy not this: Process memory is local to an application instance and is lost when that process ends.

    DWhy not this: An instance's attached volume does not provide a shared session store for arbitrary application instances.

    A shared ElastiCache cache externalizes session state so application instances can retrieve it independently. Load balancer stickiness routes requests to the same instance but leaves the application dependent on that instance's state.

    Open this question
  15. Question 15

    Architecture Design and Implementation Built for the Cloud

    An agent running on Amazon Bedrock AgentCore Runtime must answer policy questions using an approved document collection and identify supporting passages. Which integration BEST meets this requirement?

    Show the answer

    Correct answerA. Expose Amazon Bedrock Knowledge Bases retrieval as an agent tool.

    AWhy this is right: Retrieval provides relevant policy passages and source information for grounded responses.

    BWhy not this: A classification endpoint predicts labels; it does not retrieve supporting policy passages.

    CWhy not this: Document locations alone do not give the agent access to retrieve their contents.

    DWhy not this: Conversation memory stores interaction context rather than providing document retrieval and supporting evidence.

    A knowledge base retrieval tool supplies relevant passages and source information that the agent can use in grounded answers. Conversation memory preserves interactions but is not a substitute for retrieving evidence from an approved document collection.

    Open this question
  16. Question 16

    Architecture Design and Implementation Built for the Cloud

    Users upload audio files of up to 500 MB, and each transcription takes up to 20 minutes on a GPU instance. Users are notified when results are ready. Requests arrive in bursts separated by hours with no traffic, and the company does not want to pay for instances while idle. Which Amazon SageMaker AI inference option BEST fits?

    Show the answer

    Correct answerB. Asynchronous Inference with an endpoint that scales to zero

    AWhy not this: Serverless Inference accepts payloads up to 4 MB, processes for up to 60 seconds, and offers no GPUs.

    BWhy this is right: Asynchronous Inference queues requests with payloads up to 1 GB and processing up to one hour, can scale to zero instances, and can notify through Amazon SNS.

    CWhy not this: Real-time endpoints accept payloads up to 25 MB and must answer regular requests within 60 seconds, which 20-minute jobs exceed.

    DWhy not this: Batch Transform suits datasets available upfront; a job per upload adds instance start-up time to every file instead of queuing at a standing endpoint.

    Asynchronous Inference queues requests, reads large payloads (up to 1 GB) from Amazon S3, allows processing for up to an hour, writes results to S3 with optional SNS notifications, and can scale the endpoint to zero instances between bursts. Real-time and Serverless Inference have payload and 60-second processing limits that these jobs exceed.

    Open this question
  17. Question 17

    Architecture Design and Implementation Built for the Cloud

    A shared RAG knowledge base contains documents for multiple tenants, with tenant metadata attached to every chunk. How should the application prevent another tenant's passages from entering the generation context?

    Show the answer

    Correct answerA. Apply a retrieval metadata filter derived from the authenticated tenant identity.

    AWhy this is right: A trusted tenant filter restricts retrieved chunks before they are supplied to the generation model.

    BWhy not this: Output filtering occurs after the model has already received potentially unauthorized context.

    CWhy not this: Similarity ranking is not an authorization boundary and can still return another tenant's passages.

    DWhy not this: Prompt instructions do not prevent unauthorized passages from entering the model context.

    A server-enforced metadata filter based on authenticated identity restricts retrieval before passages enter the model context. Prompt instructions and output filtering act after retrieval and do not prevent cross-tenant context exposure.

    Open this question
  18. Question 18

    Architecture Design and Implementation Built for the Cloud

    An application submits sporadic 100 MB inference requests to a custom model that takes eight minutes per request; results can arrive later. Which design choices support processing requests while minimizing idle compute costs? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersC. Store request payloads in Amazon S3 and submit their locations.D. Configure endpoint automatic scaling with a minimum capacity of zero.E. Deploy the model to a SageMaker AI asynchronous inference endpoint.

    AWhy not this: A standard real-time invocation cannot accommodate this payload size and processing duration.

    BWhy not this: Serverless Inference has payload and processing-time limits that exclude this workload.

    CWhy this is right: Asynchronous inference accepts an S3 input location rather than the request payload in the invocation.

    DWhy this is right: Asynchronous endpoints can scale to zero when idle, reducing compute costs.

    EWhy this is right: Asynchronous inference supports queued requests with payloads and processing times of this size.

    Asynchronous inference supports large payloads, long processing times, S3-based input, and scaling to zero during idle periods. Serverless Inference also reduces idle costs, but its payload and processing-time limits do not fit this workload.

    Open this question
  19. Question 19

    Architecture Design and Implementation Built for the Cloud

    A RAG application retrieves passages that end halfway through procedures because related steps fall into adjacent chunks. Which ingestion change BEST preserves context near chunk boundaries?

    Show the answer

    Correct answerC. Add overlap between consecutive text chunks.

    AWhy not this: Retrieving fewer chunks can remove useful context rather than preserve boundary information.

    BWhy not this: Vector dimensionality affects representation, not whether neighboring text is included in a chunk.

    CWhy this is right: Overlapping chunks retain surrounding text when a procedure crosses a chunk boundary.

    DWhy not this: A larger output limit does not supply missing source context.

    Chunk overlap repeats some text across adjacent chunks, preserving context at boundaries. Increasing the output token limit allows longer answers but cannot restore procedural steps that retrieval did not provide.

    Open this question
  20. Question 20

    Architecture Design and Implementation Built for the Cloud

    A company needs a new SMB share for on-premises applications, with files stored as objects in Amazon S3 and frequently accessed files cached locally. Which solution meets these requirements?

    Show the answer

    Correct answerC. Deploy an Amazon S3 File Gateway with local cache storage.

    AWhy not this: An SFTP endpoint supports file transfers but does not provide the required SMB share or local cache.

    BWhy not this: DataSync transfers data between storage systems; its agent does not provide an application-facing SMB share.

    CWhy this is right: S3 File Gateway provides an SMB share backed by S3 objects and uses local storage to cache frequently accessed data.

    DWhy not this: Volume Gateway exposes iSCSI block volumes rather than SMB shares backed by individual S3 objects.

    Amazon S3 File Gateway provides SMB file access, stores files as S3 objects, and caches frequently accessed data locally. Volume Gateway provides block storage rather than an SMB file share.

    Open this question
  21. Question 21

    Architecture Design and Implementation Built for the Cloud

    Which Amazon API Gateway REST API feature can rename JSON request fields before forwarding a request to a legacy backend?

    Show the answer

    Correct answerD. Mapping templates

    AWhy not this: Stage variables provide stage-specific configuration values rather than transform request bodies.

    BWhy not this: Usage plans control API consumer quotas and throttling rather than transform payloads.

    CWhy not this: Request validators check request parameters and body structure; they do not rename fields.

    DWhy this is right: Mapping templates reshape request bodies to match the field names expected by a backend.

    Mapping templates transform request or response bodies, including renaming JSON fields for a legacy interface. Request validators check required parameters and body structure but do not transform the payload.

    Open this question
  22. Question 22

    Architecture Design and Implementation Built for the Cloud

    A legacy application uses JMS with ActiveMQ-specific features, and its messaging code cannot change. New cloud services produce JSON that must become the application's existing XML messages; which design minimizes changes to the legacy application?

    Show the answer

    Correct answerA. Use Amazon MQ for ActiveMQ with a JSON-to-XML adapter.

    AWhy this is right: Amazon MQ for ActiveMQ preserves broker compatibility, while the adapter keeps the legacy XML message contract unchanged.

    BWhy not this: SNS provides publish/subscribe delivery but does not expose the existing ActiveMQ broker interface.

    CWhy not this: SQS does not preserve ActiveMQ-specific messaging features, even when a JMS compatibility library is used.

    DWhy not this: EventBridge routes events but does not provide the ActiveMQ interface required by the unchanged messaging code.

    Amazon MQ for ActiveMQ preserves compatibility with ActiveMQ messaging features, while an adapter converts JSON into the existing XML contract. An SQS JMS library supports a subset of JMS functionality, not ActiveMQ-specific behavior.

    Open this question
  23. Question 23

    Architecture Design and Implementation Built for the Cloud

    A new REST interface must synchronously call an unchanged on-premises SOAP service, enrich requests from DynamoDB, and translate SOAP faults into appropriate HTTP errors. The SOAP service returns HTTP 200 for both success and faults; which integration best satisfies these requirements?

    Show the answer

    Correct answerD. Use an API Gateway Lambda proxy integration with a function that enriches requests and translates SOAP responses.

    AWhy not this: Backend HTTP status matching cannot distinguish fault and success bodies when both arrive with HTTP 200.

    BWhy not this: Returning an acceptance response provides asynchronous submission, not the required synchronous SOAP result.

    CWhy not this: Returning a DynamoDB record omits the required SOAP invocation and SOAP fault translation.

    DWhy this is right: The function can perform enrichment, invoke SOAP synchronously, and classify faults by inspecting the response body.

    Lambda can retrieve enrichment data, invoke the SOAP service, inspect its response body, and return the appropriate HTTP status synchronously. HTTP integration status patterns cannot distinguish SOAP faults from successes when both have backend status 200.

    Open this question
  24. Question 24

    Architecture Design and Implementation Built for the Cloud

    A Step Functions Standard Workflow reserves inventory, charges a payment, and books shipping through separate services that cannot share a database transaction. If shipping fails permanently, which design reverses completed business actions while retrying transient errors without restarting successful steps?

    Show the answer

    Correct answerB. Retry each task, then catch shipping failure and refund payment before releasing inventory.

    AWhy not this: Retrying the sequence can repeat successful actions, and a Fail state does not reverse external side effects.

    BWhy this is right: Task-level retries preserve successful steps; explicit refund and release operations compensate for completed actions.

    CWhy not this: Restoring workflow data does not reverse inventory reservations or payments in external services.

    DWhy not this: Parallel branches do not provide transactional rollback, and completed external actions cannot be undone by cancellation.

    A saga uses explicit compensating actions to undo completed business operations, while task-level retries handle transient failures locally. A Fail state terminates execution but does not roll back changes made by external services.

    Open this question
  25. Question 25

    Architecture Design and Implementation Built for the Cloud

    An approval workflow must pause for up to three days until an external approval service reports a decision, then continue from the waiting step. Which design meets this requirement without repeatedly polling?

    Show the answer

    Correct answerA. Use a Standard Workflow with a callback task token.

    AWhy this is right: A callback task durably pauses a Standard Workflow until the external service returns the task token.

    BWhy not this: A Lambda invocation cannot remain running for three days; its maximum execution time is 15 minutes.

    CWhy not this: A fixed Wait state responds to elapsed time, not the arrival of an external approval decision.

    DWhy not this: Express Workflows do not support callback task tokens and have a maximum duration of five minutes.

    A Standard Workflow can durably wait for an external service to return a task token through a callback. A fixed Wait state resumes on a timer rather than when the approval decision arrives.

    Open this question
  26. Question 26

    Architecture Design and Implementation Built for the Cloud

    Two Lambda applications consume the same Kinesis data stream and encounter read throttling because they share shard read throughput. Without changing the shard count, how should an architect give each application dedicated read throughput?

    Show the answer

    Correct answerA. Register each application as an enhanced fan-out consumer.

    AWhy this is right: Enhanced fan-out gives each registered consumer dedicated read throughput per shard.

    BWhy not this: Larger batches can improve processing efficiency but do not provide dedicated consumer read throughput.

    CWhy not this: Partition keys determine record placement across shards; they do not allocate dedicated throughput to consumers.

    DWhy not this: Reserved concurrency controls function concurrency, not the stream's consumer read throughput.

    Enhanced fan-out provides dedicated read throughput per registered consumer for each shard. Changing partition keys affects how producers distribute records, not how consumers share read throughput.

    Open this question
  27. Question 27

    Architecture Design and Implementation Built for the Cloud

    Which EventBridge configuration forwards matching events to an event bus in another AWS account and supported Region?

    Show the answer

    Correct answerB. A source-bus rule targeting the destination bus, with appropriate IAM and destination-bus permissions.

    AWhy not this: Schema registries describe event structures; they do not transport events between buses.

    BWhy this is right: Source rules can target event buses across accounts and supported Regions when the required permissions are configured.

    CWhy not this: Event bus rules match arriving events; they do not pull events from another bus.

    DWhy not this: Archives retain events for replay rather than continuously forwarding new events to another bus.

    An EventBridge rule on the source bus forwards matching events to a destination event bus using the required permissions. A destination rule does not pull events from a remote source bus.

    Open this question
  28. Question 28

    Architecture Design and Implementation Built for the Cloud

    A daily AWS Glue ETL job processes newly arrived, immutable JSON objects in Amazon S3; Athena users query the results by event date. Which changes avoid reprocessing previously processed source objects and reduce Athena scan costs while keeping table metadata current? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Update the AWS Glue Data Catalog with output schemas and partitions.B. Write compressed Parquet output partitioned by event date.D. Enable job bookmarks and preserve transformation contexts across successful runs.

    AWhy this is right: Athena uses catalog metadata to interpret the output and locate its partitions.

    BWhy this is right: Columnar storage, compression, and date partition pruning reduce data scanned by suitable Athena queries.

    CWhy not this: Provisioned capacity allocates query compute; it does not change the amount of source data a query scans.

    DWhy this is right: Bookmarks retain processing state across successful runs so the job can skip previously processed source objects.

    EWhy not this: Crawlers discover schemas and partitions; ETL jobs perform format conversion.

    Glue bookmarks track processed input, compressed partitioned Parquet reduces Athena scans, and Data Catalog updates expose output schemas and partitions. A crawler discovers metadata; it does not transform JSON into Parquet.

    Open this question
  29. Question 29

    Architecture Design and Implementation Built for the Cloud

    An organization needs nonoverlapping IPv4 allocations across accounts, contiguous address blocks reserved for each Region, and /24 VPC CIDRs allocated by application teams. Teams must be prevented from bypassing central address allocation. Which design meets these requirements?

    Show the answer

    Correct answerD. Create Regional IPAM pools with /24 allocation rules, share them through AWS RAM, and use SCPs to require allocation from approved pools.

    AWhy not this: A registry and AWS Config provide coordination and detection, not preventive enforcement of centrally allocated addresses.

    BWhy not this: Compliance monitoring does not prevent manual CIDR assignment; allocatable IPAM pools also need the appropriate Regional locale.

    CWhy not this: Separate private scopes permit overlapping address space, so reusing the same ranges would violate organization-wide nonoverlap.

    DWhy this is right: Regional pools, allocation rules, sharing, and SCP enforcement together satisfy address planning, delegation, and prevention requirements.

    Regional IPAM pools reserve contiguous ranges, enforce allocation sizes, and coordinate nonoverlapping allocations; sharing enables delegated use, while SCPs prevent bypass. Compliance monitoring detects violations but does not prevent manually assigned CIDRs.

    Open this question
  30. Question 30

    Architecture Design and Implementation Built for the Cloud

    Traffic between spoke VPCs traverses a transit gateway and a centralized inspection VPC containing stateful appliances behind a Gateway Load Balancer. Routes are correct, but connections fail when opposite directions traverse different inspection Availability Zones. Which change addresses this failure?

    Show the answer

    Correct answerB. Enable appliance mode on the inspection VPC's transit gateway attachment.

    AWhy not this: Route propagation changes route availability; the routes already work, and propagation does not provide flow affinity.

    BWhy this is right: Appliance mode maintains inspection attachment Availability Zone affinity for both directions of a flow.

    CWhy not this: DNS support affects name resolution, not Availability Zone selection for inspected flows.

    DWhy not this: Cross-zone target selection does not itself ensure symmetric transit gateway forwarding through the inspection attachment.

    Transit gateway appliance mode maintains flow affinity to the same inspection attachment Availability Zone for both directions. Gateway Load Balancer cross-zone load balancing changes target selection but does not itself correct transit gateway attachment asymmetry.

    Open this question
  31. Question 31

    Architecture Design and Implementation Built for the Cloud

    An internet-facing Application Load Balancer receives excessive HTTPS requests from individual client IP addresses. Which solution can automatically limit those clients based on their request rates?

    Show the answer

    Correct answerB. Associate an AWS WAF web ACL containing a rate-based rule.

    AWhy not this: Network ACLs filter traffic by network attributes but do not automatically track and limit HTTP request rates.

    BWhy this is right: A rate-based rule can track requests by client IP and apply an action when the configured rate is exceeded.

    CWhy not this: VPC Flow Logs record network traffic metadata; they do not block requests.

    DWhy not this: Security groups allow traffic by protocol, port, and source, not by per-client HTTP request rate.

    An AWS WAF rate-based rule can aggregate HTTP requests by client IP and act when a configured rate is exceeded. Security groups filter connections by network attributes; they do not evaluate HTTP request rates.

    Open this question
  32. Question 32

    Architecture Design and Implementation Built for the Cloud

    Which network security controls support explicit rules that deny traffic from specified source IP addresses? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Network ACLsD. AWS Network Firewall

    AWhy this is right: Network ACLs support explicit deny rules matching source CIDR blocks.

    BWhy not this: Security groups support allow rules, not explicit deny rules.

    CWhy not this: Transit gateway route tables forward by destination; they do not deny traffic based on source IP addresses.

    DWhy this is right: AWS Network Firewall can drop traffic using rules that match source IP addresses.

    EWhy not this: VPC Flow Logs record traffic metadata without enforcing filtering rules.

    FWhy not this: IPAM manages IP address space rather than filtering packets.

    Network ACLs support explicit deny rules, and AWS Network Firewall supports rules that drop traffic matching source IP addresses. Security groups support allow rules only; traffic without a matching allow rule is implicitly denied.

    Open this question
  33. Question 33

    Architecture Design and Implementation Built for the Cloud

    An EventBridge rule in account A must forward matching events to an event bus in account B in another supported AWS Region. Which configuration authorizes the transfer?

    Show the answer

    Correct answerD. Allow account A in the destination bus policy and give the source rule a role allowing events:PutEvents on that bus.

    AWhy not this: Permission to create rules does not authorize publishing events to the receiving bus.

    BWhy not this: PutTargets configures rule targets; it does not authorize the source rule to deliver events.

    CWhy not this: The receiving bus must authorize the sender, and the sending rule needs the execution role.

    DWhy this is right: The destination policy permits cross-account access, while the source rule's role authorizes event delivery.

    Cross-account forwarding requires permission on the receiving bus and a source rule execution role authorized to put events there. Permission on the source bus does not authorize delivery to the destination.

    Open this question
  34. Question 34

    Architecture Design and Implementation Built for the Cloud

    A team runs a long-lived HTTP microservice on Amazon ECS with AWS Fargate. It needs three running task replicas and automatic replacement of failed tasks; which deployment approach should it use?

    Show the answer

    Correct answerC. Create an ECS service with a desired task count of three.

    AWhy not this: Scheduled launches do not reconcile running replicas and can create overlapping tasks.

    BWhy not this: A capacity provider base controls task placement distribution, not the desired number of service replicas.

    CWhy this is right: The ECS service scheduler maintains the desired count and replaces failed tasks.

    DWhy not this: Standalone tasks are not automatically replaced to maintain a desired replica count.

    An ECS service maintains its desired task count and replaces failed tasks. Standalone tasks can run the application, but they do not provide a service scheduler that maintains three replicas.

    Open this question
  35. Question 35

    Architecture Design and Implementation Built for the Cloud

    Microservices on ECS and EKS span several accounts and VPCs without peering. They need private HTTP communication, IAM-based service authorization, and centralized request metrics without application-managed proxies; which architecture best fits?

    Show the answer

    Correct answerB. Use a VPC Lattice service network shared through AWS RAM with service auth policies.

    AWhy not this: Private DNS resolves names but does not provide connectivity or IAM authorization for HTTP requests.

    BWhy this is right: VPC Lattice supports shared service networks, private cross-VPC connectivity, IAM authorization, and request metrics.

    CWhy not this: ECS Service Connect is for ECS service communication, not a unified ECS and EKS networking layer.

    DWhy not this: Internal load balancers require network connectivity, and security groups cannot authorize requests by IAM role.

    VPC Lattice provides cross-VPC, cross-account application networking, IAM authorization, and request observability. ECS Service Connect integrates ECS services but is not a unified networking solution for both ECS and EKS.

    Open this question
  36. Question 36

    Architecture Design and Implementation Built for the Cloud

    Account A forwards events to account B's EventBridge bus, where local consumers receive them; B also has a matching rule targeting account C's bus, but C receives none. With permissions verified, which change delivers A's events to C without application code?

    Show the answer

    Correct answerD. Configure A's event bus rule to target C's event bus directly.

    AWhy not this: An input transformer changes event content, not the restriction on transitive cross-account routing.

    BWhy not this: Archiving and replaying is not a supported workaround for transitive cross-account bus forwarding.

    CWhy not this: Default buses and custom buses have the same restriction on forwarding received cross-account events.

    DWhy this is right: Direct forwarding from the originating account avoids the unsupported third-account forwarding hop.

    EventBridge does not forward events received from another account to a third account through an event bus target. Configure direct forwarding from A to C; transforming the event in B does not remove this restriction.

    Open this question
  37. Question 37

    Architecture Design and Implementation Built for the Cloud

    A company must retain Kubernetes APIs in one cluster; payment pods require a privileged node agent deployed as a DaemonSet, while stateless API pods need no node access and must run without customer-managed worker nodes. Which architecture meets these requirements?

    Show the answer

    Correct answerB. Use EKS managed node groups for payments and namespace-selected Fargate profiles for APIs.

    AWhy not this: ECS does not retain the required Kubernetes APIs.

    BWhy this is right: Managed nodes support the payment agent, and Fargate runs selected API pods without customer-managed worker nodes.

    CWhy not this: EKS Fargate does not support privileged containers or DaemonSets.

    DWhy not this: Managed node groups still provide customer-managed worker nodes for the APIs.

    EKS can combine EC2-backed managed node groups with Fargate profiles. Payments can use nodes supporting privileged DaemonSets, while API pods use Fargate; EKS Fargate does not support privileged containers or DaemonSets.

    Open this question
  38. Question 38

    Architecture Design and Implementation Built for the Cloud

    A company must run containers on its existing on-premises Linux servers while managing their deployment through Amazon ECS. The servers have reliable connectivity to AWS; which solution best meets these requirements?

    Show the answer

    Correct answerB. Amazon ECS Anywhere

    AWhy not this: EKS Anywhere provides Kubernetes cluster management, not Amazon ECS task management.

    BWhy this is right: ECS Anywhere registers external servers with an ECS cluster so ECS can manage container tasks on them.

    CWhy not this: Outposts racks supply AWS infrastructure rather than reuse the company's existing servers as external ECS instances.

    DWhy not this: Local Zones provide AWS-operated infrastructure near population centers, not deployment onto existing customer servers.

    Amazon ECS Anywhere extends ECS task management to external servers, including existing on-premises Linux hosts. EKS Anywhere supports customer-managed Kubernetes environments rather than ECS task management.

    Open this question
  39. Question 39

    Architecture Design and Implementation Built for the Cloud

    A public example.com zone contains www and api records; a new private example.com zone is empty. VPC clients must resolve api.example.com to a private address and www.example.com to its existing public address, while internet responses remain unchanged. Which changes meet these requirements? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Create a www record with the existing public address in the private hosted zone.D. Associate the private example.com hosted zone with the application VPC.E. Create an api record with the private address in the private hosted zone.

    AWhy this is right: The private zone must contain www because missing records do not fall back to the public hosted zone.

    BWhy not this: A missing record in a matching private hosted zone produces a negative answer rather than public-zone fallback.

    CWhy not this: Changing the public api record changes internet responses and exposes the private address through public DNS.

    DWhy this is right: VPC association makes the private namespace available to applications using the VPC Resolver.

    EWhy this is right: The private api record supplies the internal address without changing internet-facing DNS responses.

    Associate the private zone with the VPC and populate both required names with their intended answers. A matching private hosted zone does not fall back to the public zone when a record is absent, so www must also exist privately.

    Open this question
  40. Question 40

    Architecture Design and Implementation Built for the Cloud

    A factory needs Kubernetes on customer-owned hardware, with both cluster management and application deployment available during extended WAN outages. Images and dependencies are available locally; which architecture best meets these requirements?

    Show the answer

    Correct answerB. An EKS Anywhere cluster with control plane and workers at the factory

    AWhy not this: EKS hybrid nodes depend on a regional EKS control plane, which is unreachable during the WAN outage.

    BWhy this is right: A local EKS Anywhere control plane and workers support Kubernetes management and deployment without WAN access.

    CWhy not this: An EKS local cluster provides a local control plane but runs on AWS Outposts hardware rather than customer-owned hardware.

    DWhy not this: A Local Zone does not place the cluster on customer-owned factory hardware or provide an independent local control plane.

    EKS Anywhere places the Kubernetes control plane and workers on customer-managed infrastructure and supports disconnected operation with local dependencies. EKS local clusters on Outposts also place the control plane locally, but require AWS-provided Outposts hardware.

    Open this question
  41. Question 41

    Architecture Design and Implementation Built for the Cloud

    Applications in a VPC must resolve corp.example names hosted exclusively on on-premises DNS servers over an existing VPN. Which design provides this resolution without changing the applications' DNS settings?

    Show the answer

    Correct answerD. Configure a Resolver outbound endpoint with a corp.example forwarding rule associated with the VPC.

    AWhy not this: Private hosted zone NS records do not establish conditional forwarding to on-premises DNS servers.

    BWhy not this: Inbound endpoints receive DNS queries from outside the VPC rather than forwarding VPC queries to on-premises DNS servers.

    CWhy not this: Private hosted zones associate with VPCs, not transit gateways.

    DWhy this is right: An associated forwarding rule sends matching queries through the outbound endpoint to the specified on-premises DNS servers.

    A Resolver outbound endpoint forwards matching VPC DNS queries to on-premises DNS servers through an associated forwarding rule. An inbound endpoint receives queries entering AWS; it does not forward VPC queries to on-premises servers.

    Open this question
  42. Question 42

    Architecture Design and Implementation Built for the Cloud

    Instances in a private dual-stack subnet have IPv6 addresses but only IPv4 routing and security group rules; network ACLs allow all traffic. Which changes enable outbound IPv6 internet connections while blocking unsolicited inbound IPv6 connections? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Allow the required outbound IPv6 traffic in the security group.E. Route ::/0 to an egress-only internet gateway.

    AWhy this is right: IPv6 traffic requires matching IPv6 security group rules, independently of existing IPv4 rules.

    BWhy not this: A public NAT gateway does not provide native IPv6 internet egress through an IPv6 default route.

    CWhy not this: The IPv4 default CIDR does not match IPv6 destinations.

    DWhy not this: Elastic IP addresses are IPv4 addresses and do not enable IPv6 connectivity.

    EWhy this is right: An egress-only internet gateway supports outbound IPv6 connections and blocks unsolicited inbound connections.

    FWhy not this: An internet gateway provides IPv6 connectivity but does not itself block unsolicited inbound connections.

    An egress-only internet gateway permits outbound IPv6 connections and their return traffic without permitting unsolicited inbound connections. Security groups need IPv6 rules; IPv4 rules do not cover IPv6 traffic.

    Open this question
  43. Question 43

    Architecture Design and Implementation Built for the Cloud

    A UDP application uses Network Load Balancers in two Regions; clients require fixed destination IP addresses and health-based regional failover without DNS refreshes. Operators must also reduce one Region's share of new connections during maintenance without changing endpoint weights; which design meets these requirements?

    Show the answer

    Correct answerA. Use a standard Global Accelerator with regional endpoint groups and adjust traffic dials.

    AWhy this is right: Standard accelerators support UDP, static IPs, health-based routing, and regional traffic dials independent of endpoint weights.

    BWhy not this: Latency routing depends on DNS caching and does not provide a direct regional traffic-share control.

    CWhy not this: Custom routing maps traffic to specific EC2 destinations rather than providing health-based routing across regional NLBs.

    DWhy not this: Weighted DNS can adjust traffic distribution, but it does not provide fixed global destination IPs or DNS-independent failover.

    A standard Global Accelerator provides static anycast IP addresses, UDP support, and health-based endpoint routing. Regional traffic dials control the share directed to an endpoint group without changing endpoint weights; Route 53 changes depend on DNS resolution and caching.

    Open this question
  44. Question 44

    Architecture Design and Implementation Built for the Cloud

    A web application runs behind Application Load Balancers in three Regions. Which Route 53 configuration directs users to the healthy Region with the lowest network latency?

    Show the answer

    Correct answerC. Latency alias records with Evaluate Target Health enabled.

    AWhy not this: Failover routing implements primary-secondary selection rather than latency-based regional selection.

    BWhy not this: Geolocation routing uses geographic boundaries rather than network latency to select a destination.

    CWhy this is right: Latency routing selects the lowest-latency Region, while target health evaluation avoids unhealthy targets.

    DWhy not this: Equal weights distribute DNS responses proportionally without selecting the lowest-latency Region.

    Latency routing selects a Region based on AWS latency measurements, and Evaluate Target Health excludes unhealthy load balancer targets. Geolocation routing selects records by the user's geographic location, not measured latency.

    Open this question
  45. Question 45

    Architecture Design and Implementation Built for the Cloud

    An IPv6-only application subnet must reach a vendor's public API, whose DNS name has only an A record. A public NAT gateway already has IPv4 internet access; which design enables access without changing the application or vendor?

    Show the answer

    Correct answerB. Enable DNS64 and route 64:ff9b::/96 through the NAT gateway.

    AWhy not this: DNS64 synthesizes addresses, but an egress-only internet gateway cannot translate the resulting traffic to IPv4.

    BWhy this is right: DNS64 supplies the synthesized destination, and the NAT gateway translates traffic to the IPv4 API.

    CWhy not this: A VPC IPv4 CIDR does not give IPv6-only instances IPv4 connectivity or provide translation.

    DWhy not this: An address belonging to the application cannot make the vendor's IPv4-only endpoint reachable over IPv6.

    DNS64 synthesizes an IPv6 address from the API's A record, and the NAT gateway performs NAT64 for traffic routed to 64:ff9b::/96. An egress-only internet gateway does not translate IPv6 traffic to IPv4.

    Open this question
  46. Question 46

    Architecture Design and Implementation Built for the Cloud

    A company must detect operating system and programming language package vulnerabilities in Amazon ECR images, including newly disclosed vulnerabilities after images are pushed. Which configuration meets these requirements?

    Show the answer

    Correct answerB. Enhanced scanning with continuous scanning

    AWhy not this: Repeating basic scans does not add programming language package coverage.

    BWhy this is right: Continuous enhanced scanning covers both package types and updates findings as new vulnerabilities become known.

    CWhy not this: Basic scanning covers operating system vulnerabilities and does not provide continuous package reassessment.

    DWhy not this: Enhanced scan on push provides package coverage but not continuous reassessment after the initial scan.

    Enhanced scanning integrates with Amazon Inspector to assess operating system and programming language packages continuously. Enhanced scan on push assesses images when pushed but does not provide continuous reassessment for newly disclosed vulnerabilities.

    Open this question
  47. Question 47

    Architecture Design and Implementation Built for the Cloud

    Which capabilities does Amazon ECS Service Connect provide for communication between ECS services? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersC. Standardized service-to-service traffic metricsE. Service discovery through short names

    AWhy not this: Durable request buffering requires a messaging service such as Amazon SQS.

    BWhy not this: ECS service auto scaling changes desired task counts independently of Service Connect.

    CWhy this is right: Service Connect proxies expose standardized metrics for service-to-service traffic.

    DWhy not this: Session persistence requires an external state store, not a service communication proxy.

    EWhy this is right: Client services can discover and connect to configured endpoints using short names within a namespace.

    ECS Service Connect provides short-name service discovery and standardized traffic metrics through managed proxies. ECS service auto scaling adjusts task counts; Service Connect does not.

    Open this question
  48. Question 48

    Architecture Design and Implementation Built for the Cloud

    An ECR repository contains an old multi-architecture manifest list that references untagged architecture-specific images. A lifecycle rule selects those untagged images, but they remain; what must happen before ECR can expire them?

    Show the answer

    Correct answerC. The referencing manifest list must be deleted.

    AWhy not this: Adding tags does not remove the manifest list's references and may stop the images from matching the untagged rule.

    BWhy not this: Vulnerability scan completion does not control whether a manifest-referenced image can expire.

    CWhy this is right: Deleting the referencing manifest list removes the dependency that prevents expiration of its referenced images.

    DWhy not this: Tag immutability prevents tag overwrites; it does not remove manifest references.

    ECR cannot expire an image referenced by a manifest list until that manifest list is deleted. Adding architecture-specific tags changes lifecycle matching but does not remove the manifest reference.

    Open this question
  49. Question 49

    Architecture Design and Implementation Built for the Cloud

    An ECS service on EC2 processes SQS messages one at a time per task, averaging 12 seconds each, and must target an average queue wait of 120 seconds. Processing is I/O-bound, demand varies, and the cluster must add instances when tasks exceed available capacity; which scaling design best fits?

    Show the answer

    Correct answerD. Target 10 visible messages per running task; enable capacity provider managed scaling.

    AWhy not this: The task metric is appropriate, but fixed EC2 capacity can leave additional tasks unable to run.

    BWhy not this: Total queue depth does not normalize backlog by the number of workers and therefore is unsuitable for this target-tracking design.

    CWhy not this: CPU is a poor demand signal for I/O-bound workers, and fixed instance capacity can prevent task placement.

    DWhy this is right: Ten messages per task matches the wait-time target, and managed scaling supplies EC2 capacity for additional tasks.

    The backlog-per-task target is 120 ÷ 12 = 10 messages. ECS service scaling adjusts workers, while capacity provider managed scaling adds EC2 capacity; a fixed total queue target does not express backlog relative to processing capacity.

    Open this question
  50. Question 50

    Architecture Design and Implementation Built for the Cloud

    A public serverless API needs managed request validation and API keys that associate customers with usage plans for best-effort throttling and quotas. Which ingress configuration meets these requirements with the least custom code?

    Show the answer

    Correct answerD. An API Gateway REST API with request validators and usage plans

    AWhy not this: Lambda targets provide serverless integration, but listener rules do not supply usage plans or request validation.

    BWhy not this: WebSocket route selection and authorizers do not provide the required REST API validation and usage-plan features.

    CWhy not this: JWT authorization verifies tokens; HTTP APIs lack usage plans and managed request validation.

    DWhy this is right: REST APIs provide both managed request validation and API-key-based usage plans.

    API Gateway REST APIs support request validators and API-key-based usage plans with throttling and quotas. HTTP APIs support JWT authorization and throttling but do not provide REST API usage plans or request validation.

    Open this question