All practice questions
1964 questions
An enterprise financial analytics application processes large datasets using a fleet of Amazon EC2 instances. The application reads data from an Amazon RDS for PostgreSQL DB instance in a Multi-AZ deployment, and writes temporary raw output files to attached Amazon EBS gp3 volumes. During daily batch processing runs, performance degrades. Database metrics show high CPU utilization and elevated read latencies on the primary database due to analytical queries. Concurrently, the EC2 instances show high I/O wait times, indicating that the EBS volumes are bottlenecked. Which two modifications should the Solutions Architect implement to optimize the performance of the database and compute tiers? (Select TWO.)
Select all that apply
An enterprise operates a multi-region application across two AWS accounts to support disaster recovery. Account A hosts the primary application infrastructure in the us-east-1 Region, including a public Application Load Balancer (ALB) and an Auto Scaling group of Amazon EC2 instances inside a VPC. Account B hosts the standby infrastructure in the us-west-2 Region with a similar configuration. A Route 53 public hosted zone, managed in a separate shared services account, routes external traffic to the ALBs using failover routing. Internal microservices in the primary VPC query a shared service using an internal domain name registered in a Route 53 Private Hosted Zone (PHZ) internal.corp hosted in Account A. During a disaster recovery simulation, the primary region was degraded due to backend database replication lag and EC2 instance failures, but the public ALB in us-east-1 remained operational. The simulation revealed two issues: 1. The public Route 53 failover record did not route traffic to the standby ALB in us-west-2 because the health check was configured to monitor the ALB's endpoint, which returned a 200 OK status from a static welcome page on the ALB itself. 2. The EC2 instances launched in Account B's VPC in us-west-2 were unable to resolve the internal domain names hosted in Account A's PHZ. Which combination of steps will resolve these issues and ensure a reliable, automated failover process?
A financial services company operates a microservices-based application running on Amazon ECS with AWS Fargate across ten member accounts within an AWS Organization. The operations team needs to build a centralized dashboard in a designated monitoring account to analyze application performance, query log groups, and view distributed service traces across all member accounts. The solution must minimize operational overhead and avoid manual infrastructure provisioning or custom log-routing agents. Which strategy should a Solutions Architect implement to meet these requirements?
An application runs on Amazon EC2 instances managed by an Auto Scaling group deployed across three Availability Zones (, , and ). The EC2 instances are in private subnets and need to make outbound connections to the internet to fetch system updates. Which actions should a Solutions Architect take to design a network topology that provides high availability and fault tolerance for outbound internet traffic if any single Availability Zone experiences an outage? (Select TWO.)
Select all that apply
A SaaS platform operates a real-time media processing pipeline in the `us-east-1` Region. The architecture consists of an ingestion fleet of Amazon EC2 instances behind an Application Load Balancer (ALB) in the `IngestionVPC`, and a processing cluster of EC2 instances in the `ProcessingVPC`. Currently, the two VPCs are connected via an AWS Transit Gateway. The ingestion instances resolve the processing cluster's domain names using a Route 53 Private Hosted Zone (PHZ) that is associated only with the `ProcessingVPC`, leading to intermittent name resolution failures. The platform is preparing for a scheduled live-streaming event that will generate an immediate, massive traffic spike (flash traffic). The solutions architect must optimize the network to minimize latency and maximize throughput between the ingestion and processing tiers, resolve the DNS failures, and ensure the infrastructure can handle the traffic surge without dropping packets.
Which three actions should the solutions architect take to meet these requirements?
Select all that apply
An investment bank runs a daily risk analysis simulation on AWS. The application tier runs on a fleet of memory-optimized Amazon EC2 instances in an Auto Scaling group (ASG). Every day at 09:00 UTC, a massive batch of simulation queries is initiated, causing immediate CPU utilization spikes on both the application fleet and the database, which is hosted on Amazon RDS PostgreSQL. Additionally, during the simulation, the EC2 instances perform heavy write operations to write transient checkpoint files to attached EBS gp3 volumes, resulting in high write latency and disk queue length spikes. Which combination of architectural modifications will optimize the compute and storage performance of this platform?
A financial services company operates a latency-critical application in the us-east-1 Region. The application's core components are split across two AWS accounts: Account A hosts the real-time processing fleet on Amazon EC2 instances in private subnets across three Availability Zones in VPC-Processing, and Account B hosts a caching layer in VPC-Cache. Currently, the two VPCs are connected via an AWS Transit Gateway.
During high-volume events, the platform experiences increased latency and packet drops. A network audit reveals the following:
* Outbound internet traffic from all private subnets in VPC-Processing is routed through a single NAT Gateway located in Availability Zone us-east-1a.
* Large database synchronization streams between the processing fleet and the caching layer are capped at per connection, even though the EC2 instances support up to network bandwidth.
* EC2 instances in VPC-Processing resolve the private IP addresses of the caching layer by querying a Route 53 Private Hosted Zone (PHZ) created in Account B, but queries are currently traversing public resolvers, causing elevated DNS resolution times.
Which combination of actions will resolve the latency and throughput bottlenecks while ensuring high availability?
A company runs a critical business application on Amazon ECS on AWS Fargate in the us-west-2 Region, distributed across three Availability Zones. The application's backend database is an Amazon Aurora PostgreSQL Serverless v2 cluster. The company wants to implement a disaster recovery (DR) solution in the us-east-1 Region. The business requires a Recovery Point Objective (RPO) of 5 minutes and a Recovery Time Objective (RTO) of 15 minutes, while minimizing idle compute costs in the disaster recovery region.
Which TWO actions should the Solutions Architect take to design a disaster recovery solution that meets these requirements? (Select TWO.)
Select all that apply
A healthcare startup stores sensitive patient genomic data in an Amazon S3 bucket. The startup must grant read-only access to specific genomic data files to a third-party research group operating in a separate AWS account that is outside the startup's AWS organization. Currently, all data in the S3 bucket is unencrypted. The compliance team mandates that all files must be encrypted at rest using customer-managed keys (CMKs) to ensure complete auditability of key access, and that the external researchers must be able to securely decrypt and retrieve the files. Which combination of actions must the Solutions Architect perform to implement this configuration? (Select TWO.)
Select all that apply
An enterprise is designing a highly resilient multi-account network architecture in the ap-southeast-1 Region. The design includes two application VPCs: vpc-app-hr in AWS Account A and vpc-app-finance in AWS Account B. A third VPC, vpc-shared-services in AWS Account C, hosts a centralized repository and a Route 53 Private Hosted Zone (PHZ) named services.internal.
An AWS Transit Gateway named tgw-hub in Account C connects all three VPCs. The application VPCs must have private DNS resolution for services.internal and require highly available, cost-effective outbound internet access for downloading patches. To centralize egress control, the security team mandates using NAT Gateways deployed in vpc-shared-services.
Which combination of configurations will meet these requirements while ensuring resilience to Availability Zone (AZ) failures? (Select TWO.)
Select all that apply
An enterprise runs a multi-tier financial transaction system across two AWS accounts in an AWS Organization: Account A (Application) and Account B (Data).
In Account A, the application tier is deployed on Amazon EC2 instances in an Auto Scaling group behind an internal Application Load Balancer (ALB) across three Availability Zones in a primary VPC (VPC-App) in us-east-1. Outbound internet traffic to external payment processing endpoints is routed through a single NAT Gateway located in us-east-1a.
In Account B, database transactions are managed by an Amazon Aurora PostgreSQL Global Database. The primary cluster is in us-east-1 (VPC-Data), and a secondary read-only cluster is in us-east-2 (VPC-DR).
The application in VPC-App (Account A) queries the database in VPC-Data (Account B) using a private domain db.internal.corp. The Private Hosted Zone (PHZ) for db.internal.corp is created and hosted in Account B.
A recent Availability Zone outage in us-east-1a degraded the NAT Gateway, causing payment processing to fail. During the subsequent recovery attempt, operator confusion between managed and unplanned global database failovers delayed database promotion to us-east-2 by over 30 minutes. Additionally, recovery EC2 instances provisioned in us-east-2 failed to resolve the database's private domain db.internal.corp.
To prevent future outages, a Solutions Architect must design a disaster recovery (DR) and resiliency strategy that achieves a Recovery Time Objective (RTO) of 10 minutes and a Recovery Point Objective (RPO) of 1 minute. The secondary application tier in us-east-2 must remain dormant or at minimal capacity until a failover is declared.
Which set of actions should the Solutions Architect implement to satisfy these requirements?
An enterprise uses AWS CodePipeline in a centralized DevOps account () to build and deploy a microservices application to an Amazon ECS cluster running in a target production account (). The pipeline stores its build artifacts in an Amazon S3 bucket in the DevOps account. The S3 bucket is encrypted.
During a deployment run, the pipeline fails at the Deploy stage with the following error:
`KMS.NotFoundException: The KMS key with ID arn:aws:kms:us-east-1:111111111111:key/... does not exist or is not authorized.`
A Solutions Architect needs to resolve the deployment failure while adhering to the principle of least privilege.
Which combination of configuration steps will resolve the deployment failure? (Select TWO.)
Select all that apply
An autonomous vehicle telemetry company collects high-frequency sensor data from test vehicles. The data is uploaded to a central on-premises operations center and then replicated to AWS. The AWS environment consists of a primary VPC and spoke VPCs in the `us-west-2` Region, all connected via an AWS Transit Gateway. The on-premises operations center connects to AWS via a AWS Direct Connect connection using a Private Virtual Interface (Private VIF) terminated at a Virtual Private Gateway (VGW) in the primary VPC. Telemetry files average in size and are uploaded via HTTPS. During peak test hours, uploads experience high latency and packet retransmissions, and DNS queries for the internal ingestion API endpoints fail intermittently or take too long to resolve from the spoke VPCs. The solution must maximize throughput, minimize latency, ensure high availability, and avoid unnecessary inter-VPC network hops for DNS resolution. Which two actions should the solutions architect take to meet these requirements?
Select all that apply
A company operates a web-based geographic information system (GIS) on AWS. The application runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The instances query an Amazon RDS for PostgreSQL database configured with Multi-AZ for high availability.
During predictable daily peak hours, the application experiences significant performance degradation. CloudWatch metrics indicate that the RDS primary instance CPU utilization consistently exceeds 90%. Additionally, the ALB drops multiple connections due to a sudden, massive surge in user traffic at the exact start of peak hours, and the EC2 instances experience high write latency on their attached Amazon EBS gp3 volumes.
Which combination of actions should a solutions architect take to optimize the compute and storage performance of the system?
A financial company hosts an application that stores sensitive transaction reports in an Amazon S3 bucket. To comply with data protection regulations, the objects are encrypted using the default AWS-managed KMS key (aws/s3). The company now needs to grant read-only access to these S3 objects to an external auditing team operating in a separate AWS account. The external team is currently blocked when attempting to read the objects, despite having the correct S3 permissions. Which of the following is the most appropriate action to resolve this issue and securely allow cross-account access?
A logistics company is designing a new cloud infrastructure on AWS across three VPCs: a Shared Services VPC (vpc-shared), a Production application VPC (vpc-prod), and a Development application VPC (vpc-dev). The company has an on-premises datacenter that must connect securely to these VPCs using an existing 10 Gbps AWS Direct Connect (DX) connection. Additionally, resources in the private subnets of vpc-prod and vpc-dev require outbound internet access to download software patches, but they must not be directly exposed to the internet. The design must minimize operational overhead, be resilient to Availability Zone (AZ) failures, and allow private DNS resolution for internal domain names across all environments, including the on-premises datacenter. Which TWO of the following networking configurations should the Solutions Architect implement to meet these requirements?
Select all that apply
An enterprise operates a transaction processing application in `us-east-1` within AWS Account A. The database tier uses an Amazon Aurora PostgreSQL cluster. To improve disaster recovery and satisfy regulatory compliance, the enterprise plans to deploy a warm standby recovery environment in `us-west-2` within AWS Account B. The target Recovery Point Objective (RPO) is minute, and the Recovery Time Objective (RTO) is minutes.
The application uses an internal Route 53 Private Hosted Zone named `internal.corp` in Account A for database endpoint resolution. Additionally, during a failover event, application servers in Account B must be able to securely connect to a public third-party credit verification service via the internet.
Which of the following combinations of actions should the Solutions Architect take to enhance reliability and meet the DR requirements? (Select TWO.)
Select all that apply
A smart grid utility metering company operates an IoT platform that ingests high-frequency energy consumption data from millions of smart meters. The ingestion microservices write data directly to a PostgreSQL database hosted on Amazon RDS. During peak intervals, the database experiences severe write contention and CPU utilization spikes to , causing delayed telemetry processing and dropped ingestion requests. A Solutions Architect must optimize the database tier to reduce ingestion latency, lower RDS connection overhead, and ensure that real-time analytics dashboards can read the aggregated telemetry with sub-millisecond response times. The architecture requires high availability, automatic failover, and the ability to reconstruct historical metrics from the cache if the database is temporarily offline. Which combination of architectural optimizations should the Solutions Architect implement to resolve the performance bottlenecks while meeting the requirements? (Select TWO.)
Select all that apply
An enterprise is designing a highly resilient network architecture in the eu-central-1 Region for a credit-scoring platform. The design includes two spoke VPCs, vpc-scoring-prod and vpc-analytics-prod, each containing workloads distributed across Availability Zones eu-central-1a and eu-central-1b. Additionally, a centralized egress VPC, vpc-egress-central, is deployed in the same region to inspect and NAT all outbound internet traffic. The platform has the following constraints: 1. All outbound internet traffic from the spoke VPCs must flow through the central egress VPC. 2. Outbound connectivity must be resilient to the outage of a single Availability Zone. 3. Workloads in both spoke VPCs must resolve internal DNS queries for scoring.internal, a Route 53 Private Hosted Zone (PHZ) hosted in a separate Shared Services AWS account. 4. The solution must minimize cost and operational complexity. Which of the following architectures satisfies these requirements?
An enterprise operates a public-facing web application deployed across two AWS Regions: us-east-1 (primary) and us-west-2 (standby) for disaster recovery. The architecture consists of an Application Load Balancer (ALB) and an Auto Scaling group of EC2 instances in each region. The company uses Amazon Route 53 with failover routing policies. The primary alias record has 'Evaluate Target Health' set to 'No' and is associated with a Route 53 HTTP health check that directly queries the ALB DNS name. During a recent database outage in the primary region, the web servers behind the primary ALB began returning HTTP 500 errors to users, but DNS failover to the standby region did not occur. Which action should the solutions architect take to ensure reliable failover to the standby region during future application or database outages?