All practice questions
1964 questions
A utility company operates a critical smart grid telemetry application across two accounts in an AWS Organization: a Network account and a Workload account. The application currently runs in a single active Region (us-west-2). In the Workload account, the application tier consists of Amazon ECS tasks running on AWS Fargate in private subnets, fronted by an internal Application Load Balancer (ALB). The database tier runs on an Amazon Aurora PostgreSQL database cluster. The Workload VPC is connected to a central VPC in the Network account via an AWS Transit Gateway. Internal DNS resolution for grid.utility.internal is managed via a Route 53 Private Hosted Zone (PHZ) in the Network account, associated with the Network VPC.
The company needs to establish a Warm Standby disaster recovery (DR) solution in a secondary Region (us-east-1). The DR solution must support a Recovery Point Objective (RPO) of 5 minutes and a Recovery Time Objective (RTO) of 15 minutes.
Which architectural modification will meet these requirements while ensuring reliable failover and DNS resolution?
A company manages a multi-account environment using AWS Organizations. The application architecture spans several member accounts, utilizing Amazon EC2 instances in an Auto Scaling group, containerized microservices on AWS Fargate, and serverless background tasks running on AWS Lambda. To reduce compute costs, the solutions architect needs to recommend a Savings Plan to be purchased in the organization's management account. The plan must offer maximum flexibility to automatically apply to EC2, Fargate, and Lambda across all member accounts without requiring manual allocation. Which Savings Plan should the solutions architect recommend?
A retail corporation is designing a new multi-account AWS environment in the us-west-2 Region. The architecture contains three spoke VPCs named vpc-prod-spoke, vpc-dev-spoke, and vpc-test-spoke, along with a central shared services VPC named vpc-shared-services. The spoke VPCs require outbound internet access to download software updates and must resolve internal domain names hosted in a Route 53 Private Hosted Zone (PHZ) named corp.internal that is managed within vpc-shared-services. The solution must be highly resilient across multiple Availability Zones, minimize configuration complexity, and prevent transitive routing limitations. Which architecture meets these requirements?
A gaming company has a telemetry platform deployed across two AWS accounts: Account A holds the primary application tier (Application Load Balancer (ALB) and Amazon EC2 instances in us-east-1) and Account B holds the disaster recovery warm standby tier (ALB and EC2 instances in us-west-2). The database layer is an Amazon Aurora Global Database spanning both Regions. The company's private internal network resolution uses a Route 53 Private Hosted Zone (PHZ) hosted in Account A.
During a simulated outage of the us-east-1 Region, internal services in Account B were unable to resolve the database and application endpoints, and Route 53 failed to automatically redirect internal client traffic to the secondary ALB. Additionally, the Solutions Architect must ensure outbound traffic from the secondary application tier in us-west-2 has redundant paths to the internet to prevent single-AZ failures from blocking replication or telemetry collection.
Which TWO steps should the Solutions Architect take to resolve these issues and ensure reliable multi-region failover? (Select TWO.)
Select all that apply
A financial services company manages its infrastructure across multiple AWS accounts within an AWS Organization. A central operations account is used to deploy and manage a standardized baseline of VPC security groups across all member accounts using AWS CloudFormation StackSets. The templates are stored in an Amazon S3 bucket in the operations account, which is encrypted using an AWS KMS key. The security policy requires that any manual modifications to these managed security groups in the member accounts must be automatically detected and remediated within one hour. Additionally, updates to the security group baseline templates must be rolled out incrementally; if a deployment fails in any single member account, the rollout must stop immediately and the affected account must be rolled back, without impacting other compliant accounts. Which combination of actions will meet these requirements in the most secure and automated manner?
A company needs to migrate of data from an on-premises SMB file share to Amazon S3. The company has a internet connection, but production traffic limits the available bandwidth for the migration to . The migration must be completed within while minimizing overall transfer time. Once the bulk data is migrated, the company wants to continuously sync daily incremental changes over the network. Which two actions should the company take to meet these requirements?
Select all that apply
A ride-hailing company operates its dispatch system on AWS, tracking real-time driver coordinates and matching them with passengers. The platform currently uses a single multi-AZ Amazon RDS for PostgreSQL database instance to store and update active driver coordinates and trip states. During peak hours, driver mobile applications update their GPS coordinates every 3 seconds, causing the database CPU utilization to exceed 90%. Simultaneously, passenger applications run frequent read-heavy geospatial queries to locate nearby drivers, resulting in query timeouts. The company needs an architectural improvement that reduces database CPU utilization, provides sub-millisecond latency for location queries, and guarantees high availability and zero data loss for active session states in the event of an infrastructure failure. Which database and caching strategy should a solutions architect implement to resolve these performance issues?
An enterprise operates a legacy monolithic application deployed on a fleet of Amazon EC2 instances across multiple member accounts in an AWS Organizations organization. The application writes log events to a local file at `/var/log/app/app.log`. A local cron utility rotates these logs hourly, renaming the active file to `/var/log/app/app.log.YYYY-MM-DD-HH` and compressing it. A solutions architect needs to design a centralized logging solution to stream these logs to a central Amazon S3 bucket in a dedicated logging account for audit compliance and near-real-time security analysis. Which combination of steps should the solutions architect take to implement this solution? (Choose two.)
Select all that apply
An organization plans to host a lightweight inventory management service classified as an Online Transaction Processing (OLTP) workload. The service uses a relational database and requires low read latency as its key performance indicator during sudden, unpredictable query spikes, while keeping database costs low during idle periods.
Which database and storage strategy meets these requirements with the minimum operational overhead?
A logistics company collects real-time vehicle telemetry data using a custom logging framework running on a fleet of Amazon EC2 instances in an Auto Scaling group. The logging framework rotates the log files hourly, renaming them using the pattern `/var/log/telemetry/telemetry-YYYY-MM-DD-hh.log`. The operations team wants to stream these logs to Amazon CloudWatch Logs using the CloudWatch agent, and then use Amazon Kinesis Data Firehose to deliver them to a centralized Amazon S3 bucket in a dedicated security account. Currently, logs are not appearing in the central S3 bucket after the first hour of EC2 instance launch. Which two actions should the solutions architect take to resolve the logging delivery failures and ensure operational excellence? (Select TWO.)
Select all that apply
A company needs to migrate two components of an application to AWS:
1. A front-end web server running on virtual machines that must be migrated quickly to meet a datacenter exit deadline, without modifying the operating system or application code.
2. A backend database currently running on an on-premises Oracle Database. The company wants to migrate this to Amazon Aurora PostgreSQL to save on licensing costs and modernize the database layer.
Which migration strategies from the 7 Rs framework should the company select for these two components? (Select TWO.)
Select all that apply
A financial services company is enhancing data protection and compliance across its multi-account AWS environment managed via AWS Organizations. A solutions architect must design a centralized logging solution to consolidate AWS CloudTrail logs from all member accounts into a single Amazon S3 bucket located in a dedicated Security account. The logs must be encrypted at rest using a custom key with automatic rotation, and the solution must guarantee that the logs cannot be tampered with or deleted by unauthorized administrators in the member accounts. Which of the following actions should the solutions architect take to implement this securely? (Select TWO.)
Select all that apply
A company is planning to migrate its legacy on-premises Oracle database to an Amazon Aurora MySQL-Compatible Edition DB cluster. The database contains critical transaction tables, and the migration must minimize downtime by using continuous replication. The database size is , and the network connection between the on-premises data center and AWS is a VPN link. Which two of the following actions must the solutions architect perform to convert the schema and replicate the data successfully?
Select all that apply
An enterprise operates a payment processing application in the us-east-1 Region. The application runs on Amazon ECS tasks (AWS Fargate) behind an Application Load Balancer (ALB). The database tier consists of an Amazon Aurora PostgreSQL cluster. Outbound transactions to external payment gateways are routed through a single NAT Gateway in us-east-1. The company needs to design a disaster recovery (DR) solution in the us-west-2 Region. The solution must achieve a Recovery Time Objective (RTO) of less than 15 minutes and a Recovery Point Objective (RPO) of less than 1 minute, while also eliminating single points of failure for outbound external traffic. Which combination of actions should the Solutions Architect take to enhance reliability and meet the disaster recovery objectives? (Select TWO.)
Select all that apply
An organization has a fleet of EC2 instances running in a private subnet in `us-east-1` that downloads of data monthly from Amazon S3 buckets located in the same Region. Currently, all outbound internet traffic, including the S3 traffic, flows through a NAT Gateway. In addition, the organization stores of raw application logs in an Amazon S3 Standard bucket. Analysis of log access patterns shows these logs are rarely accessed after days, but they must be retained for year for compliance audits.
Which combination of actions should the Solutions Architect take to reduce both storage and data transfer costs in the most cost-effective manner? (Select TWO.)
Select all that apply
A retail enterprise operates a high-throughput transaction processing application deployed on a fleet of Amazon EC2 instances across 50 member accounts. The accounts are managed under a single organization in AWS Organizations. The application logs transaction events locally to `/var/log/transactions/app.log`. The files undergo hourly rotation by `logrotate` and are renamed to `/var/log/transactions/app.log-YYYYMMDD-HH`.
A Solutions Architect must design a centralized, near-real-time logging solution to aggregate these application logs into a single Amazon S3 bucket in a dedicated logging account. The solution must minimize log duplication, ensure no logs are lost during rotation, and avoid the administrative overhead of deploying streaming infrastructure in every member account.
Which two configurations should the Solutions Architect implement to meet these requirements?
Select all that apply
A digital media platform hosts a live-streaming transcoding application on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The instances are deployed across three Availability Zones (, , and ) in private subnets. Outbound connectivity to external video ingestion APIs is routed through a single NAT Gateway located in .
During scheduled major sporting events, traffic spikes instantly from to requests per second. During these events, two major failures occur:
1. The ALB drops initial connections with HTTP and errors.
2. The ASG launches a large number of instances that remain in a pending state while downloading and compiling transcoding binaries (which takes minutes). Because the average CPU utilization remains high during this startup window, the ASG continuously launches more instances than required, causing a severe cost overrun.
The company requires a solution that eliminates connection drops, prevents over-provisioning during scale-out, and ensures that outbound connectivity is resilient to an Availability Zone outage. Which solution meets these requirements with the lowest operational overhead?
An enterprise is designing a multi-account AWS environment in the `us-east-1` Region. The architecture requires connecting a production workload VPC (`vpc-secure-compute`) in Account 1 with a shared services VPC (`vpc-shared-services`) in Account 2, and a centralized egress security VPC (`vpc-egress-security`) in Account 3.
The networking requirements are as follows:
- Workloads in `vpc-secure-compute` are deployed across two Availability Zones (`us-east-1a` and `us-east-1b`).
- Workloads in `vpc-secure-compute` must access a Private Hosted Zone (PHZ) named `internal.services` hosted in Account 2.
- All outbound internet traffic from `vpc-secure-compute` must be routed through `vpc-egress-security`, where it is inspected by stateful virtual firewall appliances behind an AWS Gateway Load Balancer (GWLB).
- Traffic from `vpc-secure-compute` to `vpc-shared-services` must bypass the firewall appliances and route directly.
- The network must be highly available and resilient to Availability Zone failures, with no risk of asymmetric routing or single points of failure.
- A Transit Gateway (`tgw-central`) in Account 4 is shared with all accounts.
Which TWO actions should the solutions architect perform to meet these requirements?
Select all that apply
A startup is designing a new web application that allows users to upload profile pictures and view their user profile details. The profile photos are unstructured files up to in size, and the profile details consist of structured, schema-flexible data. The application requires a storage and database strategy that is highly available, cost-effective, and automatically scales to handle highly variable read traffic. Which two database and storage configurations should the solutions architect choose to meet these requirements?
Select all that apply
An enterprise is designing a new multi-VPC application in the eu-west-1 Region. The architecture consists of two spoke VPCs (vpc-app-prod and vpc-db-prod) and a centralized egress VPC (vpc-egress-prod). All VPCs are deployed across three Availability Zones. Outbound internet traffic from the spoke VPCs must be securely routed through the egress VPC. Additionally, instances in the spoke VPCs must resolve private DNS names hosted in a Route 53 Private Hosted Zone (PHZ) named corp.internal, which is managed in a separate Shared Services AWS account. The solution must ensure high availability across all Availability Zones.
Which of the following configurations should the Solutions Architect implement to meet these requirements? (Select TWO.)
Select all that apply