All practice questions
1964 questions
A company operates a critical telemetry analytics platform across multiple AWS accounts. The primary ingestion workload runs in a VPC in the us-west-2 Region, containing Amazon EKS clusters that write to an Amazon Aurora PostgreSQL DB cluster. The database contains proprietary configurations encrypted with an AWS KMS customer managed key. The disaster recovery (DR) target is the us-east-1 Region. The company needs to configure a DR solution that meets an RPO of less than 1 minute and an RTO of less than 15 minutes. Additionally, internal EKS microservices in both regions must resolve the internal database endpoint using a shared Route 53 Private Hosted Zone (PHZ) named corp.internal. Which TWO actions should the Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
An enterprise is migrating its core on-premises transaction processing systems to AWS using AWS Application Migration Service (MGN). The architecture utilizes a 10 Gbps AWS Direct Connect connection terminating at an AWS Transit Gateway in a centralized Network Services VPC. The replication traffic is directed to a dedicated Staging Area VPC. While the MGN replication agent was successfully installed on all on-premises servers using HTTPS port 443, the replication status on the AWS Migration Hub console remains in a 'Stalled' state, and no data blocks are being synchronized. The network team confirms that the Transit Gateway has active attachments to the Staging Area VPC and routing tables are properly configured. Which combination of network and security configurations will resolve this replication stall while maintaining high availability and AWS best practices?
An enterprise SaaS provider hosts a subscription management billing application on AWS. The application uses an Amazon Aurora PostgreSQL database cluster to manage subscriber billing profiles, transaction history, and subscription statuses. During monthly recurring billing runs and peak customer login windows, the Aurora DB cluster experiences significant CPU utilization spikes (over 90%) and database connection limits are frequently reached, leading to transaction timeouts. Analysis reveals two main issues: first, the application performs frequent read queries to retrieve static plan definitions and subscriber metadata that rarely change; second, high-volume write transactions update subscriber payment status, but subsequent immediately-triggered customer notifications trigger read queries seeking the newly updated subscription status, which requires absolute data consistency and must be highly available with automatic failover. Which TWO actions should the Solutions Architect recommend to improve database and caching efficiency? (Select TWO.)
Select all that apply
A SaaS-based marketing automation platform stores tenant campaign configurations in a single-instance Amazon RDS for PostgreSQL database. During peak campaign execution windows, read query volume increases significantly, causing the database CPU utilization to exceed 90% and campaign delivery latencies to rise. The Solutions Architect must implement a caching solution to reduce the database load. The cached configuration data must survive cache node failures without causing a cache miss storm on the database, and the cache layer must support automatic failover. Which of the following caching strategies should the Solutions Architect implement to meet these requirements?
A retail company is designing a new cloud infrastructure on AWS. The design requires two VPCs in the us-west-2 region: vpc-app-prod, which hosts application servers across two Availability Zones (us-west-2a and us-west-2b), and vpc-egress-shared, which is dedicated to centralized outbound internet traffic. An AWS Transit Gateway (tgw-main) is deployed to interconnect the VPCs. Additionally, a Route 53 Private Hosted Zone (PHZ) named prod.corp.internal is hosted in the AWS account managing vpc-egress-shared. The company requires a highly available network design that prevents single points of failure for outbound traffic, supports private DNS resolution of prod.corp.internal from the application servers, and minimizes operational complexity. Which of the following designs best meets these requirements?
A company is migrating an on-premises self-managed MySQL database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The source database contains critical application data and tables with binary files stored in `LONGBLOB` columns, with the largest record sized at . A solutions architect uses the AWS Schema Conversion Tool (AWS SCT) to convert the database schema and custom functions, which are then successfully applied to the target Aurora DB cluster. The architect then configures an AWS Database Migration Service (AWS DMS) task with Full Load and Ongoing Replication (Change Data Capture) enabled to migrate the data. Shortly after the task starts, the full load completes successfully, but the task immediately fails when entering the ongoing replication phase. The task logs indicate that AWS DMS is unable to read the transaction logs from the source database. Which of the following configurations should the solutions architect apply to resolve this failure and optimize the transfer of the `LONGBLOB` data with minimal downtime?
A logistics enterprise is planning the migration of its application portfolio to AWS. During the assessment phase, the solutions architect identifies the following systems:
1. A proprietary Java-based order processing system. The business wants to modernize this application by breaking the monolith into independent, serverless microservices to support rapid scaling.
2. A commercial off-the-shelf billing application that runs on Microsoft SQL Server. The application vendor supports Amazon RDS, and the operations team wants to eliminate database administration tasks such as operating system patching and hardware provisioning. No changes to the database schema or application code are allowed.
3. A legacy inventory tracking system that is fully redundant and has already been replaced by a modern Software-as-a-Service (SaaS) solution.
Which migration strategies should the solutions architect select for these systems under the 7 Rs framework? (Select TWO.)
Select all that apply
An enterprise is planning to migrate a business-critical inventory management and dispatch system to AWS. The system consists of three distinct application components:
1. Order Processing Core: A monolithic Java application running on Red Hat Enterprise Linux (RHEL). It relies on a proprietary local message queuing middleware. The business wants to break down this monolith into microservices, containerize it using AWS Fargate, and replace the proprietary middleware with Amazon Simple Queue Service (SQS) to improve scalability and eliminate licensing costs. The company has assigned a dedicated team with a 6-month timeline for this work.
2. Inventory Database: An Oracle Database 19c Enterprise Edition instance running on-premises, using advanced PL/SQL stored procedures. To avoid high migration risk and schema conversion complexity, the database engine must remain unchanged, but the business wants to eliminate hardware provisioning, backups, and OS patching overhead.
3. Legacy Shipping Label Generator: A legacy 32-bit application running on an old Windows Server 2008 R2 server. The source code is lost, and the software vendor is out of business, but the utility must be kept running as-is. It has no external dependencies. The enterprise plans to use AWS Application Migration Service (MGN) to copy the server block-by-block to an Amazon EC2 instance with minimal downtime and no software changes.
Which of the following migration strategies represent the correct alignment with the AWS 7 Rs framework for these components? (Select TWO)
Select all that apply
A sports broadcasting network hosts a live streaming platform where real-time game metadata is stored in an Amazon RDS for PostgreSQL DB instance. During major sporting events, concurrent user requests spike tenfold, causing CPU utilization on the database to reach and metadata query response times to degrade from milliseconds to over seconds. The application team notes that the query workload is highly repetitive and read-heavy. The solutions architect must implement a caching solution that achieves sub-millisecond query latency, supports automatic replication and node failover across multiple Availability Zones, and provides the ability to persist cache snapshots to Amazon S3. Which architecture should the solutions architect implement to resolve the performance bottleneck?
A company is migrating a high-throughput, on-premises Oracle database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The migration strategy requires minimal downtime, and a solutions architect has configured AWS DMS with a Change Data Capture (CDC) replication task. During testing, the source Oracle database experiences extremely high CPU utilization, and the DMS task cannot keep up with the volume of changes. Which of the following solutions should the solutions architect implement to reduce CPU utilization on the source database and improve CDC performance?
A healthcare enterprise is planning to migrate its patient portal and billing system to AWS. The migration must be completed within 3 months, and the team has minimal developer resources to modify application code. An assessment of the current architecture reveals three primary components:
1. A web frontend running on Windows Server 2012 R2. The enterprise wants to eliminate OS-level licensing and patching overhead, but the .NET application code cannot be rewritten.
2. A backend database running on Oracle Database 19c Enterprise Edition. The database relies heavily on complex PL/SQL stored procedures that are tightly coupled with the frontend. A database downtime window of less than 2 hours is required, and administrative overhead must be minimized.
3. A legacy reporting engine running on IBM AIX that requires a physical USB licensing dongle connected to the server.
Which combination of migration strategies represents the most appropriate alignment with the 7 Rs framework?
A financial services company runs a transaction processing workload in a dedicated member account of an AWS Organization. The architecture consists of the following components:
- An Amazon ECS cluster running tasks on AWS Fargate across two Availability Zones (AZs) for stateless APIs.
- A fleet of Amazon EC2 instances ( instances: , memory) in an Auto Scaling group across two AZs for message processing.
- Outbound traffic to external payment gateways routed through redundant NAT Gateways (one per AZ).
Performance monitoring over the past reveals the following utilization metrics:
| Resource Type | Current Specification | Average CPU Utilization | Peak Memory Utilization |
|---|---|---|---|
| ECS Fargate Tasks | Dynamic | ||
| EC2 Instances | (, memory) |
The company wants to optimize resource costs while maintaining high availability, ensuring zero application downtime during configuration changes, and securing a discount commitment. Which of the following strategies should a Solutions Architect recommend to optimize resource costs while meeting all performance, high availability, and operational requirements?
A company is reviewing the security configuration of an application running on Amazon EC2 instances in a production VPC in Account A. The application reads daily transaction files from an Amazon S3 bucket in a shared services VPC in Account B. Both accounts belong to the same AWS Organization. Currently, the S3 bucket is encrypted using the default AWS-managed KMS key (`aws/s3`). The application accesses the S3 bucket over the public internet using an IAM role in Account A. The security team requires that all network traffic between the application and the S3 bucket must remain within the AWS private network, S3 bucket access must be restricted to only traffic originating from the production VPC, and cross-account decryption capability must follow the principle of least privilege. Which combination of configuration changes will meet these security requirements?
A digital payment processing company hosts its core transaction API on Amazon EC2 instances within an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The instances are deployed across three Availability Zones in private subnets, and outbound calls to external financial endpoints are routed to the internet. The EC2 instances require approximately minutes to fully bootstrap, install security agents, and download application assets before they are ready to handle traffic.
During periodic flash-sale events, the system experiences the following issues:
- The transaction rate increases from requests per second (RPS) to RPS in less than minutes, leading to high packet loss and Gateway Timeout errors at the ALB level.
- During scale-out events, the ASG launches a large number of EC2 instances that far exceed the required capacity, resulting in significant over-provisioning and increased compute costs.
- If one Availability Zone experiences a localized outage, outbound API requests to external financial endpoints fail for web instances located in all Availability Zones.
Which three actions should the solutions architect take to resolve these scaling, reliability, and connectivity issues?
Select all that apply
A global logistics provider is designing a high-volume, multi-region track-and-trace system. The application consists of an OLTP database for package lifecycle events and an object storage component for proof-of-delivery signature images. The system must run across us-west-2 as the primary region and us-east-1 as the secondary region. The business requires a Recovery Time Objective (RTO) of less than 5 minutes and a Recovery Point Objective (RPO) of less than 10 seconds for all components. The security team mandates encryption at rest using AWS KMS Customer Managed Keys (CMKs). A separate audit account must have direct access to read database logs and S3 bucket access logs for compliance verification.
Which database and storage configurations should a solutions architect recommend to satisfy these requirements? (Select TWO.)
Select all that apply
A retail company operates a mobile shopping application. The application's backend is hosted on Amazon EC2 instances in an Auto Scaling group (ASG) across three Availability Zones. Outbound API calls to external payment gateways are routed from private subnets through a single NAT Gateway located in one public subnet. During a simulated flash sale, traffic increases from to requests per minute in less than minutes. During testing, the Availability Zone containing the NAT Gateway experienced a simulated outage, which disrupted all external payment processing. Additionally, the EC2 instances require minutes to complete bootstrapping and application initialization, but the ASG's cooldown period is set to seconds, causing the ASG to launch redundant instances before the previously launched instances can begin serving traffic and reduce metric load. Which combination of actions should the solutions architect take to resolve these scaling and reliability issues with the lowest operational overhead?
A healthcare provider is deploying a patient management platform across multiple AWS accounts in the us-east-1 region. The platform requires high-speed, secure, and private connectivity between three Application VPCs (vpc-app-a, vpc-app-b, vpc-app-c) and a Shared Services VPC (vpc-shared). The application instances must resolve internal domain names registered in a Route 53 Private Hosted Zone (PHZ) hosted in vpc-shared. Additionally, instances in the Application VPCs must access the internet for software updates, but they do not have public IP addresses and cannot receive inbound connections from the internet. The architecture must minimize latency, ensure high availability across Availability Zones, and avoid single points of failure.
Which combination of networking actions should a Solutions Architect implement to meet these requirements? (Select TWO.)
Select all that apply
A media streaming company uses AWS Organizations to manage its multi-account environment. The security team enforces that all VPC security groups in member accounts are deployed and updated exclusively via a centralized CI/CD pipeline using AWS CloudFormation StackSets from a central Administration account. The security team must implement a solution to detect any manual modifications to these security groups, automatically revert the resources to their template-defined state, and log the remediation details to a centralized Amazon S3 bucket in a Security account. The S3 bucket must be encrypted, and all operations must adhere to the principle of least privilege. Which strategy should a solutions architect implement to meet these requirements?
An enterprise operates a high-throughput data analytics platform on AWS in the `us-east-1` Region. The architecture consists of a production VPC (`VPC-Prod`) spanning three Availability Zones (AZ-a, AZ-b, and AZ-c) containing a fleet of Amazon EC2 instances in private subnets. These instances upload approximately of raw data monthly to an Amazon S3 bucket located in the same Region. Currently, the EC2 instances route all outbound internet and S3 traffic through NAT Gateways deployed in each AZ.
Additionally, the EC2 instances perform daily synchronization tasks with a shared PostgreSQL database cluster hosted in a central services VPC (`VPC-Shared`) in `us-east-1`. This database synchronization transfers of data monthly. Currently, this traffic is routed through an AWS Transit Gateway, with the Transit Gateway attachment configured only in a single subnet in AZ-a within `VPC-Prod`.
A Solutions Architect needs to optimize the architecture to achieve the maximum possible reduction in data transfer and processing costs without compromising availability or security.
Which combination of actions should the Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
A media streaming company manages three AWS accounts (Development, Staging, and Production) under an AWS Organization with consolidated billing. The Production account runs a steady-state application on a fleet of EC2 instances, with supplementary microservices deployed on AWS Fargate and AWS Lambda. The private subnets in the Production VPC route all outbound traffic through a pair of NAT Gateways (one in each Availability Zone) to access Amazon S3 and Amazon DynamoDB. The Development account contains several EC2 instances that run continuously but are only needed during working hours (). The Solutions Architect needs to implement cost-optimization strategies that reduce overall expenditure without compromising the high availability of production workloads. Which of the following actions should the Solutions Architect recommend? (Select TWO.)
Select all that apply