Curated

Cost-Optimized Architecture Design (3.1–3.4)

0 votes

Questions45

  1. Question 1

    Cost-Optimized Architecture Design

    A company has a predictable hourly compute baseline, but will move workloads among EC2 instance families, AWS Regions, AWS Fargate, and AWS Lambda over the next year. Which purchase option reduces baseline costs while preserving this flexibility without exchanging commitments?

    Show the answer

    Correct answerB. A one-year Compute Savings Plan

    AWhy not this: Convertible Reserved Instances cover EC2 usage, not Fargate or Lambda, and some changes require exchanges.

    BWhy this is right: Compute Savings Plans accommodate eligible EC2, Fargate, and Lambda usage across Regions without exchanging commitments.

    CWhy not this: Standard Reserved Instances lack the required service coverage and flexibility across instance families and Regions.

    DWhy not this: EC2 Instance Savings Plans apply to a specific instance family in one Region and do not cover Fargate or Lambda.

    Compute Savings Plans cover eligible EC2, Fargate, and Lambda usage across Regions under an hourly spending commitment. Convertible Reserved Instances allow certain exchanges but do not cover Fargate or Lambda.

    Open this question
  2. Question 2

    Cost-Optimized Architecture Design

    An existing Compute Savings Plan fully covers a company's steady EC2 fleet, with no expected additional usage to absorb another discount commitment. The company must reserve matching replacement capacity in a specific Availability Zone for immediate relaunches throughout the year; which approach meets this requirement without a second long-term discount commitment?

    Show the answer

    Correct answerA. Create matching On-Demand Capacity Reservations

    AWhy this is right: Capacity Reservations provide zonal capacity assurance while allowing existing Savings Plans discounts on eligible usage.

    BWhy not this: Zonal Reserved Instances reserve capacity but add another term commitment and cannot stack discounts on the same usage.

    CWhy not this: Regional Reserved Instances provide billing discounts but do not reserve capacity in a specific Availability Zone.

    DWhy not this: Spot capacity is interruptible and does not provide the required capacity assurance for immediate relaunches.

    On-Demand Capacity Reservations reserve matching EC2 capacity in an Availability Zone, and eligible usage can receive existing Savings Plans discounts. Zonal Reserved Instances also reserve capacity but add a separate commitment whose discount cannot stack with Savings Plans on the same usage.

    Open this question
  3. Question 3

    Cost-Optimized Architecture Design

    A service runs millions of AWS Step Functions executions daily. Each execution has about 30 state transitions, its Task states invoke AWS Lambda functions, and it finishes in under 10 seconds. All tasks are idempotent, no callback or job-run (.sync) integrations are needed, and there is no startup-latency requirement. Which workflow choice is MOST cost-effective?

    Show the answer

    Correct answerC. Express Workflows with unreserved (default) Lambda concurrency

    AWhy not this: Disabling logging can reduce logging charges but does not remove Standard Workflows' per-transition charges.

    BWhy not this: A shorter timeout does not reduce transition charges for executions that already complete within 10 seconds.

    CWhy this is right: Express fits short, high-volume, idempotent processing, and default unreserved concurrency adds no capacity charge.

    DWhy not this: Express fits the workload, but provisioned concurrency adds cost without a startup-latency requirement.

    Express Workflows suit high-volume, short-duration, idempotent processing and use request-and-duration pricing rather than per-transition pricing. Provisioned Lambda concurrency adds cost and is unnecessary because there is no startup-latency requirement.

    Open this question
  4. Question 4

    Cost-Optimized Architecture Design

    A Lambda function has Arm-compatible dependencies, and representative tests produce the fixed execution durations below; each invocation must finish within 250 ms. Assuming Arm compute costs 80% of x86 compute per GB-second and request charges are identical, which configuration minimizes cost while meeting the requirement?

    Show the answer

    Correct answerC. Arm: 1,024 MB, 180 ms

    AWhy not this: Its relative compute cost is 2 × 0.110 × 0.8 = 0.176; faster execution does not offset the extra memory.

    BWhy not this: Its relative compute cost is 0.5 × 0.350 = 0.175, and its duration exceeds the deadline.

    CWhy this is right: Its relative compute cost is 1 × 0.180 × 0.8 = 0.144, the lowest, and its duration meets the deadline.

    DWhy not this: Its relative compute cost is 1 × 0.200 = 0.200, exceeding the cost of the qualifying Arm configurations.

    Relative compute costs are 0.144 for 1 GB Arm, 0.175 for 0.5 GB x86, 0.176 for 2 GB Arm, and 0.200 for 1 GB x86. The 1 GB Arm configuration is cheapest and meets the deadline; the faster 2 GB Arm configuration costs more because its memory increase outweighs its duration reduction.

    Open this question
  5. Question 5

    Cost-Optimized Architecture Design

    A CloudFront distribution caches product images using all query strings, including a unique analytics identifier and an image version; only the version changes the image. The origin needs both parameters on cache misses, and image TTLs cannot increase. Which change BEST reduces origin requests?

    Show the answer

    Correct answerC. Cache by version only and forward analytics through an origin request policy.

    AWhy not this: Removing version can mix image versions, and removing analytics violates the origin's parameter requirement.

    BWhy not this: Unique analytics identifiers fragment the cache, and excluding version can cause the wrong image version to be served.

    CWhy this is right: The version distinguishes image content, while the origin request policy forwards analytics without fragmenting the cache.

    DWhy not this: Unique analytics identifiers still create distinct cache keys, limiting the benefit of an additional cache layer.

    Including only the image version in the cache key allows requests with different analytics identifiers to share cached images; an origin request policy preserves analytics on misses. Origin Shield does not eliminate cache fragmentation caused by unique cache keys.

    Open this question
  6. Question 6

    Cost-Optimized Architecture Design

    A company serves static files through CloudFront from a primary S3 bucket and maintains identical files in a secondary bucket. Which configuration lets CloudFront retry GET requests against the secondary bucket when the primary returns HTTP 503?

    Show the answer

    Correct answerB. Create an origin group with failover configured for HTTP 503.

    AWhy not this: Cache behaviors select origins by request path, not by the response status from another origin.

    BWhy this is right: An origin group can retry eligible requests against its secondary origin when the primary returns a configured status code.

    CWhy not this: Origin Shield adds a caching layer; it does not establish a secondary origin for status-code-based failover.

    DWhy not this: Replication maintains object copies but does not make CloudFront retry requests against another origin.

    A CloudFront origin group defines primary and secondary origins and the status codes that trigger failover for eligible methods, including GET. S3 Cross-Region Replication copies objects but does not configure CloudFront request failover.

    Open this question
  7. Question 7

    Cost-Optimized Architecture Design

    Private instances in Availability Zone B send 100 GB monthly to an internet-only vendor through a NAT gateway in Zone A; additional resilience is unnecessary. Cross-AZ transfer adds $0.02/GB, a zonal NAT gateway costs $0.045/hour for 720 hours, and other charges are unchanged. Which choice has the lowest incremental monthly cost?

    Show the answer

    Correct answerD. Retain the existing NAT gateway in Zone A.

    AWhy not this: Two gateways add one gateway's hourly cost relative to the existing architecture, exceeding the transfer savings.

    BWhy not this: Splitting traffic adds $32.40 in gateway charges while retaining $1 in cross-AZ transfer.

    CWhy not this: The additional gateway costs $32.40 monthly to eliminate only $2 in cross-AZ transfer.

    DWhy this is right: The incremental cross-AZ charge is 100 × $0.02 = $2, less than the hourly charge for another gateway.

    Keeping the existing gateway adds only $2 monthly in cross-AZ transfer. Adding a gateway costs $32.40 monthly before unchanged processing charges, so avoiding cross-AZ transfer does not justify another gateway at this volume.

    Open this question
  8. Question 8

    Cost-Optimized Architecture Design

    Which option lets VPC instances access same-Region Amazon S3 without NAT gateway processing charges or endpoint hourly charges?

    Show the answer

    Correct answerB. An Amazon S3 gateway endpoint

    AWhy not this: A local NAT gateway can avoid cross-AZ transfer but still incurs NAT processing charges.

    BWhy this is right: An S3 gateway endpoint bypasses NAT and has no endpoint hourly or data processing charges.

    CWhy not this: An S3 interface endpoint avoids NAT but incurs interface endpoint hourly and data processing charges.

    DWhy not this: Transit Gateway does not directly provide S3 access and introduces its own attachment and processing charges.

    An S3 gateway endpoint provides a route to S3 without a NAT gateway and has no endpoint hourly or data processing charges. An S3 interface endpoint uses AWS PrivateLink and incurs endpoint charges.

    Open this question
  9. Question 9

    Cost-Optimized Architecture Design

    All supported resources in an AWS organization have a Department tag, but the tag is not available for grouping costs in AWS Cost Explorer. What should the management account do?

    Show the answer

    Correct answerC. Activate Department as a user-defined cost allocation tag.

    AWhy not this: An AWS Config rule evaluates resource compliance but does not make tags available in billing tools.

    BWhy not this: A tag policy standardizes tag keys and values but does not activate cost allocation tags.

    CWhy this is right: Activation makes the existing resource tag available as a cost allocation dimension after processing.

    DWhy not this: A budget monitors costs but does not activate resource tags for billing use.

    A user-defined resource tag must be activated for cost allocation before it becomes available in billing tools after processing. A tag policy standardizes tag usage but does not activate the tag for billing.

    Open this question
  10. Question 10

    Cost-Optimized Architecture Design

    An organization needs independent cost breakdowns by project, environment, and business unit across shared AWS accounts; project names change, and projects can move between business units. Which tagging design preserves project continuity while supporting each breakdown without parsing tag values?

    Show the answer

    Correct answerC. Use separate ProjectId, Environment, and BusinessUnit tags; retain ProjectId when names or ownership change.

    AWhy not this: Changing ProjectName splits the same project's costs across different values unless reporting adds a historical mapping.

    BWhy not this: A composite value requires parsing to analyze its dimensions independently and changes when names or ownership change.

    CWhy this is right: Separate dimensions allow independent grouping, while an unchanged ProjectId maintains project identity across organizational changes.

    DWhy not this: An account name cannot identify individual projects when multiple projects share the same account.

    Separate tags support independent cost dimensions, and a stable project identifier preserves continuity through renaming and ownership changes. ProjectName is readable but fragments project history when its value changes.

    Open this question
  11. Question 11

    Cost-Optimized Architecture Design

    A finance team must join hourly resource-level billing records with an internal ownership table in Amazon S3 and run repeatable SQL analyses. Which solution best meets these requirements?

    Show the answer

    Correct answerC. Deliver AWS Cost and Usage Reports to Amazon S3 and query them with Amazon Athena.

    AWhy not this: Budget reports summarize budget performance rather than supplying detailed billing records for resource-level analysis.

    BWhy not this: Cost categories organize costs but do not provide SQL joins between detailed billing records and an external ownership table.

    CWhy this is right: Reports configured for hourly granularity and resource IDs provide detailed S3 data that Athena can join with the ownership table.

    DWhy not this: Monthly Cost Explorer exports do not supply the required hourly, resource-level billing records.

    AWS Cost and Usage Reports can provide hourly, resource-level billing data in S3 for SQL joins with Athena. Cost Explorer CSV exports provide report results rather than the required detailed billing dataset.

    Open this question
  12. Question 12

    Cost-Optimized Architecture Design

    Several teams share an Amazon EKS cluster on common EC2 worker nodes. Finance must charge each team for its pods' share of node costs, based on CPU and memory, at daily granularity, and analysts query the results with SQL. Which approach meets these requirements?

    Show the answer

    Correct answerB. Turn on split cost allocation data for Amazon EKS, export CUR 2.0 through AWS Data Exports, and query it with Athena.

    AWhy not this: Node tags assign each whole instance to one team, so a node shared by several teams' pods cannot be split.

    BWhy this is right: Split cost allocation data divides each node's cost among its pods by CPU and memory, and CUR 2.0 delivers those rows for SQL queries in Athena.

    CWhy not this: All teams share one cluster in the same accounts, so account-based categories cannot separate their pods.

    DWhy not this: Budgets track spend against thresholds for costs already attributed; they do not split shared node costs among pods.

    Split cost allocation data for Amazon EKS divides the cost of each shared EC2 node among the pods that ran on it, based on their CPU and memory, and can carry Kubernetes labels as cost allocation tags. It appears in CUR 2.0, which AWS Data Exports delivers to Amazon S3 for SQL queries with Amazon Athena. Tags on nodes can only assign whole instances.

    Open this question
  13. Question 13

    Cost-Optimized Architecture Design

    A batch-processing application needs a 4-TiB non-boot EBS volume for large sequential reads, with occasional throughput peaks of 400 MiB/s. Which volume type provides the lowest storage cost while supporting these peaks?

    Show the answer

    Correct answerA. Throughput Optimized HDD (st1)

    AWhy this is right: st1 provides economical HDD storage for sequential workloads and supports the required peak throughput.

    BWhy not this: sc1 is limited to 250 MiB/s per volume, below the required peak throughput.

    CWhy not this: gp3 can meet the throughput requirement but has higher storage cost than st1 for this sequential workload.

    DWhy not this: io2 targets demanding IOPS and latency requirements at a higher cost than this workload needs.

    Throughput Optimized HDD (st1) is designed for large sequential workloads and supports burst throughput up to 500 MiB/s per volume. Cold HDD (sc1) costs less per GiB but is limited to 250 MiB/s per volume.

    Open this question
  14. Question 14

    Cost-Optimized Architecture Design

    A company retains large S3 objects for several years, with unpredictable periods of inactivity followed by intensive reads. Every object must remain available with millisecond access, and the company wants automatic storage savings without retrieval charges. Which configuration meets these requirements?

    Show the answer

    Correct answerD. Use S3 Intelligent-Tiering without its optional archive tiers.

    AWhy not this: Standard-IA imposes retrieval charges and uses age-based transitions rather than automatic access-pattern tiering.

    BWhy not this: The optional archive tiers require restoration and do not provide immediate millisecond access.

    CWhy not this: Glacier Instant Retrieval provides millisecond access but imposes retrieval charges.

    DWhy this is right: The automatic access tiers reduce storage costs while preserving millisecond access without retrieval charges.

    S3 Intelligent-Tiering's automatic access tiers provide millisecond access without retrieval charges. Its optional Archive Access and Deep Archive Access tiers require restoration, while Glacier Instant Retrieval and Standard-IA charge for retrieval.

    Open this question
  15. Question 15

    Cost-Optimized Architecture Design

    A workload uses a 2,000-GiB gp2 volume solely to sustain 6,000 IOPS and 250 MiB/s, although it needs only 500 GiB of capacity. Which changes together remove performance-driven capacity overprovisioning while preserving sustained performance without burst credits? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Configure the replacement volume for 6,000 IOPS and 250 MiB/s.C. Migrate the data to a 500-GiB gp3 volume.

    AWhy not this: The gp3 baseline settings fall short of both required performance values.

    BWhy this is right: These settings meet both sustained performance requirements and are supported together on gp3.

    CWhy this is right: gp3 separates capacity from provisioned performance, allowing the workload to use only the required 500 GiB.

    DWhy not this: gp2 IOPS are determined by volume size rather than an independently adjustable provisioned IOPS setting.

    EWhy not this: A 500-GiB gp2 volume provides 1,500 baseline IOPS, below the sustained requirement.

    FWhy not this: Throughput Optimized HDD is unsuitable for sustaining this random-I/O performance requirement.

    A 500-GiB gp3 volume can independently provision 6,000 IOPS and 250 MiB/s without burst credits. A 500-GiB gp2 volume has only 1,500 baseline IOPS, so reducing gp2 capacity would not preserve sustained performance.

    Open this question
  16. Question 16

    Cost-Optimized Architecture Design

    An Amazon EFS Regional file system contains files that are usually inactive but become frequently accessed when projects resume. Which lifecycle configuration reduces inactive-file storage costs and automatically returns accessed files to EFS Standard?

    Show the answer

    Correct answerD. Transition files to EFS IA after inactivity; return them on first access.

    AWhy not this: Files remain in EFS Archive rather than returning to EFS Standard when accessed.

    BWhy not this: Backup retention controls recovery-point costs, not the storage class of live files.

    CWhy not this: Inactive files become cheaper to store, but accessed files do not automatically return to EFS Standard.

    DWhy this is right: The transition-into-Standard policy supports returning files on first access after they move to a lower-cost class.

    EFS lifecycle management can transition inactive files to EFS IA and return them to EFS Standard on first access. Leaving accessed files in EFS IA saves storage costs but does not implement the requested return behavior.

    Open this question
  17. Question 17

    Cost-Optimized Architecture Design

    An Auto Scaling group behind a load balancer uses target tracking on CPU. Every weekday, traffic climbs sharply at about 8:00 am, and new instances need 10 minutes to initialize, so latency spikes until capacity catches up. The start time drifts by up to an hour over the seasons. Which change BEST adds capacity ahead of the climb with the least ongoing maintenance?

    Show the answer

    Correct answerB. Add a predictive scaling policy that forecasts load and launches instances early, keeping target tracking.

    AWhy not this: A fixed schedule must be edited by hand as the start time drifts, or it adds capacity too early or too late.

    BWhy this is right: Predictive scaling learns the daily pattern from history and launches capacity before forecast demand, while target tracking still handles surprises.

    CWhy not this: Step scaling still reacts after the load arrives, so the 10-minute initialization delay remains.

    DWhy not this: A lower target keeps spare capacity at all hours and still reacts only after load rises.

    Predictive scaling forecasts capacity from the group's load history, updates the forecast as the pattern drifts, and can launch instances ahead of forecast demand with a pre-launch buffer that covers initialization time. Keeping target tracking alongside it handles demand the forecast misses. A scheduled action works only until the pattern moves.

    Open this question
  18. Question 18

    Cost-Optimized Architecture Design

    A company scores a large file in Amazon S3 once nightly using a custom model in Amazon SageMaker AI. Results are needed by morning, and inference capacity should not remain idle between runs; which deployment approach is MOST appropriate?

    Show the answer

    Correct answerA. A batch transform job launched for each nightly file

    AWhy this is right: Batch transform fits scheduled offline scoring and releases job compute after processing completes.

    BWhy not this: A minimum of one instance leaves paid inference capacity running between nightly requests.

    CWhy not this: A continuously provisioned real-time endpoint incurs idle costs and provides latency the workload does not need.

    DWhy not this: Multi-model endpoints share capacity among models; a single nightly model does not benefit from that consolidation.

    SageMaker AI batch transform processes offline datasets with compute provisioned for the job, avoiding an idle inference endpoint. Asynchronous inference supports queued requests, but keeping a minimum instance incurs costs between runs.

    Open this question
  19. Question 19

    Cost-Optimized Architecture Design

    An interactive Amazon Bedrock application repeatedly sends a long, identical policy document followed by unique customer questions requiring fresh answers. The supported model's cache minimum is met, and requests arrive within its cache lifetime; which design reduces input processing costs without delaying responses or reusing previous answers?

    Show the answer

    Correct answerA. Place a prompt cache checkpoint after the shared policy prefix.

    AWhy this is right: The checkpoint includes the reusable policy prefix while leaving each unique question to be processed.

    BWhy not this: Batch inference defers processing and does not meet the interactive response requirement.

    CWhy not this: A checkpoint before the policy prefix excludes the expensive shared content from the cached prefix.

    DWhy not this: The policy document alone does not identify a customer's question, so cached answers could be inappropriate.

    A checkpoint after the shared prefix lets Bedrock reuse processing of the policy document while processing each new question. Response caching keyed only by the document could return an answer to a different customer's question.

    Open this question
  20. Question 20

    Cost-Optimized Architecture Design

    An Amazon ECS service on Fargate processes retryable jobs, with a predictable morning surge and unpredictable daytime arrivals. Tests establish a suitable CPU utilization target, and jobs tolerate interruptions; which actions reduce costs while matching capacity to demand? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Use Fargate Spot capacity for interruption-tolerant workers.D. Use CPU-based target tracking for changes in daytime demand.E. Schedule a capacity increase before the morning surge and a decrease afterward.

    AWhy this is right: Fargate Spot offers discounted capacity for tasks that can tolerate interruption.

    BWhy not this: Keeping peak capacity running during quieter periods pays for unnecessary idle resources.

    CWhy not this: EC2 Reserved Instance discounts apply to matching EC2 usage, not Fargate tasks.

    DWhy this is right: Target tracking adjusts task count to maintain the tested CPU utilization target as demand changes.

    EWhy this is right: Scheduled scaling prepares capacity for predictable demand and removes unnecessary capacity afterward.

    Scheduled scaling handles known demand changes, target tracking handles variable demand, and Fargate Spot lowers costs for interruption-tolerant tasks. EC2 Reserved Instances do not discount Fargate usage.

    Open this question
  21. Question 21

    Cost-Optimized Architecture Design

    AWS Compute Optimizer recommends moving a memory-heavy application from r6i.2xlarge instances to a smaller instance type. The application's busiest period is month-end, and the team suspects the recommendation ignores both memory use and the month-end peak. What should the team do to get a reliable recommendation?

    Show the answer

    Correct answerA. Publish memory metrics with the CloudWatch agent and activate enhanced infrastructure metrics for the instances.

    AWhy this is right: Compute Optimizer uses the agent's memory metrics, and enhanced infrastructure metrics extend its lookback to three months, covering month-end peaks.

    BWhy not this: Detailed monitoring raises metric frequency but adds no guest memory metric.

    CWhy not this: Headroom adds CPU margin but gives Compute Optimizer neither memory data nor the month-end history.

    DWhy not this: CPU target tracking does not react to memory pressure, so instances could still run out of memory.

    By default Compute Optimizer analyzes 14 days of metrics and has no memory data for EC2 unless the CloudWatch agent publishes it. Publishing memory metrics lets it size for memory, and enhanced infrastructure metrics extend the lookback to up to three months (93 days), so a monthly peak is included.

    Open this question
  22. Question 22

    Cost-Optimized Architecture Design

    A versioned S3 bucket contains years of objects, but only existing objects under compliance/ need a second-Region copy; new objects under that prefix must also replicate automatically. There is no replication-time SLA. Which approach meets these requirements without replicating unrelated objects or purchasing an unnecessary timing guarantee?

    Show the answer

    Correct answerA. Enable prefix-filtered live Cross-Region Replication and use S3 Batch Replication for matching existing objects.

    AWhy this is right: Live replication covers future matching objects, and Batch Replication copies the selected historical objects.

    BWhy not this: Bucket-wide replication transfers unrelated objects; deleting them afterward does not reverse replication charges.

    CWhy not this: Batch Replication covers the existing selection, but inventory reports do not replicate future objects.

    DWhy not this: Live replication does not automatically backfill existing objects; Replication Time Control also adds an unnecessary timing commitment.

    Prefix-filtered live replication handles future objects, while S3 Batch Replication handles matching objects that already exist. S3 Replication Time Control adds a timing commitment and charges, but does not make a new live replication rule backfill historical objects.

    Open this question
  23. Question 23

    Cost-Optimized Architecture Design

    A DynamoDB global table has replicas in three Regions, but applications now use only two. Policy requires continuously replicated, writable copies in those two Regions only. Which change reduces ongoing replication costs while meeting the policy?

    Show the answer

    Correct answerA. Remove the global table replica in the unused Region.

    AWhy this is right: Removing the unused replica avoids its ongoing replication and storage costs while retaining the required replicas.

    BWhy not this: Eventually consistent reads can reduce read costs, but they do not eliminate replication to the unused Region.

    CWhy not this: Daily backups do not provide continuously replicated, writable copies.

    DWhy not this: Writes still replicate to every replica, regardless of which Region initially accepts them.

    Removing the unused replica eliminates its ongoing replica storage and replicated-write costs while preserving writable replicas in the required Regions. Routing writes through one Region does not stop those writes from being replicated to every remaining replica.

    Open this question
  24. Question 24

    Cost-Optimized Architecture Design

    A two-AZ application sends 10,000 GB monthly to CloudWatch Logs through AZ-local NAT gateways that must remain; interface endpoints cost $15 monthly plus $0.01/GB, versus $0.045/GB for NAT processing. Backend calls also cross AZs despite healthy local replicas; networking must remain AWS-managed and tolerate an AZ failure. Which changes reduce costs while preserving these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Prefer healthy AZ-local backend replicas, with cross-AZ fallback.D. Deploy CloudWatch Logs interface endpoints in both AZs and enable private DNS.

    AWhy this is right: Healthy local replicas avoid routine cross-AZ transfers; cross-AZ fallback preserves service during an AZ failure.

    BWhy not this: Self-managed NAT instances do not satisfy the AWS-managed networking requirement.

    CWhy not this: Transit Gateway adds processing charges and does not select AZ-local backend replicas.

    DWhy this is right: Endpoint charges total $115, below $450 in NAT processing, and endpoint interfaces in both AZs support AZ resilience.

    The interface endpoints cost $115 monthly instead of $450 in incremental NAT processing. AZ-local backend selection reduces cross-AZ transfer while retaining failover. NAT instances violate the managed-networking requirement, and a transit gateway adds processing charges without making backend selection AZ-aware.

    Open this question
  25. Question 25

    Cost-Optimized Architecture Design

    Two same-Region VPCs with nonoverlapping CIDRs exchange high-volume traffic through a transit gateway. They require direct bidirectional IP connectivity but no transitive routing or centralized inspection. Which change removes Transit Gateway processing charges for this traffic without adding hourly connection charges?

    Show the answer

    Correct answerD. Establish VPC peering and route the traffic over it.

    AWhy not this: A dedicated transit gateway still charges for attachments and data processing.

    BWhy not this: PrivateLink adds endpoint hourly and processing charges and does not provide general bidirectional VPC routing.

    CWhy not this: Changing attachment ownership does not eliminate Transit Gateway data processing charges.

    DWhy this is right: VPC peering has no hourly connection or processing fee, although applicable data transfer charges remain.

    VPC peering supports direct bidirectional connectivity without hourly peering or Transit Gateway processing charges; applicable data transfer charges remain. PrivateLink adds endpoint hourly and data processing charges and provides service-oriented connectivity rather than general bidirectional routing.

    Open this question
  26. Question 26

    Cost-Optimized Architecture Design

    An organization must identify existing supported resources that lack a CostCenter tag across member accounts, without changing resources or blocking deployments. Which solution meets these requirements?

    Show the answer

    Correct answerD. Deploy the AWS Config required-tags rule and aggregate compliance results.

    AWhy not this: Tag policies evaluate tags that are present; untagged resources are not evaluated for tag-policy compliance.

    BWhy not this: Activation makes a tag available for billing allocation; it does not evaluate resource tagging compliance.

    CWhy not this: An SCP controls future API requests; it does not inventory existing violations and would block affected deployments.

    DWhy this is right: The rule detects missing tags on supported resources, while aggregation centralizes results without changing resources.

    The AWS Config required-tags rule evaluates supported existing resources for required tags, and an aggregator centralizes compliance results. Tag policies standardize tags but do not identify untagged resources as noncompliant.

    Open this question
  27. Question 27

    Cost-Optimized Architecture Design

    Several teams run Amazon ECS tasks on shared EC2 instances. Finance needs task-level compute costs based on CPU and memory consumption for internal chargeback; which solution should a solutions architect choose?

    Show the answer

    Correct answerB. Enable split cost allocation data for ECS in AWS Cost and Usage Reports.

    AWhy not this: Budgets monitor spending against thresholds; they do not allocate shared instance costs to tasks.

    BWhy this is right: Split cost allocation data provides task-level allocation of shared ECS compute costs using CPU and memory consumption.

    CWhy not this: An equal allocation does not reflect individual tasks' CPU and memory consumption.

    DWhy not this: Instance tags cannot distinguish the consumption of multiple teams' tasks sharing an instance.

    Split cost allocation data attributes shared ECS compute costs to tasks using CPU and memory consumption. Cost category splits can distribute shared costs, but an equal split does not provide consumption-based task costs.

    Open this question
  28. Question 28

    Cost-Optimized Architecture Design

    For selected resource APIs that support tagging on creation, an organization must reject requests missing either CostCenter or Project and prevent subsequent removal of either tag. An approved remediation role must remain exempt, without receiving additional permissions; which SCP design meets these requirements?

    Show the answer

    Correct answerA. Use separate missing-tag denies and a tag-removal deny for the protected keys; exempt the remediation role from each.

    AWhy this is right: Separate denies cover either missing tag; removal protection and scoped exceptions preserve the required boundaries.

    BWhy not this: Restoring tags after removal is detective remediation, not prevention of removal.

    CWhy not this: An explicit deny still applies to the remediation role; an SCP allow cannot override it.

    DWhy not this: Requiring both tags to be absent allows creation when only one required tag is missing.

    Separate denies reject creation when either required tag is missing; a protected-key removal deny preserves the tags. Exempting the remediation role from those denies leaves its IAM permissions unchanged. An SCP allow cannot override an explicit deny.

    Open this question
  29. Question 29

    Cost-Optimized Architecture Design

    A finance team uses AWS Cost Explorer to compare monthly operating costs. Which cost metric should it select to spread Reserved Instance upfront fees across the reservation term instead of showing them when charged?

    Show the answer

    Correct answerC. Amortized cost

    AWhy not this: Usage quantity measures consumption, not the allocation of reservation fees over time.

    BWhy not this: Unblended cost does not spread reservation upfront fees across the reservation term.

    CWhy this is right: Amortized cost distributes reservation fees across the reservation term.

    DWhy not this: Blended cost uses averaged rates across an organization's accounts rather than amortizing reservation fees.

    Amortized cost spreads reservation upfront and recurring fees across the reservation term, supporting effective monthly cost comparisons. Unblended cost reflects charges without amortizing upfront fees.

    Open this question
  30. Question 30

    Cost-Optimized Architecture Design

    A DynamoDB table has predictable weekday traffic and almost no weekend traffic. Cost estimates favor provisioned capacity, and operations wants capacity to adjust automatically as utilization changes. Which configuration best meets these requirements?

    Show the answer

    Correct answerC. Provisioned capacity with read and write auto scaling

    AWhy not this: Fixed peak capacity incurs unnecessary provisioned-capacity charges during low-traffic periods.

    BWhy not this: Reserved capacity is a billing commitment, not a mechanism for automatically adjusting table capacity.

    CWhy this is right: Auto scaling adjusts provisioned capacity with utilization, matching the selected pricing model and operational requirement.

    DWhy not this: A throughput limit caps on-demand throughput; it does not implement the lower-cost provisioned model identified by the estimates.

    DynamoDB auto scaling adjusts provisioned read and write capacity toward target utilization, reducing idle capacity. Reserved capacity provides a pricing discount but does not itself adjust a table's provisioned capacity.

    Open this question
  31. Question 31

    Cost-Optimized Architecture Design

    An AWS Backup plan protects resources that support cold storage, and cost estimates favor cold storage for eligible recovery points. Daily recovery points must remain warm for 30 days and expire exactly 120 days after creation; which lifecycle configuration minimizes storage costs while meeting these requirements?

    Show the answer

    Correct answerB. Transition after 30 days; expire after 120 days

    AWhy not this: Only 60 days remain before expiration, short of AWS Backup's 90-day minimum cold-storage retention.

    BWhy this is right: This preserves 30 warm days, satisfies the 90-day cold-storage minimum, and expires recovery points at day 120.

    CWhy not this: Warm-only retention meets the timing requirements but misses the stated cold-storage savings.

    DWhy not this: Expiration at day 90 violates the required retention and leaves only 60 days in cold storage.

    Transitioning at day 30 and expiring at day 120 provides the required 30 warm days and the minimum 90 days in cold storage. Transitioning at day 60 leaves only 60 cold-storage days, violating the lifecycle minimum.

    Open this question
  32. Question 32

    Cost-Optimized Architecture Design

    An Aurora cluster's monthly Aurora Standard costs are $4,000 for instances, $400 for storage, and $2,000 for I/O. Aurora I/O-Optimized would increase instance charges by 30% and storage charges by 125%, and eliminate I/O charges; capacity must remain unchanged. Which configuration minimizes the monthly cost?

    Show the answer

    Correct answerC. Aurora I/O-Optimized with the current capacity

    AWhy not this: The total remains $6,400, which exceeds the $6,100 I/O-Optimized total.

    BWhy not this: Additional replicas increase instance costs and violate the unchanged-capacity requirement.

    CWhy this is right: The $1,200 instance premium and $500 storage premium are smaller than the $2,000 eliminated I/O charge, saving $300 monthly.

    DWhy not this: Additional replicas violate the capacity requirement and add unnecessary instance charges.

    Aurora I/O-Optimized costs $6,100: $5,200 for instances plus $900 for storage, compared with $6,400 for Aurora Standard. Keeping Aurora Standard avoids the instance and storage premiums but retains $2,000 in I/O charges.

    Open this question
  33. Question 33

    Cost-Optimized Architecture Design

    A company runs Amazon RDS for MySQL on db.r7g instances in one Region. Within the next year it plans to move these databases to Aurora PostgreSQL-Compatible Edition, some on Amazon Aurora serverless, and to shift part of the fleet to a second Region. It wants a commitment discount that keeps applying through these changes without buying new commitments. Which purchasing option should it choose?

    Show the answer

    Correct answerB. A one-year Database Savings Plan sized to the current hourly database spend

    AWhy not this: Reserved DB instances apply to one engine in one Region, so the discount stops when the databases move to Aurora or another Region.

    BWhy this is right: Database Savings Plans apply an hourly spend commitment across eligible engines, deployment types including serverless, and Regions.

    CWhy not this: Compute Savings Plans cover EC2, Fargate and Lambda usage, not RDS or Aurora databases.

    DWhy not this: Size flexibility only moves the discount between sizes of one instance family for the same engine and Region.

    Database Savings Plans are a one-year, hourly spend commitment that applies across eligible database services, engines, provisioned and serverless deployments, and Regions, so the discount follows the move to Aurora PostgreSQL and a second Region. RDS reserved DB instances can give a deeper discount for steady usage, but only for one engine in one Region.

    Open this question
  34. Question 34

    Cost-Optimized Architecture Design

    How does Amazon Bedrock charge for data transfer associated with its managed cross-Region inference?

    Show the answer

    Correct answerD. No additional data transfer charges apply.

    AWhy not this: Managed cross-Region inference does not require purchasing prepaid bandwidth.

    BWhy not this: Managed Bedrock cross-Region inference does not add standard inter-Region data transfer charges.

    CWhy not this: Output-token charges are inference charges, not separate data transfer charges.

    DWhy this is right: Bedrock does not impose additional data transfer charges for its managed cross-Region inference routing.

    Amazon Bedrock cross-Region inference has no additional data transfer charges for managed cross-Region routing. Standard inter-Region transfer pricing for moving data between your own resources should not be applied to this managed capability.

    Open this question
  35. Question 35

    Cost-Optimized Architecture Design

    A self-hosted inference workload can run locally for $900 monthly or remotely for $500; both meet latency requirements. Remote execution transfers 10,000 GB of inputs and 15,000 GB of outputs monthly at an effective $0.02/GB, with no other cost differences. Which routing decision minimizes total monthly cost?

    Show the answer

    Correct answerB. Use local inference; total cost is $900.

    AWhy not this: The $800 estimate includes output transfer but omits $200 for input transfer.

    BWhy this is right: Local inference costs $900, less than the remote total of $1,000 after input and output transfer.

    CWhy not this: The $700 estimate includes input transfer but omits $300 for output transfer.

    DWhy not this: The $500 estimate accounts for inference compute but omits all inter-Region transfer costs.

    Remote inference costs $500 plus $500 for 25,000 GB of transfer, totaling $1,000, so local inference at $900 is cheaper. Counting only input transfer gives $700 but overlooks the larger output volume.

    Open this question
  36. Question 36

    Cost-Optimized Architecture Design

    Ten VPCs access one AWS PrivateLink service through centralized interface endpoints and a transit gateway. Monthly endpoint charges are $20 per VPC, endpoint processing is $0.01/GB, and Transit Gateway processing adds $0.02/GB to 20,000 GB; all other costs remain unchanged. Which design has the lowest monthly cost?

    Show the answer

    Correct answerD. Deploy interface endpoints in each consumer VPC.

    AWhy not this: Centralization costs $620 monthly under the supplied rates, exceeding the distributed design's $400.

    BWhy not this: Splitting hubs increases endpoint charges without removing the stated Transit Gateway processing charges.

    CWhy not this: Additional attachments do not bypass Transit Gateway processing and cannot reduce the stated costs.

    DWhy this is right: Ten endpoint deployments cost $200 monthly plus $200 for processing and avoid $400 in Transit Gateway processing.

    Distributed endpoints cost $200 in endpoint charges plus $200 in processing, totaling $400. Centralized endpoints cost $20 plus $200 plus $400, totaling $620; their lower endpoint charges do not offset Transit Gateway processing.

    Open this question
  37. Question 37

    Cost-Optimized Architecture Design

    An application sends large images from an S3 bucket to its own inference endpoints in another Region and receives small labels. An identical endpoint in the bucket's Region has spare capacity and the same inference price; which change BEST reduces data transfer costs?

    Show the answer

    Correct answerB. Route inference to the endpoint in the bucket's Region.

    AWhy not this: Replication still transfers the images across Regions and adds storage and replication costs.

    BWhy this is right: Processing images in their source Region avoids moving the large inputs across Regions.

    CWhy not this: Private connectivity does not inherently remove charges for moving data between Regions.

    DWhy not this: Unique inference requests provide no reusable cached responses and still require inference.

    Routing to the existing endpoint near the source data avoids transferring the large images between Regions. Private connectivity changes the network path but does not inherently eliminate inter-Region data transfer charges.

    Open this question
  38. Question 38

    Cost-Optimized Architecture Design

    A department's monthly spending limit is $20,000. Finance wants an email when AWS predicts that month-end spending will exceed the limit, even if current spending remains below it. What should a solutions architect configure?

    Show the answer

    Correct answerD. A monthly cost budget with a forecasted-cost alert at 100%

    AWhy not this: An anomaly impact threshold measures unusual spending impact, not predicted spending against a monthly limit.

    BWhy not this: A Cost Explorer report supports analysis but does not configure a forecast-based budget notification.

    CWhy not this: An actual-cost alert waits for incurred spending to reach the threshold rather than evaluating predicted month-end spending.

    DWhy this is right: A forecasted-cost alert notifies finance when predicted monthly spending exceeds the budget.

    A forecasted-cost budget alert evaluates predicted spending against the budget threshold. An actual-cost alert evaluates costs already incurred and does not satisfy the requirement for advance warning.

    Open this question
  39. Question 39

    Cost-Optimized Architecture Design

    A finance team receives too many AWS Cost Anomaly Detection notifications for small services with large percentage increases and large services with small percentage increases. It wants notifications only when an anomaly's impact exceeds both $1,000 and 20%. Which configuration meets this requirement?

    Show the answer

    Correct answerA. Combine the dollar and percentage thresholds with an AND condition.

    AWhy this is right: An AND condition suppresses notifications unless both the dollar and percentage impact requirements are met.

    BWhy not this: Separate subscriptions can notify independently when only one threshold is exceeded.

    CWhy not this: An actual-cost budget evaluates spending against a budget, not anomaly impact against expected spending.

    DWhy not this: An OR condition permits notifications for anomalies that exceed only one threshold.

    An AND condition requires an anomaly to exceed both the absolute and percentage impact thresholds before notification. An OR condition still notifies when either threshold alone is exceeded, retaining the unwanted alerts.

    Open this question
  40. Question 40

    Cost-Optimized Architecture Design

    Finance must distribute shared platform costs among departments in proportion to their monthly direct costs and include the allocated amounts in a chargeback dataset derived from AWS Cost and Usage Reports. Which approach meets both requirements?

    Show the answer

    Correct answerB. Calculate proportional allocations in a downstream billing pipeline and write them to the chargeback dataset.

    AWhy not this: Resource tags identify ownership but do not divide a shared charge proportionally among departments.

    BWhy this is right: A downstream calculation can allocate shared costs using monthly direct-cost proportions and persist the results.

    CWhy not this: Split charge rules support proportional allocation, but their results are not included in Cost and Usage Reports.

    DWhy not this: Fixed percentages do not track changing direct-cost proportions, and split charge results are not available in Cost Explorer.

    A downstream billing pipeline can calculate proportional allocations and include them in the chargeback dataset. Cost category split charge results appear on the cost category details page, not in Cost and Usage Reports or AWS Cost Explorer.

    Open this question
  41. Question 41

    Cost-Optimized Architecture Design

    Which AWS Budgets feature can apply an IAM policy when a configured spending threshold is reached?

    Show the answer

    Correct answerA. Budget actions

    AWhy this is right: Budget actions support applying IAM policies in response to configured budget thresholds.

    BWhy not this: Anomaly monitors detect unusual spending rather than apply IAM policies at budget thresholds.

    CWhy not this: Cost allocation tags identify and group attributable spending rather than execute threshold-based actions.

    DWhy not this: Cost categories group costs for allocation and reporting rather than applying IAM policies.

    AWS Budgets actions can apply an IAM policy when a budget threshold is reached. Anomaly monitors detect unexpected spending patterns; they do not apply IAM policies as budget-threshold responses.

    Open this question
  42. Question 42

    Cost-Optimized Architecture Design

    An application sends logs through the CloudWatch agent, but its DEBUG messages have no operational or compliance value. Which change reduces CloudWatch Logs ingestion charges while preserving all other messages?

    Show the answer

    Correct answerB. Configure an agent-side exclusion filter for DEBUG messages.

    AWhy not this: Subscription filtering controls forwarding after ingestion, so the original ingestion charges remain.

    BWhy this is right: Filtering in the agent prevents unwanted messages from being sent to CloudWatch Logs.

    CWhy not this: Query filtering changes query results rather than preventing log ingestion.

    DWhy not this: Shorter retention reduces stored data, not the volume ingested, and also removes other messages sooner.

    Agent-side filtering removes unwanted messages before CloudWatch Logs ingests them. Subscription filters act on events that have already been ingested, so they do not avoid the original ingestion charges.

    Open this question
  43. Question 43

    Cost-Optimized Architecture Design

    A company uses AWS Backup for Amazon EFS and requires daily recovery points for 35 days and monthly recovery points for 365 days. Recovery points must remain warm for 35 days, but older points can use cold storage with longer restores; which policy minimizes storage costs while meeting AWS Backup lifecycle constraints?

    Show the answer

    Correct answerB. Retain daily points warm for 35 days; retain monthly points for 365 days, transitioning them to cold storage after 35 days.

    AWhy not this: Transitioning after 30 days violates the warm-storage requirement; deleting daily points at day 35 also violates cold-storage minimum retention.

    BWhy this is right: Daily points expire while warm, and monthly points transition only after the warm requirement, with sufficient cold-storage retention.

    CWhy not this: Keeping every daily recovery point for a year retains substantially more recovery points than required.

    DWhy not this: Keeping year-long monthly recovery points warm for their entire retention period forgoes available cold-storage savings.

    Separate retention schedules avoid keeping unnecessary daily points, while monthly points can spend more than the required 90 days in cold storage. Transitioning after 30 days violates the 35-day warm requirement and leaves daily points short of the cold-storage minimum.

    Open this question
  44. Question 44

    Cost-Optimized Architecture Design

    An application uses CloudWatch embedded metric format to publish latency with Service, Operation, and RequestId dimensions, creating millions of custom metrics. Operators need service-operation latency alarms and request-level log searches; which change reduces metric costs while preserving both capabilities?

    Show the answer

    Correct answerC. Use Service and Operation as dimensions; retain RequestId only as a log field.

    AWhy not this: Changing resolution does not remove the distinct metric identities created by unique RequestId values.

    BWhy not this: Removing RequestId from logs loses request-level searches and does not provide the required dimension redesign.

    CWhy this is right: Service-operation dimensions support aggregate alarms, while an ordinary RequestId log field supports request searches.

    DWhy not this: Log retention affects log storage, not the number of custom metrics created by dimension combinations.

    Each unique dimension combination creates a separate metric, so removing RequestId from dimensions reduces cardinality while preserving request searches in logs. Standard-resolution publishing does not eliminate the distinct metrics created by request identifiers.

    Open this question
  45. Question 45

    Cost-Optimized Architecture Design

    Which CloudWatch Logs setting automatically expires older log events to reduce ongoing storage costs?

    Show the answer

    Correct answerC. Retention period

    AWhy not this: A data protection policy detects and masks sensitive data rather than setting log retention.

    BWhy not this: A subscription filter forwards matching log events; it does not set their expiration.

    CWhy this is right: A retention period controls how long log events are kept before automatic expiration.

    DWhy not this: A metric filter extracts metric observations from matching log events rather than expiring them.

    A retention period makes older log events eligible for automatic deletion, limiting ongoing storage. A subscription filter forwards log events to another destination rather than controlling their expiration.

    Open this question