Curated

Design Cost-Optimized Architectures 1 (4.1–4.3)

0 votes

Questions50

  1. Question 1

    Design Cost-Optimized Architectures

    A company shares S3 datasets with authenticated customers in other AWS accounts. The company must retain ownership and pay for storage, while customers pay for downloads. Which configuration meets these requirements?

    Show the answer

    Correct answerB. Enable S3 Requester Pays on the bucket.

    AWhy not this: S3 Standard-IA changes storage and retrieval pricing, not which account pays for downloads.

    BWhy this is right: Requester Pays assigns request and download charges to authenticated requesters while leaving storage charges with the owner.

    CWhy not this: Presigned URLs provide temporary authorized access but do not make recipients responsible for download charges.

    DWhy not this: Transfer Acceleration speeds up long-distance transfers but does not shift download charges to customers.

    S3 Requester Pays charges the requester for requests and data transfer while the bucket owner continues paying for storage. Presigned URLs grant temporary access but do not shift download charges to the recipient.

    Open this question
  2. Question 2

    Design Cost-Optimized Architectures

    Which AWS feature combines charges from multiple AWS accounts into one bill?

    Show the answer

    Correct answerB. AWS Organizations consolidated billing

    AWhy not this: Budget reports deliver budget information but do not combine account charges into one bill.

    BWhy this is right: Consolidated billing lets the management account pay a single bill covering the organization's member accounts.

    CWhy not this: Cost categories group costs for analysis rather than consolidate payment across accounts.

    DWhy not this: Cost allocation tags categorize resource costs for reporting rather than combine bills from different accounts.

    AWS Organizations consolidated billing combines charges for member accounts into a bill paid by the management account. Cost allocation tags classify spending but do not consolidate account bills.

    Open this question
  3. Question 3

    Design Cost-Optimized Architectures

    A finance team must retain hourly, resource-level storage billing records for several years and join individual billing line items with internal accounting data using SQL. Which solution best meets these requirements?

    Show the answer

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

    AWhy not this: Pricing Calculator produces estimates, not records of actual resource usage and billed charges.

    BWhy not this: Budget reports summarize budget performance rather than expose resource-level billing line items for SQL joins.

    CWhy not this: Cost Explorer views and chart downloads do not provide the required long-term, hourly billing-line-item dataset.

    DWhy this is right: Reports configured for hourly granularity and resource IDs provide billing records that Athena can join with accounting data.

    AWS Cost and Usage Reports can deliver hourly billing line items with resource IDs to S3 for long-term retention and SQL analysis with Athena. Cost Explorer supports interactive analysis, but its chart exports do not replace a durable, detailed billing dataset.

    Open this question
  4. Question 4

    Design Cost-Optimized Architectures

    A company has predictable hourly compute spending but will move some EC2 workloads to AWS Lambda and change AWS Regions during the next year. Which purchasing option provides discounts across these changes?

    Show the answer

    Correct answerB. Compute Savings Plans

    AWhy not this: Standard Reserved Instances discount matching EC2 usage, not Lambda usage.

    BWhy this is right: Compute Savings Plans cover eligible EC2 and Lambda usage across Regions under an hourly spending commitment.

    CWhy not this: Spot Instances offer interruptible EC2 capacity rather than discounts that extend to Lambda.

    DWhy not this: EC2 Instance Savings Plans are tied to an instance family and Region and do not cover Lambda usage.

    Compute Savings Plans apply to eligible EC2, AWS Lambda, and AWS Fargate usage across Regions in exchange for a spending commitment. EC2 Instance Savings Plans are restricted to an instance family in a selected Region and do not cover Lambda.

    Open this question
  5. Question 5

    Design Cost-Optimized Architectures

    Which feature lets a company group EC2 costs by department using metadata assigned to its instances?

    Show the answer

    Correct answerB. Cost allocation tags

    AWhy not this: Savings Plans discount eligible usage in exchange for a spending commitment rather than categorize costs.

    BWhy this is right: Activated cost allocation tags allow billing reports to group resource costs by department metadata.

    CWhy not this: EC2 Auto Scaling adjusts instance capacity rather than categorizing costs.

    DWhy not this: Consolidated billing combines charges across AWS accounts rather than grouping instances by resource metadata.

    Cost allocation tags let a company categorize costs using resource metadata such as department names. Consolidated billing combines charges across accounts but does not itself categorize instances by their department metadata.

    Open this question
  6. Question 6

    Design Cost-Optimized Architectures

    A finance team needs hourly, resource-level EC2 billing records retained in Amazon S3 and joined with internal accounting data through SQL. Which solution BEST meets these requirements?

    Show the answer

    Correct answerA. AWS Cost and Usage Report with Amazon Athena

    AWhy this is right: A report configured for hourly granularity and resource IDs supports S3 retention and Athena SQL joins.

    BWhy not this: Compute Optimizer exports rightsizing recommendations, not comprehensive hourly billing records.

    CWhy not this: AWS Budgets tracks thresholds and sends notifications rather than providing detailed billing records for SQL analysis.

    DWhy not this: Saved Cost Explorer reports do not deliver the required resource-level billing dataset to S3 for SQL joins.

    AWS Cost and Usage Report can deliver hourly billing data with resource IDs to Amazon S3 for SQL analysis using Athena. Cost Explorer supports interactive cost analysis but saved reports do not provide the required S3-based billing dataset.

    Open this question
  7. Question 7

    Design Cost-Optimized Architectures

    An application runs independent worker-and-cache pairs across two Availability Zones for resilience, but each worker frequently accesses a cache in the other zone. Which change reduces transfer costs while preserving resilience across zones?

    Show the answer

    Correct answerB. Route each worker to a cache in its own Availability Zone

    AWhy not this: A single-zone deployment would no longer preserve resilience across Availability Zones.

    BWhy this is right: Local worker-to-cache communication avoids cross-AZ traffic while pairs remain deployed across both zones.

    CWhy not this: Cross-Region communication introduces inter-Region transfer costs and greater latency.

    DWhy not this: Public IP addressing does not eliminate transfer charges caused by crossing Availability Zone boundaries.

    Keeping each worker's cache traffic within its Availability Zone avoids cross-AZ transfer charges while retaining pairs in both zones. Moving everything into one zone also reduces cross-AZ traffic but removes the required resilience.

    Open this question
  8. Question 8

    Design Cost-Optimized Architectures

    An application stores 600 GiB on an Amazon EBS volume, and its data is expected to grow by 25% over the next year. Which volume size is the smallest listed that will leave at least 20% of provisioned capacity free after that growth?

    Show the answer

    Correct answerB. 1,000 GiB

    AWhy not this: 800 GiB leaves only 6.25% of provisioned capacity free after growth.

    BWhy this is right: 1,000 GiB leaves 250 GiB free, satisfying the requirement with the smallest listed size.

    CWhy not this: 750 GiB accommodates the expected data but leaves no free capacity.

    DWhy not this: 1,200 GiB satisfies the free-space requirement but provisions more capacity than necessary.

    Expected data size is 600 × 1.25 = 750 GiB. Keeping 20% of provisioned capacity free requires at least 750 ÷ 0.8 = 937.5 GiB, making 1,000 GiB the smallest listed size; 800 GiB leaves only 50 GiB free.

    Open this question
  9. Question 9

    Design Cost-Optimized Architectures

    An Amazon RDS for PostgreSQL database has stable CPU utilization but unpredictable, sustained data growth that has repeatedly exhausted free storage. The company wants to avoid provisioning months of unused capacity while enforcing a configured storage growth ceiling; which approach BEST meets these requirements?

    Show the answer

    Correct answerD. Enable RDS storage autoscaling with a maximum storage threshold.

    AWhy not this: A larger instance class adds compute and memory rather than increasing allocated database storage.

    BWhy not this: A read replica provides read capacity but does not expand the primary database's allocated storage.

    CWhy not this: Monthly increases do not reliably accommodate unpredictable growth and can provision unused capacity.

    DWhy this is right: Storage autoscaling responds to low free storage and limits automatic growth to the configured maximum.

    RDS storage autoscaling increases allocated storage as needed, subject to a configured maximum storage threshold. Scheduled increases assume predictable growth and can either waste capacity or occur too late; changing the instance class does not increase allocated storage.

    Open this question
  10. Question 10

    Design Cost-Optimized Architectures

    An application produces millions of 2 KB records daily, and S3 PUT request charges dominate ingestion costs. Records are processed together hourly and never retrieved individually; what is the MOST cost-effective upload strategy?

    Show the answer

    Correct answerD. Combine records into larger objects before uploading.

    AWhy not this: Multipart upload does not combine independent records and adds requests rather than reducing them.

    BWhy not this: Individual uploads retain the high number of billable PUT requests.

    CWhy not this: Intelligent-Tiering changes storage placement, not the number of requests used to upload individual records.

    DWhy this is right: Combining records reduces PUT request counts while preserving the required hourly processing pattern.

    Combining records reduces the number of billable PUT requests and fits hourly processing without individual retrieval. S3 Intelligent-Tiering can optimize storage charges, but uploading records individually does not reduce PUT request counts.

    Open this question
  11. Question 11

    Design Cost-Optimized Architectures

    A versioned S3 bucket must expire current objects after 90 days and permanently delete versions 30 days after they become noncurrent. Incomplete multipart uploads must also be removed after seven days; which S3 Lifecycle actions should be configured? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Permanently delete noncurrent versions after 30 days.C. Abort incomplete multipart uploads after seven days.E. Expire current versions after 90 days.

    AWhy this is right: Noncurrent-version expiration permanently deletes versions after the specified time as noncurrent.

    BWhy not this: Expired delete marker cleanup does not remove parts from incomplete multipart uploads.

    CWhy this is right: Aborting incomplete multipart uploads removes their stored parts after the configured initiation age.

    DWhy not this: Transitioning noncurrent versions changes their storage class rather than permanently deleting them.

    EWhy this is right: Current-version expiration applies the required 90-day expiration policy in the versioned bucket.

    Current-version expiration adds a delete marker in a versioned bucket; noncurrent-version expiration permanently deletes older versions. Aborting incomplete multipart uploads removes abandoned parts, whereas deleting expired delete markers does not clean up multipart uploads.

    Open this question
  12. Question 12

    Design Cost-Optimized Architectures

    A company uploads about 50 TB a month from its data center to Amazon S3. Its internet connection has enough spare bandwidth, and the uploads are not time-sensitive. Which approach has the lowest data transfer cost?

    Show the answer

    Correct answerC. Upload directly to Amazon S3 over the internet connection

    AWhy not this: Transfer Acceleration adds a per-GB charge to speed up uploads that are not time-sensitive here.

    BWhy not this: Direct Connect inbound transfer is free too, but its port-hour charges make it cost more than the existing connection.

    CWhy this is right: Data transferred into S3 from the internet has no transfer charge, and the connection already has enough bandwidth.

    DWhy not this: A VPN adds hourly connection charges and still carries the data over the internet.

    AWS does not charge for data transferred into Amazon S3 from the internet, so uploading over the existing connection adds only request charges. Transfer Acceleration adds a per-GB charge, and Direct Connect and Site-to-Site VPN add port-hour or connection-hour charges.

    Open this question
  13. Question 13

    Design Cost-Optimized Architectures

    A company processes a few dozen Amazon S3 uploads each day, with hours between uploads. Each processing task takes 20 seconds and requires no persistent local state; which compute option avoids idle compute charges and minimizes infrastructure management?

    Show the answer

    Correct answerB. An AWS Lambda function invoked by S3 events

    AWhy not this: A minimum capacity of one keeps an EC2 instance running and billable between uploads.

    BWhy this is right: Lambda runs in response to upload events without maintaining idle compute capacity.

    CWhy not this: A continuously running Fargate task incurs charges even when no files need processing.

    DWhy not this: An always-running EC2 instance incurs idle charges and requires instance management.

    AWS Lambda fits short, event-driven processing and has no idle compute charges between invocations. AWS Fargate removes server management, but a continuously running task still incurs charges while waiting for uploads.

    Open this question
  14. Question 14

    Design Cost-Optimized Architectures

    An EC2 Auto Scaling group experiences an immediate traffic surge at 09:00 every weekday, and new instances require eight minutes to become ready. Which strategy meets demand from the start of the surge while minimizing capacity costs outside the busy period?

    Show the answer

    Correct answerA. Schedule increased capacity before 09:00 and reduced capacity after the busy period.

    AWhy this is right: Scaling early accommodates startup time, while scaling in afterward avoids paying for unused peak capacity.

    BWhy not this: Starting instances when the surge begins leaves an eight-minute capacity shortfall.

    CWhy not this: Reactive CPU scaling cannot prepare capacity before an immediate surge; warmup does not eliminate startup time.

    DWhy not this: Maintaining peak capacity meets demand but wastes capacity during quieter periods.

    Scheduled scaling can provision capacity before a known surge and reduce it afterward. CPU target tracking reacts to utilization after demand arrives; an instance warmup setting does not make new instances ready before the surge.

    Open this question
  15. Question 15

    Design Cost-Optimized Architectures

    A company runs several HTTP services on Amazon EC2 and currently pays for a separate load balancer for each service. Which strategy consolidates the load balancers while routing requests to services by URL path?

    Show the answer

    Correct answerA. Use one Application Load Balancer with path-based rules.

    AWhy this is right: Path-based rules route HTTP requests to separate target groups through a shared Application Load Balancer.

    BWhy not this: TCP listeners cannot inspect URL paths to select the appropriate service.

    CWhy not this: Gateway Load Balancer distributes traffic to virtual network appliances, not HTTP services by URL path.

    DWhy not this: TLS termination does not give a Network Load Balancer HTTP path-based routing capabilities.

    An Application Load Balancer can route requests to different target groups by URL path, allowing HTTP services to share a load balancer. A Network Load Balancer handles transport-layer traffic and cannot select targets by URL path, even with TLS listeners.

    Open this question
  16. Question 16

    Design Cost-Optimized Architectures

    An Amazon RDS for PostgreSQL database requires point-in-time recovery for the previous seven days and one recoverable month-end copy for seven years. Older copies need only support full database restoration. Which retention policy minimizes unnecessary backup storage?

    Show the answer

    Correct answerB. Retain automated backups for seven days and retain month-end manual snapshots for seven years.

    AWhy not this: Manual snapshots do not inherit automated backup expiration, and deleting month-end copies would violate retention requirements.

    BWhy this is right: This matches the seven-day point-in-time recovery window and preserves only the required long-term recovery points.

    CWhy not this: Monthly snapshots alone cannot provide point-in-time recovery throughout the previous seven days.

    DWhy not this: A longer automated recovery window and daily long-term recovery points retain more backup data than required.

    Seven-day automated backup retention provides the required point-in-time recovery, while retained month-end snapshots provide long-term full restores. Manual snapshots do not expire with automated backups; retaining daily snapshots for seven years exceeds the stated requirements.

    Open this question
  17. Question 17

    Design Cost-Optimized Architectures

    A database team wants an email notification when forecasted monthly Amazon RDS spending exceeds its spending limit. Which AWS tool should the team configure?

    Show the answer

    Correct answerC. AWS Budgets

    AWhy not this: Cost Explorer analyzes historical and forecasted costs but does not configure budget threshold notifications.

    BWhy not this: CloudWatch billing alarms monitor estimated accrued charges, not forecasted monthly budget overruns.

    CWhy this is right: A cost budget filtered to Amazon RDS can send email notifications when forecasted spending exceeds its threshold.

    DWhy not this: The Cost and Usage Report supplies detailed billing data rather than managed forecast-based budget alerts.

    AWS Budgets supports notifications when forecasted costs exceed a configured threshold, with filters such as service. AWS Cost Explorer can display cost forecasts, but budget threshold notifications are configured through AWS Budgets.

    Open this question
  18. Question 18

    Design Cost-Optimized Architectures

    A company uses AWS Organizations consolidated billing, and each member account runs Amazon RDS databases for several applications. Finance needs future database charges grouped by application across accounts without moving databases or changing account boundaries. Which approach meets these requirements?

    Show the answer

    Correct answerD. Apply an Application tag to databases and activate it as a cost allocation tag in the management account.

    AWhy not this: Account totals cannot separate application charges when multiple applications share each account.

    BWhy not this: Organizational units group accounts, not individual databases belonging to different applications within an account.

    CWhy not this: The organization's management account, rather than each member account, activates user-defined cost allocation tags.

    DWhy this is right: Consistent resource tags activated by the management account enable application-level cost allocation across member accounts.

    An activated user-defined cost allocation tag supports grouping tagged database charges by application across accounts. For an organization, the management account activates these tags; tagging resources alone or configuring member-account budgets does not provide application-level allocation.

    Open this question
  19. Question 19

    Design Cost-Optimized Architectures

    Which caching strategy loads data into a cache only after an application requests it and encounters a cache miss?

    Show the answer

    Correct answerC. Lazy loading

    AWhy not this: Scheduled prewarming loads data before requests rather than in response to cache misses.

    BWhy not this: Write-through caching updates the cache during writes rather than waiting for a read miss.

    CWhy this is right: Lazy loading fetches requested data from the database after a miss and then caches it.

    DWhy not this: Write-behind caching accepts writes into a cache and asynchronously persists them to the database.

    Lazy loading populates the cache on demand after a cache miss, avoiding caching data that is never requested. Write-through caching populates or updates the cache when data is written instead.

    Open this question
  20. Question 20

    Design Cost-Optimized Architectures

    An RDS database needs only seven days of recovery history. Which changes reduce unnecessary backup storage while meeting this requirement? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Reduce automated backup retention from 35 days to seven days.C. Delete manual snapshots that are older than seven days.

    AWhy this is right: Seven-day retention preserves the required recovery history without retaining unnecessary older automated backups.

    BWhy not this: Multi-AZ replicates current changes and does not replace historical backups.

    CWhy this is right: Manual snapshots persist until deleted; snapshots beyond the required history can consume unnecessary storage.

    DWhy not this: Keeping only the latest snapshot does not preserve seven days of recovery history.

    Seven-day automated backup retention meets the recovery requirement, and deleting older manual snapshots removes unnecessary retained data. Multi-AZ provides availability, not historical recovery.

    Open this question
  21. Question 21

    Design Cost-Optimized Architectures

    A retailer retains years of wide sales records, loads them nightly, and runs joins and aggregates that read only a few columns across billions of rows. Occasional individual-record lookups can take seconds; which database design BEST reduces analytical processing costs?

    Show the answer

    Correct answerA. A columnar warehouse with compressed analytical storage

    AWhy this is right: Column pruning and compression reduce I/O for large analytical scans, while nightly loads suit a warehouse.

    BWhy not this: Key-value storage favors key lookups rather than joins and aggregates across billions of records.

    CWhy not this: Graph storage optimizes relationship traversal, not large-scale aggregation of selected sales columns.

    DWhy not this: Row storage and numerous indexes add overhead for broad analytical scans, despite helping individual-record queries.

    Columnar storage reads only the needed columns and compresses similar values efficiently, reducing analytical I/O. A row-oriented database favors individual-record access, but indexing many columns adds overhead without matching columnar efficiency for large scans.

    Open this question
  22. Question 22

    Design Cost-Optimized Architectures

    A company is replacing a commercially licensed relational database to reduce costs. Its redesigned application requires SQL joins and the PostGIS extension for indexed geographic queries; which managed engine meets these needs without proprietary database license charges?

    Show the answer

    Correct answerC. Amazon RDS for PostgreSQL

    AWhy not this: MariaDB supports relational and spatial workloads but cannot run PostGIS.

    BWhy not this: Oracle uses a proprietary database license model and does not run PostGIS.

    CWhy this is right: PostgreSQL supports the required PostGIS extension without proprietary database license charges.

    DWhy not this: MySQL has spatial capabilities but does not support the PostGIS extension.

    RDS for PostgreSQL supports PostGIS and does not require proprietary database licenses. MySQL supports spatial features, but it cannot run the required PostgreSQL extension.

    Open this question
  23. Question 23

    Design Cost-Optimized Architectures

    An application stores shopping carts accessed only by customer ID and needs millisecond responses. Traffic has unpredictable spikes separated by long idle periods; which option minimizes idle capacity costs and capacity management?

    Show the answer

    Correct answerB. Amazon DynamoDB with on-demand capacity

    AWhy not this: Fixed provisioned capacity requires sizing for traffic and incurs capacity charges while idle.

    BWhy this is right: On-demand capacity handles unpredictable key-based traffic without paying for idle provisioned throughput.

    CWhy not this: Multi-AZ improves relational database availability but retains instance costs during idle periods.

    DWhy not this: Read replicas add instance costs and are unnecessary for this simple key-based access pattern.

    DynamoDB on-demand suits key-based access and unpredictable traffic, charging for requests without provisioned throughput capacity. Fixed provisioned capacity incurs capacity charges during idle periods and requires planning for spikes.

    Open this question
  24. Question 24

    Design Cost-Optimized Architectures

    Which AWS tool assesses and converts an Oracle database schema for migration to Amazon RDS for PostgreSQL?

    Show the answer

    Correct answerC. AWS Schema Conversion Tool

    AWhy not this: Snapshot export writes snapshot data to Amazon S3; it does not convert Oracle schemas to PostgreSQL.

    BWhy not this: A DMS replication instance runs data migration tasks rather than full heterogeneous schema conversion.

    CWhy this is right: AWS SCT assesses conversion complexity and converts supported schema objects between different database engines.

    DWhy not this: A restore job recovers backup data but does not translate schemas between database engines.

    AWS Schema Conversion Tool assesses heterogeneous migration compatibility and converts supported schema objects. AWS DMS replication moves data and ongoing changes but does not perform full heterogeneous schema and application-code conversion.

    Open this question
  25. Question 25

    Design Cost-Optimized Architectures

    An S3 workload stores 10 MB objects that are frequently accessed for 30 days, then rarely accessed until deletion at day 60. Access must remain in milliseconds with multi-AZ resilience; which lifecycle policy reduces storage costs without incurring early-deletion charges?

    Show the answer

    Correct answerC. Transition to S3 Standard-IA at day 30; expire at day 60.

    AWhy not this: One Zone-IA stores data in one Availability Zone and does not meet the multi-AZ resilience requirement.

    BWhy not this: Glacier Instant Retrieval has a 90-day minimum storage duration; deletion after 30 days in that class incurs additional charges.

    CWhy this is right: The objects spend 30 days in Standard-IA, satisfying its minimum duration while preserving millisecond access and multi-AZ resilience.

    DWhy not this: Objects spend only 15 days in Standard-IA, resulting in charges for the remaining minimum storage duration.

    S3 Standard-IA provides millisecond access and multi-AZ resilience, and days 30–60 satisfy its 30-day minimum storage duration. S3 Glacier Instant Retrieval also provides millisecond access but has a 90-day minimum, causing early-deletion charges here.

    Open this question
  26. Question 26

    Design Cost-Optimized Architectures

    Which Amazon EBS volume types use solid state drives? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Provisioned IOPS SSD (io2)C. General Purpose SSD (gp3)D. General Purpose SSD (gp2)

    AWhy not this: Throughput Optimized HDD st1 volumes use hard disk drives.

    BWhy this is right: Provisioned IOPS SSD io2 volumes use solid state drives.

    CWhy this is right: General Purpose SSD gp3 volumes use solid state drives.

    DWhy this is right: General Purpose SSD gp2 volumes use solid state drives.

    EWhy not this: Cold HDD sc1 volumes use hard disk drives.

    The gp3, io2, and gp2 volume types use SSDs. The st1 and sc1 volume types use HDDs and target throughput-oriented workloads rather than low-latency random I/O.

    Open this question
  27. Question 27

    Design Cost-Optimized Architectures

    Linux servers and Windows servers must read and write the same files at the same time, the Linux servers over NFS and the Windows servers over SMB. The company wants one managed copy of the data rather than paying to store and sync two copies. Which storage service meets these requirements?

    Show the answer

    Correct answerD. Amazon FSx for NetApp ONTAP

    AWhy not this: EFS provides NFS access only, so the Windows servers would not have native SMB access.

    BWhy not this: FSx for Windows File Server is built for SMB shares, not for shared NFS access from Linux servers.

    CWhy not this: FSx for Lustre uses the Lustre client for high-performance computing, not NFS and SMB shares.

    DWhy this is right: FSx for NetApp ONTAP serves the same data over NFS and SMB from one managed file system.

    Amazon FSx for NetApp ONTAP serves the same volumes over both NFS and SMB, so one managed copy of the data meets both groups of servers. Amazon EFS serves only NFS and FSx for Windows File Server is built for SMB, so either one would leave one group without native access.

    Open this question
  28. Question 28

    Design Cost-Optimized Architectures

    A company takes daily Amazon EBS snapshots and retains them for 30 days. An administrator wants to delete expired snapshots to reduce costs; what happens to retained snapshots that share data with the deleted snapshots?

    Show the answer

    Correct answerC. They remain restorable because needed blocks are preserved.

    AWhy not this: Cross-Region copying is not required to safely delete expired snapshots.

    BWhy not this: EBS preserves shared blocks while retained snapshots still reference them.

    CWhy this is right: Deleting a snapshot removes only data that no retained snapshot needs.

    DWhy not this: Retained snapshots can restore volumes without creating a replacement full snapshot.

    EBS preserves blocks needed by retained snapshots, so deleting an older snapshot does not prevent restoration. Although snapshots are incremental, they do not require users to maintain a manually managed backup chain.

    Open this question
  29. Question 29

    Design Cost-Optimized Architectures

    An x86 application needs 64 GiB of memory but only 8 vCPUs, and its software licensing cost increases with provisioned vCPUs. Which EC2 instance family best meets these requirements without overprovisioning CPU or memory?

    Show the answer

    Correct answerD. R6i memory optimized

    AWhy not this: X2iedn targets much higher memory-to-vCPU ratios and would overprovision memory for this workload.

    BWhy not this: M6i needs 16 vCPUs to provide 64 GiB, increasing per-vCPU licensing costs.

    CWhy not this: C6i needs 32 vCPUs to provide 64 GiB, substantially overprovisioning CPU.

    DWhy this is right: R6i provides an 8-vCPU, 64-GiB configuration that matches both resource requirements.

    R6i provides 8 GiB per vCPU, matching 64 GiB with 8 vCPUs. M6i provides 4 GiB per vCPU, so meeting the memory requirement would require additional vCPUs and increase licensing costs; X2iedn provides substantially more memory per vCPU than needed.

    Open this question
  30. Question 30

    Design Cost-Optimized Architectures

    An application runs on an m6i.2xlarge instance with 8 vCPUs and 32 GiB of memory; representative peak demand is 2 vCPUs and 10 GiB, with negligible network and EBS utilization. Which actions support reducing instance cost while retaining capacity headroom? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Select m6i.xlarge with 4 vCPUs and 16 GiB.B. Validate the smaller size under representative peak load.

    AWhy this is right: Its 4 vCPUs and 16 GiB accommodate observed peaks with headroom at a smaller instance size.

    BWhy this is right: Representative peak-load testing checks that the smaller instance preserves required application performance.

    CWhy not this: A larger instance increases cost and capacity despite evidence that the current instance is oversized.

    DWhy not this: Average CPU utilization hides peaks and ignores the application's memory requirement.

    EWhy not this: Its 8 GiB of memory is below observed peak demand, and its CPU capacity leaves no headroom.

    The m6i.xlarge accommodates measured peak CPU and memory demand with headroom, and load testing validates performance before adoption. The m6i.large costs less but cannot accommodate the observed 10-GiB memory requirement.

    Open this question
  31. Question 31

    Design Cost-Optimized Architectures

    A development application tolerates Availability Zone outages and needs no automatic failover. Which deployment meets these requirements at the lowest compute cost?

    Show the answer

    Correct answerC. One EC2 instance in one Availability Zone

    AWhy not this: Multi-AZ redundancy adds compute cost for availability the application does not require.

    BWhy not this: Multi-Region redundancy adds compute cost for resilience beyond the application's requirements.

    CWhy this is right: A single instance avoids redundant compute costs when outages and manual recovery are acceptable.

    DWhy not this: A second instance adds compute cost without protecting against an Availability Zone outage.

    A single instance meets the stated availability requirements without paying for redundant compute. Multi-AZ deployment provides resilience that this development application does not require.

    Open this question
  32. Question 32

    Design Cost-Optimized Architectures

    Which benefits can processing sensor data at the edge provide compared with sending all raw data to an AWS Region? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Reduced response latency for local decisionsC. Lower bandwidth usage on the WAN connection

    AWhy not this: Local processing does not change the availability of services in an AWS Region.

    BWhy this is right: Processing near the data source avoids a regional round trip for local decisions.

    CWhy this is right: Filtering or aggregating data locally reduces the amount transmitted over the WAN.

    DWhy not this: Edge processing requires compute resources near the data source.

    EWhy not this: Compute discounts depend on purchasing arrangements, not the location of sensor processing.

    Edge processing supports local decisions and can filter or aggregate data before transmission, reducing latency and WAN traffic. It does not guarantee regional service availability or eliminate the local resources that perform processing.

    Open this question
  33. Question 33

    Design Cost-Optimized Architectures

    An EC2 application maintains a large in-memory dataset and frequently swaps to disk while CPU utilization remains low. Which instance family category should a solutions architect evaluate first to improve price-performance?

    Show the answer

    Correct answerA. Memory optimized

    AWhy this is right: A high memory-to-vCPU ratio fits a large in-memory dataset with low CPU demand.

    BWhy not this: Hardware accelerators address specialized computation rather than a general RAM shortage.

    CWhy not this: Faster local storage may help disk operations but does not address the shortage of memory.

    DWhy not this: Additional CPU capacity does not address a workload whose main constraint is insufficient RAM.

    Memory optimized instances provide a high memory-to-vCPU ratio, addressing the RAM shortage without unnecessarily increasing CPU capacity. Storage optimized instances improve local storage performance but do not resolve insufficient memory for the working dataset.

    Open this question
  34. Question 34

    Design Cost-Optimized Architectures

    A manufacturer must run EC2 workloads inside its factory because control systems require submillisecond access to local equipment. It wants AWS-managed hardware and the same AWS APIs used in its Region; which deployment meets these requirements?

    Show the answer

    Correct answerC. An AWS Outposts rack in the factory

    AWhy not this: Direct Connect provides private connectivity but leaves the compute in the Region.

    BWhy not this: A Local Zone is AWS infrastructure outside the factory and does not satisfy the on-premises placement requirement.

    CWhy this is right: An Outposts rack places AWS-managed compute inside the factory and supports familiar AWS APIs.

    DWhy not this: Wavelength places compute in carrier networks rather than inside the customer's factory.

    AWS Outposts provides AWS-managed infrastructure on premises with familiar AWS APIs. A Local Zone brings infrastructure closer to a metropolitan area but does not place it inside the factory.

    Open this question
  35. Question 35

    Design Cost-Optimized Architectures

    Which EC2 capability preserves RAM contents while pausing an instance so an application can resume without rebuilding its in-memory state?

    Show the answer

    Correct answerA. EC2 hibernation

    AWhy this is right: Hibernation saves RAM to the EBS root volume so the instance can later resume its in-memory state.

    BWhy not this: A reboot restarts the operating system and does not preserve the running application's RAM state.

    CWhy not this: Termination ends the instance permanently rather than pausing it for later resumption.

    DWhy not this: Scale-in removes instances from an Auto Scaling group rather than preserving their RAM for resumption.

    EC2 hibernation saves RAM contents to the EBS root volume and restores them when the instance starts again. A reboot restarts the operating system rather than preserving the application's running memory state.

    Open this question
  36. Question 36

    Design Cost-Optimized Architectures

    Long-running Linux services on Amazon ECS require a host-level monitoring agent and leave substantial unused capacity across EC2 instances. Each service already has replicas across Availability Zones; which change MOST directly improves utilization while preserving those constraints?

    Show the answer

    Correct answerC. Use EC2 binpack placement within an Availability Zone spread strategy

    AWhy not this: Fargate does not provide access to install the required host-level agent.

    BWhy not this: Distinct-instance placement prevents task colocation and can increase unused capacity.

    CWhy this is right: Zone spreading preserves resilience while binpack placement fills available capacity within each zone.

    DWhy not this: Larger instances with unchanged task distribution can increase idle capacity rather than improve utilization.

    Spreading across Availability Zones preserves resilience, while binpack placement consolidates tasks within each zone to reduce unused capacity. Fargate removes host management but does not support installing a host-level monitoring agent.

    Open this question
  37. Question 37

    Design Cost-Optimized Architectures

    An EC2 batch application needs 2 TB of high-throughput scratch storage only while each job runs, and it can recreate all intermediate data after an instance failure. Which storage choice is MOST cost-effective when suitable instance-store-backed instances are already being used?

    Show the answer

    Correct answerB. Use the instances' local instance store volumes.

    AWhy not this: Provisioned IOPS EBS adds charges for durable block storage and provisioned performance that the requirements do not justify.

    BWhy this is right: Instance store is included with the selected instances and suits temporary data that can be recreated.

    CWhy not this: FSx for Windows File Server adds managed SMB storage without a requirement for Windows file-sharing capabilities.

    DWhy not this: EFS adds charges for shared persistent file storage, which the application does not require.

    Instance store provides temporary local storage included in the price of the selected instances, making it suitable for recreatable scratch data. EBS adds storage charges and persistence that this workload does not require.

    Open this question
  38. Question 38

    Design Cost-Optimized Architectures

    A company must migrate an on-premises NFS file share to Amazon EFS over an existing network connection, preserving file permissions and verifying transferred data. Which service provides this migration with the LEAST operational effort?

    Show the answer

    Correct answerD. AWS DataSync

    AWhy not this: Storage Gateway provides hybrid access to cloud-backed storage rather than managed migration from an NFS share to EFS.

    BWhy not this: Database Migration Service migrates databases, not general-purpose NFS file shares.

    CWhy not this: Transfer Family provides managed file-transfer protocol endpoints, not automated migration from an existing NFS share.

    DWhy this is right: DataSync supports NFS-to-EFS transfers, preserves supported file metadata, and provides data verification.

    AWS DataSync automates transfers from NFS storage to Amazon EFS while preserving supported metadata and verifying data integrity. Storage Gateway provides hybrid storage access rather than a managed NFS-to-EFS migration workflow.

    Open this question
  39. Question 39

    Design Cost-Optimized Architectures

    An unversioned S3 bucket has a Lifecycle rule expiring all objects after 90 days; newly tagged audit objects must instead remain for seven years, while other objects must still expire after 90 days. An administrator adds a seven-year expiration rule filtered by the audit tag, but audit objects still expire early; what should change?

    Show the answer

    Correct answerB. Replace the all-object expiration rule with a rule filtered to explicitly tagged non-audit objects.

    AWhy not this: A longer expiration does not override an overlapping rule that expires the object sooner.

    BWhy this is right: Mutually exclusive tag filters prevent the 90-day expiration rule from applying to audit objects.

    CWhy not this: A storage-class transition does not exempt an object from an applicable expiration rule.

    DWhy not this: Lifecycle rules have no priority based on their order in the configuration.

    Overlapping expiration rules do not create exceptions: the earlier expiration applies. Filter the 90-day rule to non-audit objects so audit objects match only their seven-year expiration; transitioning objects to an archive class does not prevent expiration.

    Open this question
  40. Question 40

    Design Cost-Optimized Architectures

    A company must centrally manage daily backups of Amazon EBS, Amazon EFS, and Amazon RDS across AWS accounts, retain copies in a dedicated backup account for seven years, and prevent even administrators from deleting retained copies. Which solution meets these requirements with the LEAST operational effort?

    Show the answer

    Correct answerC. Use AWS Backup policies, cross-account copies, and destination vaults locked in compliance mode.

    AWhy not this: These resources do not share a native scheduled S3 export mechanism that provides equivalent managed backup and restoration.

    BWhy not this: Amazon Data Lifecycle Manager manages EBS snapshots and EBS-backed AMIs, not EFS and RDS backups.

    CWhy this is right: AWS Backup supports centralized policies and cross-account copies; compliance mode enforces immutable retention after the grace period.

    DWhy not this: Governance mode allows users with sufficient permissions to remove the lock, so it does not meet the administrator restriction.

    AWS Backup centrally protects these resource types and supports cross-account copies. Vault Lock compliance mode prevents retention changes or early deletion after its grace period; governance mode permits authorized users to remove the lock.

    Open this question
  41. Question 41

    Design Cost-Optimized Architectures

    Which Amazon S3 storage class automatically reduces storage costs for long-lived objects with unpredictable access patterns while retaining millisecond access by default?

    Show the answer

    Correct answerD. S3 Intelligent-Tiering

    AWhy not this: S3 Standard-IA requires deliberate placement or lifecycle transitions rather than automatic access-pattern optimization.

    BWhy not this: S3 Glacier Instant Retrieval offers millisecond retrieval for archives but does not automatically adjust tiers based on access.

    CWhy not this: S3 Standard provides millisecond access but does not automatically move objects to lower-cost access tiers.

    DWhy this is right: S3 Intelligent-Tiering automatically adjusts access tiers, and its optional asynchronous archive tiers are disabled by default.

    S3 Intelligent-Tiering automatically moves eligible objects among access tiers according to usage, with millisecond retrieval in its default tiers. S3 Standard-IA offers lower storage pricing but does not automatically adapt to changing access patterns.

    Open this question
  42. Question 42

    Design Cost-Optimized Architectures

    An Amazon DynamoDB table receives 120 strongly consistent reads per second, each reading one 6 KB item. What is the minimum provisioned read capacity needed to sustain this workload?

    Show the answer

    Correct answerB. 240 read capacity units

    AWhy not this: This treats each kilobyte as requiring one RCU instead of rounding item size to 4 KB boundaries.

    BWhy this is right: Each 6 KB item requires two RCUs for a strongly consistent read, giving 120 × 2 = 240 RCUs.

    CWhy not this: This incorrectly applies the eventual-consistency discount and ignores the item's size.

    DWhy not this: This assumes each strongly consistent read consumes one RCU regardless of item size.

    Each strongly consistent read of a 6 KB item consumes two read capacity units because item sizes round up to 4 KB boundaries. Therefore, 120 reads per second require 240 RCUs; 120 RCUs would suffice only for items no larger than 4 KB.

    Open this question
  43. Question 43

    Design Cost-Optimized Architectures

    An Amazon RDS for MySQL primary is overloaded by reporting queries that can tolerate several seconds of stale data. Which change offloads these queries without increasing the primary's instance size?

    Show the answer

    Correct answerC. Create a read replica and direct reporting queries to it

    AWhy not this: RDS Proxy pools connections but still sends the reporting workload to a database instance.

    BWhy not this: Automated backups are recovery artifacts and cannot serve live queries without restoration.

    CWhy this is right: A read replica serves queries separately from the primary, and asynchronous replication fits the permitted staleness.

    DWhy not this: A Multi-AZ DB instance standby cannot serve reporting queries; it exists for failover.

    An RDS read replica asynchronously receives changes and can serve reporting queries independently of the primary. A standby in a Multi-AZ DB instance deployment provides failover but cannot serve read traffic.

    Open this question
  44. Question 44

    Design Cost-Optimized Architectures

    A company wants a managed database while retaining Oracle Enterprise Edition features and PL/SQL packages unchanged. It owns eligible Oracle licenses with active support and wants to reuse them. Which deployment meets these requirements?

    Show the answer

    Correct answerB. Amazon RDS for Oracle with Bring Your Own License

    AWhy not this: EC2 can host Oracle Enterprise Edition, but the company must manage the database itself.

    BWhy this is right: RDS for Oracle BYOL supports eligible Enterprise Edition licenses and provides managed database operations.

    CWhy not this: Oracle License Included on RDS supports Standard Edition 2, not the required Enterprise Edition.

    DWhy not this: PostgreSQL requires conversion of Oracle-specific features and PL/SQL rather than retaining them unchanged.

    RDS for Oracle with Bring Your Own License supports eligible Oracle Enterprise Edition licenses while providing managed database operations. License Included is available for Oracle Standard Edition 2, not Enterprise Edition.

    Open this question
  45. Question 45

    Design Cost-Optimized Architectures

    An AWS Lambda function bursts to 2,000 concurrent invocations, and each invocation opens a connection to an Amazon RDS for MySQL DB instance to write a record. The instance's CPU and memory use stay low, but it reaches its max_connections limit. Which solution is the MOST cost-effective?

    Show the answer

    Correct answerC. Place Amazon RDS Proxy between the function and the DB instance.

    AWhy not this: A larger instance class raises max_connections but adds cost for CPU and memory the workload does not use.

    BWhy not this: Read replicas serve reads, but these invocations write, and writes must go to the primary instance.

    CWhy this is right: RDS Proxy shares a pool of connections among invocations, so the current instance class can absorb the burst.

    DWhy not this: A cache serves repeated reads; it does not reduce the connections needed for writes.

    Amazon RDS Proxy pools and reuses a small number of database connections for many Lambda invocations, so the existing instance class can handle the burst. Scaling up raises max_connections only by paying for CPU and memory the workload does not need.

    Open this question
  46. Question 46

    Design Cost-Optimized Architectures

    An application stores user preferences accessed only by user ID, with no joins or relational constraints. Which database provides managed key-value storage without requiring the team to provision database instances?

    Show the answer

    Correct answerD. Amazon DynamoDB

    AWhy not this: RDS for MySQL uses database instances and provides relational capabilities that the workload does not require.

    BWhy not this: Redshift is designed for analytical queries, not operational key-value lookups.

    CWhy not this: Neptune is a graph database intended for querying relationships rather than simple key-value storage.

    DWhy this is right: DynamoDB supports direct key-based access without requiring database instance provisioning.

    DynamoDB provides managed key-value storage without database instance provisioning and suits direct lookups by user ID. RDS for MySQL provides relational features that this access pattern does not require and uses database instances.

    Open this question
  47. Question 47

    Design Cost-Optimized Architectures

    An S3 dataset retained for one year is read completely twice monthly, requires millisecond access, and must withstand an Availability Zone loss. Using monthly storage prices per GB of $0.023 for Standard, $0.0125 for Standard-IA, and $0.004 for Glacier Instant Retrieval, plus retrieval prices per GB of $0, $0.01, and $0.03 respectively, which class minimizes storage and retrieval costs?

    Show the answer

    Correct answerC. S3 Standard

    AWhy not this: Two complete reads add $0.06 per stored GB monthly, bringing the total to $0.064.

    BWhy not this: Stores data in one Availability Zone and cannot meet the Availability Zone loss requirement.

    CWhy this is right: Has no retrieval charge, so its $0.023 monthly cost per GB is lowest among the qualifying choices.

    DWhy not this: Two complete reads add $0.02 per stored GB monthly, bringing the total to $0.0325.

    Reading the entire dataset twice monthly makes per-GB monthly totals $0.023 for Standard, $0.0325 for Standard-IA, and $0.064 for Glacier Instant Retrieval. Standard therefore costs least; One Zone-IA cannot withstand loss of its Availability Zone.

    Open this question
  48. Question 48

    Design Cost-Optimized Architectures

    An on-premises application must continue using SMB while storing its files as Amazon S3 objects, with frequently accessed data cached locally. Which solution meets these requirements with the least operational effort?

    Show the answer

    Correct answerC. Amazon S3 File Gateway

    AWhy not this: Provides managed file-transfer endpoints, not a locally cached SMB file share.

    BWhy not this: Transfers data between storage locations rather than providing an ongoing SMB interface with local caching.

    CWhy this is right: Provides an SMB interface, stores files as S3 objects, and maintains a local cache.

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

    Amazon S3 File Gateway provides SMB file access to S3-backed storage and caches frequently accessed data locally. AWS DataSync transfers data between storage locations but does not provide a persistent SMB gateway.

    Open this question
  49. Question 49

    Design Cost-Optimized Architectures

    Which S3 storage class offers the lowest storage price for long-term archives when retrieval can take up to 48 hours?

    Show the answer

    Correct answerD. S3 Glacier Deep Archive

    AWhy not this: Supports faster archive retrieval but has a higher storage price than Deep Archive.

    BWhy not this: Provides millisecond access at a higher storage price than archival classes.

    CWhy not this: Provides immediate archive access at a higher storage price than Deep Archive.

    DWhy this is right: Provides the lowest storage price for long-term archives when retrieval delays of up to 48 hours are acceptable.

    S3 Glacier Deep Archive offers the lowest S3 storage price for long-term archives, with bulk retrieval taking up to 48 hours. S3 Glacier Flexible Retrieval supports faster retrieval but has a higher storage price.

    Open this question
  50. Question 50

    Design Cost-Optimized Architectures

    A database on an EC2 instance needs persistent storage that its operating system can format and update at specific disk offsets. Which storage option provides the required access model?

    Show the answer

    Correct answerB. Amazon EBS block storage

    AWhy not this: Exposes a managed NFS file system rather than a device the instance can format.

    BWhy this is right: Provides persistent block devices that support formatting and updates at specific disk offsets.

    CWhy not this: Exposes objects through API operations rather than a disk device with block-level updates.

    DWhy not this: Exposes a managed SMB file system rather than a raw block device.

    Amazon EBS provides persistent block devices that an operating system can format and update at disk offsets. Amazon EFS supplies an existing shared file system rather than a raw block device.

    Open this question