All practice questions
1964 questions
An enterprise is designing a highly resilient and scalable hybrid network architecture to connect its on-premises data centers in New York and London with AWS environments in the `us-east-1` and `eu-west-2` Regions. The design includes a central AWS Transit Gateway in `us-east-1` (`tgw-us-east-1`) and another in `eu-west-2` (`tgw-eu-west-2`) connected via a Transit Gateway peering attachment. A central Shared Services VPC is deployed in `us-east-1` and hosts Route 53 Private Hosted Zones (PHZs). Multiple spoke VPCs are deployed in both regions, each with private subnets distributed across Availability Zones. The on-premises locations are connected to a global Direct Connect Gateway (`dxgw-global`) via AWS Direct Connect connections, and backup Site-to-Site VPN connections are established to each regional Transit Gateway. Spoke VPC workloads require low-latency, highly available outbound internet access, secure cross-premises DNS resolution, and resilient hybrid failover. Which two actions must the solutions architect take to satisfy these requirements? (Select two.)
Select all that apply
An e-commerce company operates a high-traffic catalog search application. The application's backend database runs on an Amazon RDS for PostgreSQL DB instance configured in a Multi-AZ deployment with 3,000 Provisioned IOPS (SSD) storage. During peak shopping events, read latency on the database increases significantly, and CPU utilization on the DB instance exceeds , leading to slower search response times. The write volume remains low and stable. Which action should a solutions architect take to resolve the database performance bottleneck with minimal latency?
A gaming company hosts its multiplayer matchmaking engine on Amazon EC2 instances in a shared services VPC in the Region. Multiple client-facing game VPCs in separate AWS accounts in the same Region need to establish low-latency, high-throughput connections to the matchmaking engine, which is accessible via an internal Network Load Balancer (NLB) with a private DNS name registered in an Amazon Route 53 Private Hosted Zone (PHZ). The company currently connects the game VPCs to the shared services VPC using AWS Transit Gateway. During peak gaming hours, players experience high latency and packet delivery delays, and game servers in the client VPCs intermittently fail to resolve the matchmaking engine's DNS name. The solutions architect must optimize the network to achieve the lowest possible latency and maximum throughput for game traffic, while ensuring reliable DNS resolution and minimizing data transfer costs. Which network optimization strategy should the solutions architect implement?
A healthcare company runs a medical image processing application. The application's backend database runs on a single Amazon RDS for PostgreSQL DB instance in a Multi-AZ deployment. The compute layer consists of Amazon EC2 instances in an Auto Scaling group that processes tasks from an Amazon SQS queue. During peak periods, the application experiences performance degradation. A Solutions Architect identifies two main bottlenecks:
1. The database CPU utilization reaches due to a high volume of read-only queries for historical report retrieval.
2. The Auto Scaling group launches new EC2 instances to handle the SQS queue surge, but these instances take more than minutes to bootstrap because they download heavy software packages at startup. This delay causes the Auto Scaling group to launch more instances than required before the existing ones can begin processing tasks.
Which combination of actions will resolve these performance bottlenecks? (Select TWO.)
Select all that apply
An enterprise runs a critical banking application on Amazon EC2 instances across multiple AWS accounts within an organization in AWS Organizations. The application outputs transactional logs to `/var/log/app/transaction.log`, which is rotated hourly to `/var/log/app/transaction.log.YYYY-MM-DD-HH` and compressed. The security team requires centralizing these logs into a single Amazon S3 bucket in a dedicated logging account. A Solutions Architect deployed the unified Amazon CloudWatch agent on the EC2 instances to stream these logs to Amazon CloudWatch Logs, but notices that logs are regularly lost immediately after the hourly rotation occurs. Which of the following solutions resolves this issue and achieves centralized collection securely?
An administrator is setting up a two-tier application in a new VPC across two Availability Zones (AZ-A and AZ-B). The application servers reside in private subnets and must access the internet to download software updates. Which of the following network configuration steps should the solutions architect perform to ensure highly available and resilient outbound internet access for the private subnets? (Select TWO.)
Select all that apply
An application is hosted in a single AWS Region using Amazon EC2 instances in an Auto Scaling group and an Amazon RDS for PostgreSQL DB instance. The company wants to implement a cost-effective disaster recovery (DR) solution in a secondary AWS Region. The DR solution must support a Recovery Point Objective (RPO) of less than 30 minutes and a Recovery Time Objective (RTO) of less than 2 hours. Which TWO of the following actions should a solutions architect take to meet these requirements?
Select all that apply
A financial technology company operates a web application that stores active user session tokens and transaction history metadata in a single-instance Amazon RDS for MySQL database. During peak trading hours, read-heavy traffic to the database spikes, causing CPU utilization to reach 95% and leading to transaction delays. The session tokens must be highly available, replicated across Availability Zones, and persisted to prevent users from being logged out in the event of an outage. The Solutions Architect needs to improve database efficiency and reduce query latency. Which combination of actions should the Solutions Architect take to resolve the performance issues? (Select TWO.)
Select all that apply
A major media company operates a digital ticket-booking application. The application's web tier runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The database tier runs on an Amazon RDS for PostgreSQL DB instance configured in a Multi-AZ deployment. The company is preparing for a flash-sale event where traffic is expected to increase by within minutes. During a previous similar event, users experienced connection timeouts and HTTP 503 Service Unavailable errors. Monitoring showed that:
1. The ALB dropped requests during the first minutes of the event.
2. The EC2 Auto Scaling group took over minutes to provision and bootstrap new instances due to a complex user data script that downloads dependencies and updates application assets from Amazon S3.
3. The database CPU utilization reached due to a high volume of read-only queries for event details.
Which set of actions should a Solutions Architect recommend to optimize the performance of the compute and storage tiers for the upcoming event?
An enterprise has a multi-tier web application running in a primary AWS Region (us-east-1). The web tier is deployed on Amazon EC2 instances inside an Auto Scaling group behind an Application Load Balancer (ALB). The database tier uses an Amazon Aurora PostgreSQL Provisioned DB cluster. The enterprise needs to implement a disaster recovery (DR) solution in a secondary AWS Region (us-west-2) using a warm standby approach. The business requires a Recovery Point Objective (RPO) of less than 15 minutes and a Recovery Time Objective (RTO) of less than 30 minutes. Which combination of actions should a solutions architect recommend to meet these requirements? (Select TWO.)
Select all that apply
A company runs a business-critical application on Amazon EC2 instances in private subnets across three Availability Zones (AZs) in a single VPC. Currently, all outbound internet traffic from the private subnets is routed through a single NAT Gateway located in public subnet A. To improve the reliability of the system, a solutions architect must eliminate the single point of failure in the outbound traffic path.
Which configuration change should the solutions architect implement to meet this reliability requirement?
A media streaming platform runs its transcoding engine on Amazon EC2 instances in private subnets across Availability Zones (AZ-A and AZ-B) in the `eu-west-1` Region. The transcoding instances constantly download large raw video files from external Content Delivery Networks (CDNs) on the public internet, process them, and upload them back. Currently, all outbound internet traffic from both private subnets is routed through a single NAT Gateway located in a public subnet in AZ-A.
During peak hours, transcoding instances in AZ-B experience elevated latency, connection timeouts, and packet drops. Network analysis reveals that the single NAT Gateway is hitting its throughput limit of and experiencing port allocation errors. Additionally, the company is incurring high inter-AZ data transfer charges for all internet-bound traffic originating from AZ-B.
Which architectural modification should a Solutions Architect recommend to optimize network performance, reduce latency, and minimize inter-AZ data transfer costs?
A company manages its infrastructure using AWS CloudFormation stacks. A Solutions Architect notices that some Amazon EC2 instances and security groups have been modified manually outside of CloudFormation, creating configuration drift. The Solutions Architect wants to detect these changes and ensure future configuration consistency for both the AWS resource properties and the operating system configurations inside the EC2 instances. Which two actions should the Solutions Architect take to meet these requirements?
Select all that apply
A retail company is launching a new hybrid Point-of-Sale (POS) backend platform on AWS. The cloud architecture consists of a primary API VPC (`vpc-api-prod` with CIDR block ) in the `us-west-2` Region, which communicates with on-premises inventory systems via a AWS Direct Connect connection. The company has also deployed a partner integration VPC (`vpc-partner` with CIDR block ) in the same region.
The platform must satisfy the following design requirements:
1. Production API instances in `vpc-api-prod` are distributed across two Availability Zones (`us-west-2a` and `us-west-2b`). They must have highly available, resilient outbound internet access to perform third-party payment processor API calls.
2. Partner integration services in `vpc-partner` must securely connect to the API servers in `vpc-api-prod` but must be strictly prevented from accessing any on-premises networks.
3. Private DNS resolution for the internal domain `api.internal` must be resolvable from both `vpc-api-prod` and `vpc-partner`.
Which TWO network architecture decisions should a solutions architect recommend to satisfy these requirements?
Select all that apply
An enterprise operates a multi-account AWS environment managed under AWS Organizations. In the production account, a critical payment processing application runs on a fleet of Amazon EC2 instances. The application writes its logs to a local directory at /var/log/payment/app.log. To manage local disk space, the application's logging framework rotates the logs hourly by renaming the active file to app-YYYY-MM-DD-HH.log (e.g., app-2026-07-16-10.log) and creating a new empty app.log file. The CloudWatch unified agent is deployed on the EC2 instances, configured to stream /var/log/payment/app.log to a centralized CloudWatch Logs account. The security operations team reports that after the hourly rotation, the centralized log group stops receiving new log entries, and streaming only resumes after manually restarting the CloudWatch agent service on each instance. Which of the following configuration modifications is the most operationally efficient way to resolve this issue and ensure continuous log streaming?
An enterprise runs a critical tracking application across two AWS accounts in an AWS Organization. Account A hosts the primary production workload in the ap-southeast-1 region, consisting of Amazon ECS Fargate tasks in a private VPC. The application writes to an Amazon Aurora PostgreSQL Global Database with the primary cluster in Account A (ap-southeast-1) and a secondary read-replica cluster in Account B (ap-northeast-1). A Route 53 Private Hosted Zone (PHZ) named db.logistics.internal is hosted in Account A and is associated only with Account A's VPC. During a disaster recovery drill, the primary region experienced a simulated failure. The solutions architect promoted the database cluster in ap-northeast-1 to primary, but the ECS Fargate tasks in Account B (ap-northeast-1) failed to resolve db.logistics.internal. Additionally, an earlier localized Availability Zone outage in ap-southeast-1 had caused all outbound API integration traffic from the remaining zones to fail. The business requires an RTO of 10 minutes and an RPO of 1 minute. Which combination of actions should the solutions architect take to resolve these issues and satisfy the reliability requirements?
An enterprise runs a critical trading application on Amazon EC2 instances in an Auto Scaling group. The application writes transaction logs directly to a local directory `/var/log/trading/`. Due to high transaction volumes, the application does not write to a static file; instead, it writes directly to new hourly log files named in the format `/var/log/trading/trade_YYYYMMDD_HH.log` (for example, `/var/log/trading/trade_20260716_11.log`).
A solutions architect must design a centralized logging solution to stream these logs to Amazon CloudWatch Logs, and then forward them to an Amazon S3 bucket in a centralized security account () using Amazon Kinesis Data Firehose. The solution must ensure that log delivery is continuous, handles the hourly file creation without missing data, and respects the principle of least privilege.
Which configuration strategy must the solutions architect implement to meet these requirements?
An enterprise is designing a new multi-VPC AWS architecture in the `us-east-1` Region. The architecture consists of a production VPC (`vpc-prod-us-1` with CIDR ) and a shared services VPC (`vpc-shared-us-1` with CIDR ). Both VPCs are deployed across two Availability Zones (`us-east-1a` and `us-east-1b`). The enterprise needs to connect this AWS environment to an on-premises datacenter using an AWS Direct Connect (DX) connection.
The network design must satisfy the following requirements:
- Enable secure, private bidirectional communication between the on-premises datacenter and both VPCs.
- Enable the production VPC to resolve hostnames in the on-premises DNS zone (`corp.internal`), and enable on-premises hosts to resolve hostnames in a Route 53 Private Hosted Zone (PHZ) for `shared.aws` associated with the shared services VPC.
- Enable high availability for outbound internet traffic from private subnets in `vpc-prod-us-1` such that an outage in a single Availability Zone does not impact internet egress from the remaining Availability Zone.
- Maintain routing isolation between `vpc-prod-us-1` and `vpc-shared-us-1` for VPC-to-VPC traffic, allowing traffic only to and from the datacenter.
Which of the following designs meets these requirements with the least operational complexity?
An enterprise runs a distributed containerized application across multiple AWS member accounts inside an AWS Organization. The application runs on Amazon EC2 instances in an Auto Scaling group and writes logs directly to `/var/log/app/telemetry-YYYY-MM-DD-HH.log`. These log files are rotated and recreated hourly. A Solutions Architect must design a centralized logging solution to aggregate these logs in near-real-time into an Amazon S3 bucket in a central Security account () for security auditing. The architecture must scale automatically as new member accounts are added to the organization, enforce encryption at rest using an AWS KMS Customer Managed Key (CMK) stored in the Security account, and minimize operational overhead on the instances. Which combination of configuration steps should the Solutions Architect implement to meet these requirements?
A multinational financial services enterprise is designing a secure, multi-region AWS network architecture using AWS Organizations. The design must connect workloads in two regions: (acting as the primary region) and (acting as the disaster recovery region).
The architecture includes:
- In : A Shared Services account containing a Route 53 Private Hosted Zone (PHZ) named , a centralized egress VPC () containing stateful security appliances and NAT Gateways, and two spoke VPCs ( and ) in separate business unit accounts.
- In : A disaster recovery spoke VPC () in a business unit account.
- Two peered Transit Gateways: in and in .
The networking requirements are:
1. Spoke VPCs in both regions must route all outbound internet traffic () through the stateful security appliances.
2. Outbound traffic must be highly available and resilient to single Availability Zone outages.
3. Spoke VPCs must be able to privately resolve DNS queries for .
4. The design must minimize administrative overhead while adhering to AWS routing limitations.
Which of the following designs meets these requirements?