Curated

Design Cost-Optimized Architectures 2 (4.4)

0 votes

Questions14

  1. Question 1

    Design Cost-Optimized Architectures

    A finance team must retain detailed network billing line items for three years and join them with internal pricing tables by using SQL. Which approach meets these requirements with the least custom data collection?

    Show the answer

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

    AWhy not this: Cost Explorer exports analytical results rather than providing the detailed billing line-item delivery required.

    BWhy this is right: Reports provide detailed billing data in S3, supporting long-term retention and Athena joins.

    CWhy not this: Budget notifications contain threshold alerts, not the detailed billing records needed for SQL analysis.

    DWhy not this: Flow logs record network traffic metadata, not billed charges or complete billing line items.

    AWS Cost and Usage Reports provide detailed billing line items in S3, where retention can be controlled and Athena can join the data with other tables. Cost Explorer downloads are analytical extracts rather than a complete billing line-item delivery solution.

    Open this question
  2. Question 2

    Design Cost-Optimized Architectures

    A company operates several low-traffic HTTPS applications in one VPC, each with its own Application Load Balancer and hostname. Which change reduces recurring load balancer charges while preserving hostname-based routing to separate target groups?

    Show the answer

    Correct answerA. Share one ALB using host-header listener rules.

    AWhy this is right: Host-header rules let multiple applications share an ALB while retaining separate target groups.

    BWhy not this: A Network Load Balancer routes at the transport layer and cannot select target groups by HTTP host header.

    CWhy not this: A NAT gateway provides address translation and does not support hostname-based application routing.

    DWhy not this: A Gateway Load Balancer distributes traffic to virtual network appliances, not HTTP applications by hostname.

    An ALB can use host-header rules to forward requests for different hostnames to separate target groups, eliminating multiple load balancers' hourly charges. A Network Load Balancer does not provide HTTP host-header routing.

    Open this question
  3. Question 3

    Design Cost-Optimized Architectures

    A company tags its NAT gateways with a Department tag, but the tag is unavailable for grouping costs in its billing reports. What should the company do to report future tagged usage costs by department?

    Show the answer

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

    AWhy not this: Route table tags do not allocate the usage charges incurred by NAT gateways.

    BWhy not this: Budgets track costs against thresholds; they do not activate resource tags for cost reporting.

    CWhy not this: Consolidated billing combines charges across accounts but does not activate cost allocation tags.

    DWhy this is right: Activating the tag makes it available for allocating and grouping supported resource costs in billing reports.

    A user-defined resource tag must be activated as a cost allocation tag before it is available for cost reporting. Consolidated billing combines account charges but does not activate resource tags for reporting.

    Open this question
  4. Question 4

    Design Cost-Optimized Architectures

    EC2 instances and on-premises servers connected through AWS Direct Connect must access same-Region Amazon S3 without public endpoints. EC2 accounts for most traffic; which endpoint design minimizes endpoint processing charges while supporting both sources?

    Show the answer

    Correct answerC. Use an S3 gateway endpoint for EC2 and an S3 interface endpoint for on-premises traffic.

    AWhy not this: An interface endpoint supports both sources, but processing the high-volume EC2 traffic adds avoidable endpoint charges.

    BWhy not this: Gateway endpoints cannot serve the on-premises traffic, and using an interface endpoint for EC2 adds avoidable charges.

    CWhy this is right: The gateway endpoint avoids endpoint charges for EC2 traffic, while the interface endpoint supports private access from on premises.

    DWhy not this: On-premises servers cannot access an S3 gateway endpoint through Direct Connect.

    An S3 gateway endpoint has no endpoint hourly or data processing charges and serves EC2 traffic within the VPC. On-premises traffic requires an interface endpoint for private endpoint access; it cannot use a gateway endpoint through Direct Connect.

    Open this question
  5. Question 5

    Design Cost-Optimized Architectures

    A development VPC has private subnets in two Availability Zones that download small software updates from the internet. Temporary loss of outbound access is acceptable, and cross-AZ transfer charges would be less than another NAT gateway's hourly charges. Which configuration is MOST cost-effective?

    Show the answer

    Correct answerD. Use one shared public NAT gateway.

    AWhy not this: An egress-only internet gateway supports IPv6, not IPv4.

    BWhy not this: Per-AZ NAT gateways improve resilience and avoid cross-AZ routing, but their added hourly charges exceed the savings here.

    CWhy not this: A private NAT gateway does not provide internet access through an internet gateway.

    DWhy this is right: A shared public NAT gateway provides internet egress with fewer hourly charges under the stated traffic and availability requirements.

    A shared public NAT gateway minimizes hourly charges when cross-AZ transfer costs are small and reduced availability is acceptable. A NAT gateway in each Availability Zone improves resilience but adds hourly charges.

    Open this question
  6. Question 6

    Design Cost-Optimized Architectures

    A company needs inexpensive, encrypted connectivity from its office network to a VPC over its existing internet connection. Which service should it choose?

    Show the answer

    Correct answerC. AWS Site-to-Site VPN

    AWhy not this: Client VPN provides remote access for individual clients rather than connecting an entire office through its gateway.

    BWhy not this: Global Accelerator improves access to application endpoints; it does not establish an encrypted network-to-network tunnel.

    CWhy this is right: Site-to-Site VPN provides encrypted network-to-network connectivity over the existing internet connection.

    DWhy not this: Direct Connect provides dedicated connectivity rather than using the existing internet connection.

    AWS Site-to-Site VPN provides encrypted tunnels between an office network and AWS over the internet. AWS Client VPN connects individual remote users rather than serving as the office network's site-to-site connection.

    Open this question
  7. Question 7

    Design Cost-Optimized Architectures

    Three VPCs in the same AWS Region have nonoverlapping CIDR blocks and require direct private communication with each other. The company chooses VPC peering to avoid transit gateway charges. Which design choices meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Create a peering connection for each VPC pair.E. Add routes to peer CIDRs through the relevant peering connections.

    AWhy not this: Spokes cannot communicate through a central VPC because peering does not support transitive routing.

    BWhy this is right: A full mesh provides a direct peering connection between every pair of VPCs.

    CWhy not this: Virtual private gateways support hybrid connectivity and cannot be attached to peering connections.

    DWhy not this: VPC peering has no setting that enables transitive routing.

    EWhy this is right: Routes must direct traffic for peer CIDRs to the appropriate peering connections.

    FWhy not this: NAT gateways do not replace peering routes for direct private communication between these VPCs.

    Each VPC pair needs a peering connection, and participating subnet route tables need routes to the peer CIDRs. A hub-and-spoke peering design cannot provide spoke-to-spoke connectivity because VPC peering is not transitive.

    Open this question
  8. Question 8

    Design Cost-Optimized Architectures

    A company has an AWS Direct Connect connection with spare capacity and a public virtual interface used for Amazon S3 access. It needs private-IP connectivity to one VPC without traversing the internet or requiring encryption. Which approach avoids unnecessary additional connectivity charges?

    Show the answer

    Correct answerD. Add a private virtual interface to the existing connection.

    AWhy not this: A transit gateway introduces attachment and processing charges that this single-VPC design does not require.

    BWhy not this: A new dedicated connection adds port charges despite sufficient capacity on the existing connection.

    CWhy not this: An internet-based VPN violates the requirement to avoid traversing the internet.

    DWhy this is right: A private virtual interface provides private VPC connectivity over the existing connection.

    A private virtual interface can reuse the existing Direct Connect connection to reach a VPC through a virtual private gateway. A transit virtual interface with a transit gateway adds unnecessary components and charges for this single-VPC requirement.

    Open this question
  9. Question 9

    Design Cost-Optimized Architectures

    A company associates one Route 53 private hosted zone with 20 VPCs connected to its data center through a transit gateway. On-premises DNS servers must resolve that zone, records must remain private, and resolution must tolerate an Availability Zone failure. Which design minimizes recurring Resolver endpoint charges?

    Show the answer

    Correct answerA. Deploy one inbound endpoint across two Availability Zones in an associated VPC and forward on-premises queries to it.

    AWhy this is right: A shared inbound endpoint resolves the associated private zone, while two Availability Zones provide endpoint resilience.

    BWhy not this: Outbound endpoints send queries to external DNS servers; they do not accept forwarded queries from on-premises servers.

    CWhy not this: Per-VPC inbound endpoints can work but add unnecessary endpoint IP-hour charges for the same shared zone.

    DWhy not this: Public hosted zones expose DNS records publicly and cannot be restricted with security groups.

    One shared inbound Resolver endpoint with IP addresses in two Availability Zones supports resilient on-premises resolution of the associated private zone. Endpoints in every VPC add unnecessary charges; outbound endpoints forward queries toward external DNS servers, not from them.

    Open this question
  10. Question 10

    Design Cost-Optimized Architectures

    Which charge applies to a NAT gateway but has no direct equivalent for a self-managed NAT instance?

    Show the answer

    Correct answerD. NAT data processing charges

    AWhy not this: Applicable cross-Availability Zone transfer charges can occur with either NAT implementation.

    BWhy not this: EC2 runtime charges apply to NAT instances, not to the managed NAT gateway itself.

    CWhy not this: Applicable internet data transfer out charges can occur with either NAT implementation.

    DWhy this is right: NAT gateways charge per gigabyte processed; NAT instances have no separate NAT processing fee.

    NAT gateways incur a charge per gigabyte processed, in addition to hourly charges. NAT instances incur EC2 charges instead; applicable internet and cross-Availability Zone data transfer charges can apply to either design.

    Open this question
  11. Question 11

    Design Cost-Optimized Architectures

    A company serves the same rarely changing product images to users worldwide from an Application Load Balancer. Which change would BEST reduce repeated origin requests and improve global download latency?

    Show the answer

    Correct answerB. Configure Amazon CloudFront with the load balancer as origin

    AWhy not this: More origin bandwidth can increase capacity but does not reduce repeated origin requests or distance to users.

    BWhy this is right: CloudFront serves cached images from edge locations, improving global latency and reducing origin traffic.

    CWhy not this: Additional Availability Zones improve regional availability but do not provide global edge caching.

    DWhy not this: Global Accelerator improves network paths to endpoints but does not cache images or eliminate repeated origin requests.

    Amazon CloudFront caches images at edge locations, reducing repeated requests to the origin and serving users nearby. AWS Global Accelerator improves network routing but does not cache content.

    Open this question
  12. Question 12

    Design Cost-Optimized Architectures

    Inter-VPC transfer charges have increased. Which data source should an architect analyze to identify the source-destination IP pairs transferring the most bytes?

    Show the answer

    Correct answerD. VPC Flow Logs

    AWhy not this: Access logs cover requests handled by a load balancer, not general inter-VPC IP traffic.

    BWhy not this: Management events describe resource administration rather than bytes transferred between workload IP addresses.

    CWhy not this: Resolver query logs describe DNS queries rather than the volume of subsequent application traffic.

    DWhy this is right: Flow records include source and destination IP addresses and byte counts that can reveal high-volume traffic pairs.

    VPC Flow Logs record network flow metadata, including source and destination IP addresses and byte counts. CloudTrail management events record control-plane API activity, not workload traffic volumes.

    Open this question
  13. Question 13

    Design Cost-Optimized Architectures

    A company is right-sizing an AWS Direct Connect hosted connection whose peak traffic is 600 Mbps. Which connection bandwidth is the smallest that provides at least 25% headroom above that peak?

    Show the answer

    Correct answerB. 1 Gbps

    AWhy not this: 500 Mbps is below the measured 600 Mbps peak and provides no headroom.

    BWhy this is right: 1 Gbps exceeds the required 750 Mbps and is the smallest listed bandwidth that does so.

    CWhy not this: 2 Gbps meets the requirement but allocates more bandwidth than the smallest suitable choice.

    DWhy not this: 10 Gbps greatly exceeds the requirement and is not the smallest suitable bandwidth.

    A 600 Mbps peak with 25% headroom requires at least 750 Mbps, so 1 Gbps is the smallest listed capacity that fits. A 500 Mbps connection cannot support even the measured peak.

    Open this question
  14. Question 14

    Design Cost-Optimized Architectures

    An Amazon API Gateway REST API serves customers on different pricing tiers, and several customers share a public IP address. The company needs best-effort per-customer request rates and monthly quotas to control backend costs; which approach BEST meets these requirements?

    Show the answer

    Correct answerD. Assign customer API keys to tier-specific usage plans

    AWhy not this: A shared stage throttle limits aggregate traffic rather than assigning different rates and quotas to customers.

    BWhy not this: IP-based rules combine customers behind a shared public address and do not provide monthly per-customer usage quotas.

    CWhy not this: Reserved concurrency limits simultaneous Lambda executions, not per-customer API request rates or monthly quotas.

    DWhy this is right: Usage plans provide best-effort throttling and quotas for customers identified by their assigned API keys.

    API Gateway usage plans associate API keys with throttling limits and quotas, supporting best-effort controls for customer tiers. IP-based AWS WAF rules would group customers sharing an address rather than apply independent customer allowances.

    Open this question