All practice questions
1964 questions
An organization is migrating its on-premises inventory databases to AWS using AWS Application Migration Service (MGN). The on-premises data center is connected to AWS via a 10 Gbps AWS Direct Connect (DX) connection terminating on a Transit Gateway in a central Shared Services VPC. The staging area subnets are deployed in this VPC and must remain isolated from the public internet due to security compliance rules. All migration replication traffic must travel securely over the private DX connection. Which of the following configuration steps must be performed to establish replication and ensure control plane communication under these constraints? (Select TWO.)
Select all that apply
A company is migrating a critical on-premises Oracle database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The database contains several tables with high-volume transaction writes and columns containing Large Objects (LOBs) that average but can reach up to in size. To minimize downtime, the solutions architect plans to use the AWS Schema Conversion Tool (AWS SCT) and AWS Database Migration Service (AWS DMS) for Change Data Capture (CDC). The migration must minimize the CPU overhead on the production Oracle source database and ensure that no LOB data is truncated during the replication. Which configuration should the solutions architect implement to meet these requirements?
An enterprise runs a distributed data processing application in Account A. The application runs on Amazon EC2 instances in a VPC in the (Oregon) Region across three Availability Zones. Every month, the EC2 instances retrieve of raw telemetry data from an Amazon S3 bucket located in the Region in Account B (Shared Services). After processing, the application writes of transformed data to a central analytics S3 bucket in the (N. Virginia) Region in Account C (Analytics).
Currently, the VPC in Account A has a single NAT Gateway in one Availability Zone. All traffic to S3 is routed through this NAT Gateway. A Solutions Architect notices that the monthly AWS bill shows extremely high NAT Gateway data processing charges and inter-Region data transfer costs. The company wants to minimize these costs while maintaining a secure and highly available architecture.
Which configuration is the most cost-effective and architecturally sound?
An enterprise manages a multi-account environment under AWS Organizations with consolidated billing enabled. The production workloads must maintain high availability across three Availability Zones with minimal administrative overhead. The current infrastructure includes the following components:
* Compute: An Auto Scaling group in Account A running Linux x86_64 Amazon EC2 `m6i.4xlarge` instances 24/7. Monitoring shows CPU utilization is consistently between and , and memory utilization is under . No code changes or recompilations are permitted.
* Serverless: Containerized microservices running on AWS Fargate in Account A. The tasks are allocated vCPUs and of RAM, with average CPU and memory utilization at .
* Database: A transactional write-heavy Amazon Aurora PostgreSQL DB cluster in Account B running on a single `db.r6g.4xlarge` instance. The database CPU utilization averages but spikes to daily for a 1-hour batch ingestion process.
* Network: Outbound traffic to the internet from private subnets in Account C is routed through a single NAT Gateway in Availability Zone `us-east-1a` to minimize processing costs.
Which two of the following recommendations should the Solutions Architect make to optimize resource costs and sizing without introducing code changes, risking service downtime, or compromising high availability? (Select TWO.)
Select all that apply
A sports media company runs a live game-tracking application that uses an Amazon RDS for MySQL Multi-AZ DB instance as its data store. During major tournaments, the application experiences a surge in read traffic, with users frequently querying match statistics that do not change often. This read traffic causes the database CPU utilization to exceed , resulting in latency and connection timeouts. The architecture requires a highly available caching layer that supports replication to offload read traffic and reduce database latency. Which TWO actions should the Solutions Architect take to optimize database and caching efficiency while meeting these requirements? (Select TWO.)
Select all that apply
An enterprise wants to enforce a consistent configuration baseline across all Amazon EC2 instances in its AWS Organization. The baseline configuration requires that a specific third-party security daemon is installed and continuously running on all instances. During routine troubleshooting, developers occasionally stop this daemon, creating security non-compliance. A solutions architect needs to design an automated solution that detects and automatically remediates this configuration drift with the least operational overhead. Which of the following is the most efficient and compliant solution to meet these requirements?
An enterprise has a multi-account AWS environment. Account A (Shared Services) hosts a private Amazon API Gateway API. Account B (Production) has Amazon EC2 instances running in a private subnet that must invoke this private API. Network connectivity between Account A's VPC and Account B's VPC is established via an AWS Transit Gateway. A Solutions Architect must strengthen the identity and network security posture of this existing integration. The traffic must remain private, be restricted to Account B's VPC, and the API must only be invocable by a specific IAM role (API-Invoker-Role) assigned to the EC2 instances in Account B. Which of the following actions should the Solutions Architect take to meet these requirements? (Select two.)
Select all that apply
A global financial enterprise manages a multi-account environment using AWS Organizations. The central security team mandates that a security monitoring agent must run continuously on all Amazon EC2 instances across all member accounts. The installation and configuration of this agent are automated using AWS Systems Manager State Manager associations. Recently, the security team discovered that local administrators in several member accounts have manually disabled the Systems Manager agent on their instances or deleted the State Manager associations to bypass monitoring. A solutions architect must design an automated solution to detect and remediate this configuration drift while restricting member accounts from tampering with the security configurations. Which TWO actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A media broadcasting platform operates a real-time interactive audience response system on Amazon EC2 instances in an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The instances run in private subnets across two Availability Zones (AZ-A and AZ-B). A single NAT Gateway is deployed in AZ-A to enable outbound internet access for API integrations.
During a scheduled live broadcast, traffic spikes instantly from 500 requests per second to over 80,000 requests per second within 90 seconds. The application experiences elevated latencies, HTTP 503 Service Unavailable errors, and connection timeouts. A review of CloudWatch metrics shows:
1. The ALB drops connections immediately at the start of the traffic surge due to capacity constraints before it can scale.
2. The ASG launches new instances in response to CPU utilization metrics, but because the custom application initialization script takes 150 seconds to complete, the ASG continues to launch additional, unnecessary instances every 60 seconds.
3. An infrastructure outage in AZ-A causes outbound API calls on instances in AZ-B to fail.
Which combination of actions will resolve the scalability and fault-tolerance issues while preventing the provisioning of unnecessary instances?
A smart home IoT provider runs an ingestion service on Amazon EC2 instances in an Auto Scaling group (ASG) behind a Network Load Balancer (NLB) across two Availability Zones. The EC2 instances reside in private subnets and must access the internet to verify device firmware signatures. Outbound internet traffic is routed through a single NAT Gateway in one of the public subnets. During scheduled device update windows, traffic increases instantly by . The ASG fails to launch new instances quickly enough to handle the sudden load, causing connection timeouts. Additionally, any outage in the Availability Zone hosting the NAT Gateway halts firmware verification for all instances. Which two actions should a solutions architect take to resolve these issues?
Select all that apply
A company is designing a new multi-VPC architecture on AWS in the eu-central-1 region. The architecture consists of vpc-app-prod (hosting production workloads across two Availability Zones) and vpc-shared-services (hosting centralized security tooling). The company has an on-premises data center that requires high-performance, private network connectivity to both VPCs using a dedicated AWS Direct Connect connection. Workloads in both VPCs must have outbound internet connectivity for software updates while maintaining high availability.
The DNS resolution requirements are as follows:
- Workloads in both VPCs must resolve private DNS names in the on-premises domain corp.internal.
- Workloads in vpc-app-prod must resolve private DNS hostnames for resources in vpc-shared-services hosted in a Route 53 Private Hosted Zone (PHZ) named shared.aws.internal.
Which design option meets these requirements with the lowest operational complexity while ensuring high availability and complete connectivity?
A financial technology company operates a stock trading platform where user portfolios and real-time transaction histories are stored in an Amazon Aurora MySQL database cluster. During periods of high market volatility, the database writer node experiences performance degradation due to high CPU utilization from a surge in application connection requests, and the read replicas experience significant replication lag. This replication lag causes users to view stale portfolio balances, leading to duplicate transaction attempts. The platform requires real-time read access to portfolio data with sub-millisecond latency, transaction session state persistence, and minimal database load.
Which combination of actions will resolve these issues while meeting the requirements? (Select TWO.)
Select all that apply
A fleet telematics platform for a global shipping company tracks container location, internal temperature, and humidity sensors. The telemetry data ingestion service writes updates to an Amazon RDS for PostgreSQL DB instance. A fleet dashboard application frequently queries the database to retrieve the latest state configurations for thousands of active containers. During shift handovers, query volume to retrieve container state configurations spikes dramatically, causing the RDS DB instance to reach 98% CPU utilization and leading to timeout errors in the dashboard. The container state configuration data is highly repetitive, must survive cache node restarts, and requires high availability with sub-millisecond read latency and automatic failover across multiple Availability Zones. Which of the following database and caching strategies should a Solutions Architect implement to resolve the performance bottleneck while meeting the availability and latency requirements?
A logistics enterprise is designing a real-time global shipment tracking system. The system must process high-frequency status updates (OLTP NoSQL) from delivery agents across two primary regions: and . Read and write operations must be supported locally in both regions with sub- latency, automatically resolving write conflicts based on the latest physical timestamp. The disaster recovery requirements specify a Recovery Time Objective (RTO) of less than and a Recovery Point Objective (RPO) of less than . Furthermore, the raw tracking telemetry must be exported hourly to an Amazon S3 bucket located in a centralized analytics AWS account within a separate AWS organization. Corporate security policies require all data at rest to be encrypted. To prevent unauthorized access, the encryption keys must support cross-account policy delegation, and the destination S3 bucket must enforce secure transport. Which database and storage architecture meets these requirements with the lowest operational complexity?
A global energy trading firm is designing a high-throughput settlement ledger system (OLTP workload) that must span two AWS Regions: us-east-1 (primary) and us-west-2 (secondary) to support near-real-time transactions. The database requires strict ACID compliance and must handle high-volume write transactions in the primary region, while read traffic must scale horizontally in both regions to support analyst dashboards. The architecture must satisfy a Recovery Point Objective (RPO) of 1 minute and a Recovery Time Objective (RTO) of 5 minutes. Additionally, security compliance mandates that the database be encrypted at rest using Customer Managed Keys (CMKs) and all database audit logs must be securely centralized in an Amazon S3 bucket located in a dedicated, separate security account. Which design strategy meets these database performance, disaster recovery, and security compliance requirements?
An enterprise is planning to migrate an on-premises Oracle 19c database containing several tables with large binary objects (LOBs) and complex PL/SQL packages to Amazon Aurora PostgreSQL-Compatible Edition. The migration must minimize downtime and maintain transactional consistency. Which actions should the Solutions Architect recommend to achieve this? (Select two.)
Select all that apply
An enterprise manages a multi-account environment under AWS Organizations with consolidated billing enabled. In one member account, a critical production workload consists of:
* An Amazon ECS on AWS Fargate application running 20 tasks continuously across three Availability Zones (AZs). Each task is configured with 4 vCPU and 16 GB of memory. CloudWatch metrics over the past 90 days show that CPU utilization averages , while memory utilization peaks at during daily traffic spikes.
* A stateful processing layer consisting of 6 self-managed EC2 instances in an Auto Scaling group running on `m6i.2xlarge` instances ( vCPU, GiB RAM) across two AZs. CloudWatch metrics show average CPU utilization at and memory utilization at , but the application experiences occasional, unpredictable network throughput bursts.
* Outbound internet traffic for both the ECS tasks and the EC2 instances is routed through a single NAT Gateway located in a public subnet in AZ-A to minimize running costs.
The company wants to optimize its infrastructure costs while maintaining high availability, ensuring performance during peak loads, and maximizing the discount from Savings Plans across the entire AWS Organization.
Which set of actions will achieve the maximum cost optimization while satisfying all availability and performance requirements?
An enterprise is planning to migrate its application portfolio to AWS. During the discovery phase, a solutions architect assesses the following workloads and constraints:
* Supply Chain Portal: An IIS-based web application running on Windows Server 2016. The team wants to migrate the application with minimal changes, but wants to eliminate the overhead of operating system patching and infrastructure management by utilizing a managed service.
* Inventory Database: A business-critical Oracle Database Enterprise Edition with extensive PL/SQL stored procedures. The enterprise wants to eliminate commercial database licensing costs by migrating to Amazon Aurora PostgreSQL.
* Historical Document Archive: A 150 TB network-attached storage (NAS) share containing PDF documents. The migration must complete within a strict 10-day maintenance window. The company's outbound internet connection is limited to 50 Mbps.
Which of the following migration strategies or approaches should the solutions architect select? (Select TWO.)
Select all that apply
An enterprise manages its multi-account environment using AWS Organizations. The central platform team maintains a dedicated CI/CD tooling account, while applications run in separate member accounts. A critical microservice hosted on Amazon ECS (Fargate) in a member application account needs its deployment process automated.
The platform team designs a cross-account pipeline in the tooling account using AWS CodePipeline. The pipeline builds the container image, pushes it to Amazon ECR, and triggers AWS CodeDeploy in the member application account to perform a blue/green deployment. The deployment must meet these requirements:
- Shift of traffic to the new version, wait exactly minutes, and then shift the remaining of traffic.
- Automatically roll back the deployment if the HTTP error count on the production listener spikes during traffic shifting.
- Maintain a secure, cross-account artifact sharing model with minimal operational overhead.
Which configuration will meet these requirements?
A retail company is planning to migrate its self-managed MySQL database running on an on-premises server to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The solutions architect needs to configure the source MySQL database to support ongoing replication (Change Data Capture) using AWS Database Migration Service (DMS). Which configurations must be applied to the source MySQL database to enable AWS DMS CDC? (Select two.)
Select all that apply