All practice questions
1964 questions
A solutions architect is designing a database strategy for an online application that uses an Amazon RDS for MySQL database. The database experiences sudden spikes in read query volume, which degrades performance. The solutions architect needs to offload this read traffic and allow the database to scale horizontally. Which of the following designs represents the correct and most efficient database strategy to scale read capacity?
A logistics and fleet management SaaS platform collects real-time telemetry from delivery vehicles globally. The platform's ingestion tier is deployed in TelemetryIngestVPC in the eu-central-1 Region. The ingested data is processed by a latency-sensitive analytics engine deployed in AnalyticsVPC within the same Region. An on-premises monitoring operations center in Munich connects to AWS via a dedicated 10 Gbps AWS Direct Connect connection terminated at a Direct Connect Gateway (DXGW). The operations center uses internal DNS servers to resolve resources in TelemetryIngestVPC using a Route 53 Private Hosted Zone (PHZ) named fleet.internal. The platform has the following requirements:
- The network path between TelemetryIngestVPC and AnalyticsVPC must support maximum throughput and low latency, utilizing Jumbo Frames (MTU 9001).
- Outbound internet access from both VPCs must be highly available and resilient to Availability Zone outages, while minimizing latency.
- On-premises operators must be able to resolve DNS queries for fleet.internal.
Which of the following architectural designs meets these requirements with the lowest latency and highest throughput?
An enterprise runs a batch processing application on hybrid on-premises servers and Amazon EC2 instances. The application writes execution logs to `/var/log/app/batch.log`. To comply with compliance and auditing policies, these logs are rotated hourly and renamed using the format `/var/log/app/batch.log.YYYY-MM-DD-HH`. A Solutions Architect is deploying the unified CloudWatch agent to collect these logs and publish them to Amazon CloudWatch Logs. Which configuration strategy for the CloudWatch agent should the Solutions Architect implement to ensure that logs are continuously collected without gaps during and after the hourly rotation process?
An enterprise manages its multi-account environment using AWS Organizations. An application running in a production account (Account A) writes transaction logs containing sensitive financial data to an Amazon S3 bucket in Account A. To comply with corporate data protection policies, these logs must be encrypted at rest using an encryption key managed by the central Security account (Account Sec). In addition, a compliance auditor role in Account Sec must have read access to these logs to conduct periodic compliance checks.
The Solutions Architect attempts to implement this by configuring the default server-side encryption (SSE-KMS) of the S3 bucket in Account A to use the AWS-managed KMS key for S3 (aws/s3) located in Account Sec. The architect also adds a bucket policy in Account A to grant s3:GetObject access to the compliance auditor role in Account Sec. Both the application in Account A and the auditor in Account Sec begin receiving Access Denied errors during write and read operations.
Which of the following describes the root cause of these failures and the correct way to resolve them?
A multinational financial enterprise is consolidating its network monitoring strategy across 150 member accounts within an AWS Organizations structure. A Solutions Architect must configure Amazon VPC Flow Logs in all member accounts to write directly to a single, centralized Amazon S3 bucket located in a dedicated Security account. The enterprise's security policy mandates that all logs must be encrypted at rest using an AWS KMS customer managed key owned by the Security account. Additionally, access must be restricted to ensure only the enterprise's organization can write to the bucket, and member accounts must not be able to read each other's logs. Which combination of configurations will meet these requirements while minimizing operational overhead?
A media streaming company hosts a high-throughput video processing pipeline in the `us-west-2` Region across two VPCs: an Ingestion VPC and a Processing VPC. The Ingestion VPC receives raw high-definition video feeds and stores them temporarily on Amazon EC2 instances. The Processing VPC hosts a cluster of GPU-accelerated EC2 instances that pull these video files for transcoding. Currently, all network traffic between the two VPCs routes through an AWS Transit Gateway. The application requires transferring files of up to GB with a minimum throughput of Gbps and the lowest possible latency. During peak events, the company observes packet fragmentation and throughput limits due to MTU constraints on the Transit Gateway path. The company also uses an Amazon Route 53 Private Hosted Zone (PHZ) named `video.internal` for service discovery, which is currently associated only with the Ingestion VPC. Which solution should a solutions architect implement to optimize network performance, maximize throughput, and maintain DNS resolution?
An enterprise runs a high-volume payment processing application in a single AWS account in the us-east-1 Region. The system uses an Amazon Elastic Kubernetes Service (EKS) cluster for compute and an Amazon DynamoDB table for transaction states. The application has suffered outages due to regional service issues and internet routing degradation. To improve availability, the solutions architect must redesign the architecture to implement a multi-region Active-Passive disaster recovery (DR) strategy across us-east-1 and us-west-2. The solution must achieve a Recovery Time Objective (RTO) of less than 5 minutes and a Recovery Point Objective (RPO) of less than 1 minute. Which of the following actions should the solutions architect take to meet these reliability and disaster recovery requirements? (Select TWO.)
Select all that apply
An enterprise uses AWS CloudFormation StackSets with service-managed permissions to deploy a standardized security baseline—consisting of IAM roles, AWS Config rules, and Amazon VPC security groups—across all member accounts within an AWS Organization. The templates are stored in a centralized Amazon S3 bucket in a dedicated administration account. Over time, developers in member accounts have manually modified security groups and IAM roles, introducing configuration drift. The Solutions Architect must establish a fully automated solution to detect stack drift across all accounts and remediate the drifted resources to align with the StackSet template. The remediation must not disrupt the stack management lifecycle or cause subsequent stack updates to fail. Which combination of actions will meet these requirements while adhering to the principle of least privilege?
An energy transmission operator uses AWS Organizations to manage its multi-account environment. To comply with national security regulations, all grid control plane access logs from the Grid Operations account (Account ID: ) must be archived to a centralized compliance S3 bucket in the Security Auditing account (Account ID: ).
The security engineering team has established the following requirements:
1. All logs must be encrypted at rest using a Customer Managed Key (CMK) created and managed in the Security Auditing account.
2. The Grid Operations account must have permissions to upload log files to the compliance S3 bucket but must be strictly prevented from decrypting or reading any logs once they are archived.
3. The objects uploaded to the compliance S3 bucket must be owned by the Security Auditing account to ensure compliance audits can access them.
Which combination of configurations will securely meet these requirements?
A logistics enterprise operates a fleet-tracking portal backed by an Amazon RDS for PostgreSQL Multi-AZ DB instance. The database stores real-time delivery route details, driver availability, and active shipment states. During shift changes, the database experiences CPU utilization spikes up to and application connection timeouts due to a surge in read queries from dispatchers querying driver status. A solutions architect must design a caching layer to offload these read-intensive queries. The caching solution must support multi-AZ replication to ensure high availability, automatic failover without application changes, and the capability to restore cached routing structures from disk in the event of a cache node restart. Additionally, the application requires sub-key eviction policies to purge specific route legs when driver status changes. Which configuration meets these requirements with the lowest operational complexity?
An enterprise runs a high-performance compute (HPC) financial simulation application on a fleet of Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The instances process incoming client requests, run resource-intensive simulations, and store large intermediate scratch files locally. The raw historical data models are hosted in an Amazon S3 bucket.
During market opening hours, the incoming request volume spikes instantly by . During these events, the ALB drops connections during the first five minutes of the traffic spike. Concurrently, the compute nodes experience severe write latency and CPU underutilization because the default EBS gp3 volumes () cannot keep up with the I/O throughput required for the intermediate scratch files.
Which two actions should the Solutions Architect take to resolve these bottlenecks? (Select TWO.)
Select all that apply
A logistics enterprise runs a real-time fleet tracking and route optimization application. The core system operates in the us-west-2 Region. The architecture consists of a shared services VPC hosting a latency-critical Kafka ingestion cluster, and ten regional ingestion VPCs in the same region. The regional VPCs receive continuous GPS telemetry from millions of IoT gateway devices over the internet, preprocess the messages on EC2 fleets, and forward them to the Kafka cluster.
Currently, all inter-VPC traffic is routed through a central AWS Transit Gateway. The telemetry preprocessing nodes experience frequent packet drops and microsecond latency spikes during peak hours, violating the strict sub-10ms data ingestion SLA. Additionally, the telemetry nodes fail to resolve the private DNS names of the Kafka brokers, which are defined in a Route 53 Private Hosted Zone (PHZ) in the shared services VPC. Outbound traffic to the on-premises database for metadata enrichment is routed via a single NAT Gateway in the shared services VPC.
The enterprise requires a solution that minimizes inter-VPC latency, ensures maximum throughput, maintains high availability for database enrichment routing, and resolves the DNS resolution failures.
Which of the following actions should the Solutions Architect recommend?
A smart grid IoT SaaS provider collects real-time power grid telemetry from millions of sensors. The ingestion tier runs on Amazon EC2 instances in an Ingestion VPC, and the analytics processing tier runs in a separate Processing VPC within the same AWS Region. Currently, the VPCs are connected via an AWS Transit Gateway. During peak demand, the processing tier experiences latency spikes and packet drops when retrieving large payload batches of bytes from the ingestion tier. Additionally, the processing instances resolve the ingestion tier's service endpoint using public DNS, which routes the traffic through NAT Gateways. The provider requires a solution that minimizes latency, maximizes throughput, and eliminates unnecessary data transfer costs. Which two actions should the Solutions Architect take to meet these requirements?
Select all that apply
A company runs a high-volume financial transaction application on Amazon EC2 instances within an Auto Scaling group (ASG) distributed across three Availability Zones (, , and ). The instances reside in private subnets and must connect to external payment APIs to process requests. All private subnets currently route internet-bound traffic through a single NAT Gateway located in a public subnet in . The application requires exactly minutes to bootstrap, initialize caches, and pass Application Load Balancer (ALB) health checks. During sudden, unscheduled traffic surges, the application experiences two main failures: first, the ALB drops requests and returns 503 errors before the ASG can scale; second, the ASG continuously launches new instances in rapid succession, resulting in severe over-provisioning and the premature termination of active instances. Additionally, a recent localized utility outage in disabled the single NAT Gateway, which halted all outbound payment processing for instances running in and .
Which TWO actions should the Solutions Architect take to resolve these issues while ensuring maximum fault tolerance and scaling efficiency?
Select all that apply
A company hosts a read-heavy web application on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The application layer is backed by an Amazon RDS for MySQL Multi-AZ DB instance, and the EC2 instances use attached Amazon EBS gp3 volumes to cache static assets. The company expects traffic to spike tenfold in less than 5 minutes due to a promotional event. Which two actions should a solutions architect recommend to optimize compute and storage performance, and ensure the system can handle the sudden surge?
Select all that apply
An enterprise runs a data processing application on Amazon EC2 instances in an application VPC within Account A. The application needs to retrieve daily encrypted logs from an Amazon S3 bucket located in Account B. The data transfer must be highly secure, must not traverse the public internet, and must enforce the principle of least privilege. The S3 bucket is currently encrypted using an AWS KMS key.
Which two actions should a Solutions Architect take to strengthen the identity, access, and network security for this data transfer?
Select all that apply
A financial services corporation is designing a new payment processing system across two AWS regions: `us-east-1` (Primary) and `us-west-2` (Secondary). In each region, they have deployed a production VPC (`VPC-Prod-US1` and `VPC-Prod-US2` respectively) and a shared services VPC (`VPC-Shared-US1` and `VPC-Shared-US2`). The company has two on-premises data centers connected to AWS via separate AWS Direct Connect connections terminating at different Direct Connect locations.
The architecture must satisfy the following design constraints:
1. Production VPCs in both regions must communicate with each other privately with low latency and high throughput.
2. Both on-premises data centers must have redundant, dynamically routed network paths to reach VPCs in both AWS regions.
3. Applications in the production VPCs must resolve private DNS names in a Route 53 Private Hosted Zone (PHZ) hosted in `VPC-Shared-US1`, as well as on-premises DNS records.
4. Outbound internet traffic from `VPC-Prod-US1` must be centralized through `VPC-Shared-US1` for security inspection, ensuring no single point of failure across Availability Zones.
Which of the following configurations should the solutions architect implement to meet all requirements?
A logistics company operates a fleet tracking application across multiple AWS accounts within an AWS Organization. The primary application tier runs in the `us-west-2` region under Account A (Production), and an active-passive disaster recovery (DR) environment is established in `us-east-1` under Account B (Disaster Recovery). The database layer uses Amazon Aurora PostgreSQL. The application servers, hosted on Amazon EC2 instances in private subnets across Availability Zones, depend on an internal API gateway deployed in a shared services VPC in Account C (Shared Services). This internal dependency is resolved privately using a Route Private Hosted Zone (PHZ) hosted in Account C.
During a disaster recovery simulation, the following issues were documented:
1. Outbound telemetry data transmission to external APIs failed when a single Availability Zone (AZ) in `us-west-2` experienced an outage, because all private subnets were routing internet-bound traffic through a single NAT Gateway located in that AZ.
2. When the primary database was manually stopped to simulate a regional failure, client traffic was not redirected to `us-east-1` because the Route failover routing policy was monitoring the Application Load Balancer (ALB) health, which remained healthy as the web servers were still running and returning a OK status.
3. After database failover to `us-east-1` was forced, the application servers in Account B failed to resolve the internal API gateway domain hosted in Account C.
Which set of actions will resolve these issues while meeting a target Recovery Time Objective (RTO) of minutes and a Recovery Point Objective (RPO) of minute?
An enterprise is launching a new platform in the us-east-1 Region across three AWS accounts. The network architecture consists of a production application VPC (vpc-production-app) running workloads in private subnets across three Availability Zones, a PCI-compliant payment processing VPC (vpc-payment-processing) running workloads in private subnets across two Availability Zones, and a shared egress VPC (vpc-shared-egress) containing NAT Gateways and AWS Network Firewall endpoints. Outbound internet access from the application and payment VPCs must be routed through the central firewall in vpc-shared-egress. The latency between vpc-production-app and vpc-payment-processing must be minimized, and data transfer costs must be optimized by keeping direct VPC-to-VPC traffic off the Transit Gateway. Finally, all VPCs must resolve DNS records in a Route 53 Private Hosted Zone (PHZ) named corp.internal hosted in a centralized services AWS account. The entire architecture must remain resilient to Availability Zone failures.
Which two design strategies should the Solutions Architect implement to meet these requirements? (Select TWO.)
Select all that apply
A solutions architect is designing the database strategy for a new Online Transaction Processing (OLTP) workload. The application requires a relational database, automatic failover with a Recovery Time Objective (RTO) of less than 120 seconds, and horizontal scaling of read throughput to handle traffic spikes. Which of the following database configurations meet these requirements? (Select TWO.)
Select all that apply