All practice questions
1964 questions
A multinational financial services company is designing the database and storage strategy for a new critical payment clearing platform. The platform has the following workloads and requirements:
- A highly transactional OLTP ledger that requires a multi-AZ deployment in the primary region, horizontal scaling of read capacity during peak hours, and a cross-region disaster recovery (DR) site in a secondary region with an RPO of less than 1 second and RTO under 1 minute.
- A massive archive of regulatory audit reports stored as object storage. These objects must be encrypted at rest. The reports must be accessible by an auditing application running in an external AWS account owned by a third-party regulator. The regulator requires full control over the rotation of the encryption keys and who has access to the key policies.
Which two of the following database and storage configurations will meet these requirements? (Select TWO.)
Select all that apply
A multinational enterprise runs an API gateway and an Application Load Balancer (ALB) to expose critical financial APIs to both public users and verified third-party payment processors. The ALB is currently protected by an AWS WAF Web ACL containing the AWS Managed Rules Common Rule Set. During a routine security assessment, the team identifies a need to strengthen network security by implementing rate-limiting to mitigate HTTP flood attacks. The new security policy dictates that verified payment processors, who transmit high-volume API requests from a known static block of IP addresses, must never be throttled. However, all incoming traffic—including that from payment processors—must remain protected against common web exploits. Which configuration represents the most secure and operationally efficient way to implement this policy?
An infrastructure modernization project requires migrating a high-throughput, on-premises Oracle database to Amazon Aurora PostgreSQL-Compatible Edition. The database is in active use 24/7, requiring a replication strategy that minimizes downtime to under 1 hour. A Solutions Architect uses the AWS Schema Conversion Tool (SCT) to convert the database schema and applies it to the target Aurora DB cluster. Next, the architect configures an AWS Database Migration Service (DMS) replication instance and a replication task with the migration type set to "Migrate existing data and replicate ongoing changes".
The replication task successfully performs the full load of all tables. However, once the replication task transitions to the Change Data Capture (CDC) phase, the task status changes to "Running with errors", and updates made on the source database are not reflected on the target database. Reviewing the DMS task logs reveals that the replication instance is unable to read the transaction changes from the source database's redo logs.
Which sequence of steps must the Solutions Architect perform on the source Oracle database to enable AWS DMS to successfully read the transaction changes and resume CDC replication?
A real-time multiplayer gaming platform utilizes an Amazon RDS for MySQL Multi-AZ DB instance to store player profile states, matchmaking rankings, and session metadata. During peak tournament events, players experience significant latency when loading profiles and waiting for matchmaking. Database monitoring indicates that DB instance CPU utilization exceeds 90% due to read-heavy traffic, primarily querying static player stats that do not change during a session. The system architecture requires a caching layer that can scale horizontally, support multi-AZ replication for high availability, and persist cached session summaries so they do not need to be rebuilt from the database if a cache node fails. Which solution should a solutions architect implement to improve database efficiency while meeting these performance and availability requirements?
A collaborative real-time whiteboarding SaaS platform runs its synchronization and rendering service on Amazon EC2 instances in an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The application requires a complex 4-minute bootstrapping process to download large canvas asset libraries and initialize cache connections before it can accept active WebSocket connections.
During unexpected viral collaboration events, the platform experiences significant latency spikes and dropped WebSocket connections. Analysis reveals the following:
* When traffic surges, new EC2 instances are launched, but before they complete their 4-minute bootstrap and cache warm-up, the ASG launches additional instances because CPU utilization remains high. This results in severe over-provisioning and subsequent thrashing.
* The outbound connection requests from the application instances to external third-party collaboration APIs fail completely if a single Availability Zone (AZ) encounters an outage, even though the instances are distributed across three AZs. A single NAT Gateway is currently deployed in one public subnet.
* Sudden bursts of flash traffic at the start of scheduled corporate workshops cause HTTP 503 Service Unavailable errors on the ALB for the first 5 minutes of the burst.
Which two actions should the solutions architect take to meet these requirements? (Select two.)
Select all that apply
A logistics company is migrating its container tracking system to AWS. The system consists of two primary components:
1. Front-end Web Tier: A Java web application currently running on Apache Tomcat VMs. The company wants to eliminate VM administration overhead by moving it to Amazon Elastic Container Service (Amazon ECS) on AWS Fargate without modifying the application code.
2. Core Transaction Database: A legacy Microsoft SQL Server database. The company wants to eliminate SQL Server licensing costs by migrating the schema and data to Amazon Aurora PostgreSQL using the AWS Schema Conversion Tool (AWS SCT) and AWS Database Migration Service (AWS DMS).
Which two migration strategies should the solutions architect select to align with the AWS 7 Rs migration framework?
Select all that apply
An enterprise is migrating its core on-premises Enterprise Resource Planning (ERP) database and application servers to AWS using AWS Application Migration Service (MGN). The on-premises environment connects to a central Transit Gateway (TGW) in AWS via an AWS Direct Connect connection with a Transit Virtual Interface (VIF). The target AWS architecture consists of a shared services VPC where the MGN staging area is located, and multiple application target VPCs. The enterprise's security policy mandates that all control plane and replication data traffic must remain strictly private and route over the hybrid network connection without traversing the public internet. During the initial agent installation, the migration team observes that the replication status for the source servers remains stuck at 'Initiating connection' and data transfer has stalled. Which combination of actions should the Solutions Architect take to resolve the connectivity issue and satisfy the security requirements? (Select TWO.)
Select all that apply
An enterprise manages a multi-account environment under AWS Organizations with consolidated billing enabled. The Production account runs a microservices application on Amazon Elastic Container Service (ECS) using AWS Fargate across three Availability Zones. Each Fargate task is configured with and of memory. However, Amazon CloudWatch metrics show that the tasks average CPU utilization and experience a peak memory utilization of (). In the Development account, testing environments run on various transient Amazon EC2 instances that change instance families frequently based on testing needs. The company wants to optimize compute costs across both accounts while maintaining high availability in the Production environment.
Which strategy should a solutions architect recommend to achieve these goals?
A fleet management company, ApexLogistics, is modernizing its on-premises vehicle telematics ingestion system by migrating it to AWS. The application consists of a series of stateless containerized services that process real-time GPS coordinates. The solutions architect decides to deploy the workload on Amazon ECS using the AWS Fargate launch type to minimize operational overhead. The containers must run in private subnets, communicate securely, and write the processed telemetry data to an Amazon DynamoDB table. All traffic between the containerized services and DynamoDB must remain entirely within the AWS internal network without using public IP addresses or traversing the internet. Which architecture should the solutions architect implement to satisfy these requirements?
An enterprise is migrating a self-managed, on-premises Oracle 19c database containing tables with Transparent Data Encryption (TDE) enabled and several tables with Large Objects (LOBs) up to 150 KB to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The migration must minimize downtime, and the database experiences high write volumes. A solutions architect is designing the AWS Schema Conversion Tool (SCT) and AWS Database Migration Service (DMS) configuration. Which of the following actions should the Solutions Architect perform to meet these requirements? (Select two.)
Select all that apply
A logistics company is designing a new cloud architecture in the eu-west-1 region. The design includes two VPCs: vpc-prod-delivery (hosting critical backend applications across two Availability Zones) and vpc-shared-ops (hosting operational tools). The company has an on-premises data center that requires redundant, private connectivity to both VPCs. Additionally, applications in vpc-prod-delivery must resolve internal domain names managed in a Route 53 Private Hosted Zone (PHZ) ops.internal that is owned by vpc-shared-ops. Outbound internet egress for the application instances must be highly resilient against Availability Zone failures. Which of the following networking designs meets these requirements while ensuring maximum resiliency and minimum administrative overhead?
A real-time sports betting platform hosts its live analytics and odds-calculation service on Amazon EC2 instances within private subnets across two Availability Zones ( and ). The EC2 instances are managed by an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). Outbound API requests to external sports data feeds are routed through a single NAT Gateway located in the public subnet of .
The platform experiences a predictable, massive spike in traffic at the start of major sporting events. During these spikes, the following issues occur:
1. The ALB returns HTTP Service Unavailable errors during the first few minutes of the traffic spike.
2. The ASG launches new instances in response to the CPU utilization target tracking policy. However, because each instance takes approximately to download reference datasets and bootstrap, the ASG continuously launches unnecessary instances during this period, leading to over-provisioning and high costs.
3. When a transient infrastructure failure occurs in , all outbound communication to external sports data feeds is lost for instances in both Availability Zones.
Which set of actions should a Solutions Architect recommend to address all of these issues while optimizing cost and fault tolerance?
An automotive manufacturer is migrating its core supply chain management system, comprising 40 on-premises physical servers, to AWS using AWS Application Migration Service (MGN). The hybrid network connection is established via an AWS Direct Connect (DX) connection terminating on an AWS Transit Gateway. The target environment utilizes a dedicated Staging VPC for data replication and multiple Application VPCs for target workloads. To comply with security policies, all replication traffic must remain private over the DX connection, and no resources in the Staging VPC or on-premises can have direct access to the public internet.
To support this configuration, a solutions architect provisions VPC Interface Endpoints for the MGN control plane (mgn.{region}.amazonaws.com) and Amazon EC2 within a central Shared Services VPC. A Route 53 Private Hosted Zone (PHZ) for the MGN endpoint is created in the Shared Services account. During testing, the MGN agents are successfully installed on the source servers, but the replication status is reported as 'Stalled'. An investigation reveals that the replication servers launched in the Staging VPC are failing to communicate with the MGN control plane.
Which of the following actions should the solutions architect take to resolve this issue?
A logistics company is migrating its core on-premises dispatch and routing application servers to AWS using AWS Application Migration Service (MGN). The on-premises environment consists of VMware virtual machines connected to AWS via a 10 Gbps AWS Direct Connect connection terminated at an AWS Transit Gateway. The Transit Gateway connects to a central hub VPC and a target migration VPC containing the staging area subnet configured in the MGN replication template. Security policies strictly prohibit any internet access from either the on-premises servers or the target migration VPC. The MGN agents are installed on the source servers, but they cannot establish communication with the MGN service endpoints, preventing the replication process from initiating. Which two actions must the solutions architect take to resolve these connectivity issues and start replication over the private network? (Select TWO.)
Select all that apply
A company is modernizing its legacy on-premises web application by migrating the workload to Amazon Elastic Container Service (Amazon ECS) using the AWS Fargate launch type. The modernized architecture requires that containerized tasks run securely in private subnets and pull container images from Amazon Elastic Container Registry (Amazon ECR) without traversing the public internet.
Which TWO configurations should the solutions architect implement to satisfy these requirements?
Select all that apply
An enterprise is planning to migrate its customer support system to AWS. The system consists of three main components:
1. Web Application: A monolithic PHP application running on Apache. The enterprise wants to package the application into Docker containers and run it on Amazon ECS with AWS Fargate to improve operational efficiency, without modifying the application code or architecture.
2. Database: An on-premises Microsoft SQL Server database. To eliminate SQL Server licensing costs, the enterprise wants to migrate the database to Amazon Aurora PostgreSQL. This requires converting schemas using the AWS Schema Conversion Tool (SCT) and updating the application's SQL queries.
3. Legacy Archiving Tool: A proprietary, closed-source document archiving tool that is bound to on-premises hardware licenses. This tool is scheduled to be decommissioned in 8 months when a new global BI system goes live.
The enterprise has a strict 3-month timeline for the migration and limited development resources.
Which combination of migration strategies represents the most appropriate path for each component?
A healthcare SaaS provider is modernizing its on-premises, queue-driven DICOM image-processing application to AWS. The architecture must run on a serverless container platform to minimize operational overhead and automatically scale down to zero during periods of inactivity. Security and compliance requirements dictate that:
1. Each container task must have a dedicated private IP address and Elastic Network Interface (ENI) to allow granular security group configurations at the individual task level.
2. Ephemeral storage utilized by the container task to stage large medical images must be encrypted using a Customer Managed Key (CMK) in AWS KMS to satisfy HIPAA audit requirements.
3. The container tasks must resolve on-premises database hostnames via a Route 53 Private Hosted Zone (PHZ) hosted in a centralized shared services AWS account.
4. Outbound connectivity to the on-premises database must traverse an AWS Transit Gateway and must be resilient to Availability Zone failures without routing outbound public traffic through a single NAT Gateway.
Which of the following architectures meets these requirements while minimizing operational overhead?
An enterprise runs a payment processing microservice hosted on Amazon ECS tasks in VPC A within the provider AWS account. An order management application running on Amazon EC2 instances in VPC B within a separate consumer AWS account needs to securely access the payment API. The applications are currently connected using a VPC peering connection, but the security team wants to restrict network connectivity so that VPC B can only access the payment microservice and cannot initiate any other traffic to VPC A. Additionally, access must be restricted to only the specific IAM role associated with the order management application. Which two actions should a Solutions Architect take to meet these requirements?
Select all that apply
A retail company uses AWS Systems Manager State Manager to continuously apply and enforce software configuration templates on a fleet of Amazon EC2 instances deployed across multiple member accounts in an AWS Organization. Some of these configuration templates contain database connection strings that must be decrypted locally using an AWS Key Management Service (KMS) key hosted in a centralized security account. The Operations team discovers that local administrators in some member accounts have manually modified the configuration files directly on the EC2 instances, introducing operational drift. Which of the following is the most secure and operationally efficient solution to automatically remediate this drift while allowing the instances to decrypt the connection strings?
A software-as-a-service (SaaS) marketing automation platform utilizes an Amazon RDS for PostgreSQL DB instance to support its customer outreach workflows. During large-scale email campaigns, the database experiences high CPU utilization and input/output operations per second (IOPS) bottlenecks, causing delayed delivery actions. A performance analysis reveals that the database bottlenecks are caused by two workloads:
1. Highly frequent read queries to retrieve static email templates that must be highly available and replicated across multiple Availability Zones.
2. High-volume write transactions containing short-lived session tracking tokens that expire after 2 hours and do not require data persistence or replication.
Which of the following actions should the Solutions Architect take to improve database performance and caching efficiency? (Select TWO).
Select all that apply