All practice questions
1964 questions
A solutions architect is planning to migrate an on-premises Oracle database to an Amazon Aurora MySQL-Compatible Edition DB cluster. The migration must support a heterogeneous schema conversion and continuous replication using Change Data Capture (CDC) to minimize application downtime during the cutover.
Which of the following actions are required to successfully convert the schema and configure the replication process? (Select two.)
Select all that apply
A financial services company hosts an investment tracking application on AWS. The application's transaction ledger is stored on an Amazon Aurora MySQL database cluster with one writer and two reader instances. During end-of-month reporting cycles, read queries on the ledger spike significantly, causing CPU utilization on the reader instances to reach 100%, resulting in query timeouts. Additionally, the application requires a caching layer to store session state tokens and transient calculations. The cached data must be replicated across multiple Availability Zones to ensure high availability, and must survive potential cache node failures. Which combination of database and caching optimization strategies should the solutions architect implement to address the performance degradation and satisfy the durability and scaling requirements? (Select TWO.)
Select all that apply
An enterprise is designing a new transactional ledger and reporting system. The workload requires a relational database (OLTP) that supports ACID transactions. The system must meet an RTO of less than minute and an RPO of less than seconds across a primary region () and a secondary region (). Additionally, a separate reporting workload must run read-only queries against the database and scale dynamically to handle unpredictable spikes. Finally, database backups must be shared with a separate security audit account, where auditors must be able to decrypt and inspect the backups using Customer Managed Keys (CMKs) in AWS KMS.
Which two options should the solutions architect select to implement a database and storage strategy that meets these requirements?
Select all that apply
A global gaming enterprise is launching a new multiplayer gaming platform in AWS. The architecture is deployed across multiple AWS accounts in the us-east-1 region and utilizes an AWS Transit Gateway (tgw-central) to interconnect VPCs. The setup includes a Shared Services VPC (vpc-shared-prod), a centralized Egress VPC (vpc-egress-prod), and three spoke application VPCs (vpc-game-auth, vpc-game-match, and vpc-game-profile). The spoke VPCs require resolution of private DNS records in a Route 53 Private Hosted Zone (game.internal) created in the Shared Services VPC. Furthermore, an on-premises data center connected to AWS via a Direct Connect Gateway linked to the Transit Gateway needs to resolve records in game.internal. To satisfy security compliance, all outbound internet traffic from the spoke VPCs must be routed through AWS Network Firewall and NAT Gateways in vpc-egress-prod, and the architecture must remain fully resilient against Availability Zone outages. Which combination of actions should the solutions architect take to satisfy these networking and DNS requirements? (Select TWO.)
Select all that apply
A financial services firm runs a legacy application on Amazon EC2 instances in VPC-A under Account 1. The application must retrieve daily audit logs from an Amazon S3 bucket in VPC-B under Account 2, which is currently encrypted using the default AWS-managed S3 key (aws/s3). Currently, this access uses long-lived IAM user access keys, and traffic goes over the public internet. Additionally, the application must resolve private DNS endpoints hosted in a Route 53 Private Hosted Zone (PHZ) in Account 2. The solutions architect needs to remediate these issues by eliminating long-lived credentials, routing all S3 traffic over the AWS internal network, enabling cross-account private DNS resolution, and ensuring that all S3 data is securely accessed with custom encryption keys. Which two of the following actions should the solutions architect perform to meet these requirements?
Select all that apply
An enterprise is planning to migrate its inventory planning system to AWS within a tight three-week timeline. The system consists of three components:
1. A Java-based web application layer running on physical Linux servers that requires no code changes.
2. A backend Oracle database running on physical hardware with extensive proprietary PL/SQL stored procedures. The enterprise wants to eliminate commercial database licensing costs by migrating to a fully managed PostgreSQL engine.
3. A legacy audit utility that requires a physical USB licensing dongle attached to local hardware, which is only executed once per year for compliance auditing.
Which of the following migration strategies represent the most appropriate migration paths for these components based on the 7 Rs framework? (Select TWO.)
Select all that apply
An enterprise is improving the security posture of an existing internal administration portal hosted in a Shared Services VPC. The application runs on Amazon EC2 instances behind an internal Application Load Balancer (ALB). Users access the portal from the on-premises network via an AWS Transit Gateway connected to an AWS Direct Connect gateway. Remote administrators must also access the portal, authenticating via an external OpenID Connect (OIDC) identity provider. The security team wants to prevent DNS exfiltration from the EC2 instances and ensure that remote administrator access is restricted to corporate-approved devices. Which of the following actions should the Solutions Architect recommend? (Select TWO.)
Select all that apply
A financial technology firm operates an algorithmic trading data collection service on Amazon EC2 instances in an Auto Scaling group (ASG) across three Availability Zones. The instances reside in private subnets and send real-time market telemetry to external API endpoints. The instances require a 6-minute bootstrapping process to download and compile trading configurations before they can begin collecting data. Every day at 09:30 UTC, when markets open, telemetry traffic surges by 400% in under 1 minute, causing the Application Load Balancer (ALB) to return HTTP 503 errors for the first 10 minutes. During this surge, the ASG launches excessive instances that end up idle and inflate costs. Furthermore, a failure in Availability Zone A disrupts all outbound telemetry from instances in other zones. Which two actions should a solutions architect take to resolve these issues and optimize scalability and fault tolerance? (Select TWO.)
Select all that apply
A company hosts a web application on AWS ECS Fargate behind an Application Load Balancer (ALB). The security team wants to strengthen the network security posture of this existing application by implementing AWS WAF. The solution must meet the following requirements:
1. Immediately block traffic from known malicious IP addresses.
2. Protect the application against SQL injection (SQLi) attacks.
3. Rate-limit general client requests to 120 requests per minute.
4. Allow a specific business partner's static IP range to bypass the rate limit, while ensuring their traffic is still inspected for SQLi.
Which of the following configuration strategies for the AWS WAF Web ACL rules meets these security requirements?
An enterprise has consolidated billing enabled under AWS Organizations with active AWS accounts:
* Account A (Web Application): Hosts an API on Amazon ECS on AWS Fargate. The tasks run in private subnets across Availability Zones. The tasks download large application packages from Amazon S3 and pull container images from Amazon ECR. A single NAT Gateway is used in a public subnet to provide outbound internet access for the tasks to communicate with ECS, ECR, S3, and CloudWatch. No other outbound internet access is required.
* Account B (Data Processing): Runs a monthly batch-processing application on a fleet of Amazon EC2 `r6i.xlarge` instances ( RAM). CPU utilization averages and memory utilization averages for most of the month. However, during the monthly run, memory utilization peaks at (approximately ) while CPU utilization reaches .
* Account C (Data Ingestion): Uses AWS Lambda functions to process streaming data and write it to Amazon DynamoDB.
The enterprise wants to minimize total AWS costs across all accounts. The architecture must remain highly available, support the performance requirements of the monthly batch processing without operational failures, and minimize operational overhead.
Which TWO actions should the Solutions Architect recommend to optimize resources and reduce costs? (Select TWO.)
Select all that apply
An online booking system runs in a production AWS account under an AWS Organizations organization. The application uploads travel reservation documents containing personally identifiable information (PII) to an Amazon S3 bucket located in a separate dedicated compliance AWS account. The security team must ensure that all uploaded documents are encrypted at rest using a customer managed key (CMK) managed within the compliance account. The solution must enforce this encryption requirement for all uploads and allow the application to write to the bucket with minimal administrative overhead. Which combination of configurations will meet these requirements?
A company wants to transfer of data from its on-premises Network Attached Storage (NAS) to Amazon S3. The company has a internet connection that is currently at utilization. The migration must be completed within 14 days. Security requirements mandate that all data must be encrypted at rest during transit and in Amazon S3 using a customer managed key. Which two options should the solutions architect select to perform this transfer? (Select TWO.)
Select all that apply
A company operates a critical customer portal on AWS. The primary environment runs in the us-west-2 Region and consists of an Application Load Balancer (ALB) directing traffic to Amazon EC2 instances in an Auto Scaling group across three Availability Zones. The instances require internet access for external payment API calls, which is currently routed through a single NAT Gateway in one public subnet. The application uses a Route 53 Private Hosted Zone (PHZ) for internal service discovery. The database layer is an Amazon Aurora PostgreSQL Global Database with a primary cluster in us-west-2 and a read-only secondary cluster in us-east-1.
The company wants to enhance disaster recovery (DR) by implementing an active-passive cross-region strategy with a target recovery time objective (RTO) of 20 minutes and a recovery point objective (RPO) of 5 minutes. During a DR simulation, the operations team observes that outbound payment calls fail if the Availability Zone containing the NAT Gateway goes down, and internal service names do not resolve in the secondary Region after a manual failover.
Which combination of actions should a solutions architect recommend to resolve these issues and meet the DR objectives?
A digital telehealth platform retrieves patient medical histories from an Amazon RDS for PostgreSQL database. During peak consulting hours, database CPU utilization frequently exceeds 85%, primarily due to repetitive read queries retrieving static medical reports. The platform requires a caching layer to offload these read queries. The cache must support replication to prevent cold-start latency in case of a node failure, and it must offer automatic failover across multiple Availability Zones to ensure high availability. Which caching strategy should a solutions architect recommend to meet these requirements?
An enterprise manages a multi-account environment within an organization in AWS Organizations. The consolidated billing feature is enabled.
- Account A runs a containerized batch-processing application on Amazon ECS with AWS Fargate, alongside short-lived webhook handlers running on AWS Lambda.
- Account B runs a set of high-availability backend APIs on Amazon EC2 instances ( vCPUs, memory) deployed across three Availability Zones. Average CPU utilization is consistently under , and memory utilization is under . The instances require at least of local NVMe SSD storage for caching.
- Outbound internet traffic for both accounts currently flows through three NAT Gateways (one per Availability Zone) in each VPC.
The enterprise wants to optimize resource costs across both accounts while ensuring high availability for all workloads and outbound traffic paths with minimal operational effort.
Which TWO recommendations should the solutions architect make to achieve these goals? (Select TWO.)
Select all that apply
A global retail company runs a containerized microservices application on Amazon ECS (with Amazon EC2 launch type) across a multi-account environment managed by AWS Organizations. The EC2 container instances are configured and maintained using AWS Systems Manager (SSM) State Manager associations. Recently, local SRE teams in the spoke accounts have been manually modifying the SSM State Manager associations and direct EC2 configurations to troubleshoot issues, leading to widespread compliance violations and deployment failures due to configuration drift. The Solutions Architect must implement a strategy to automate drift remediation for these associations and prevent unauthorized local modifications. Which strategy should the Solutions Architect implement to meet these requirements with the least operational overhead?
A digital publishing company operates a high-traffic news website with a global audience. The website's user session state and personalized content recommendations are managed by an Amazon RDS for MySQL database. During major breaking news events, the website experiences massive traffic spikes, leading to high CPU utilization and database connection exhaustion on the RDS database due to a massive volume of session read and write operations. The company wants to optimize the database performance and reduce latency by offloading the session management to an in-memory caching tier. The session data must meet the following requirements:
- Retrieve and update session data with sub-millisecond latency.
- Scale horizontally to handle sudden traffic spikes.
- Support data persistence and backup/restore capabilities to recover user session state in the event of an outage.
- Support replication across multiple Availability Zones with automatic failover to maintain high availability.
Which solution should a solutions architect recommend to meet these requirements with the least operational overhead?
A logistics company runs an on-demand delivery platform. The backend API layer runs on Amazon Elastic Container Service (Amazon ECS) on AWS Fargate and connects to an Amazon Aurora PostgreSQL database cluster. During peak morning dispatch periods, database CPU utilization exceeds and the application experiences connection exhaustion, leading to degraded query response times. Application analysis reveals a high volume of read queries for delivery driver session states and route calculations. The application requires that driver session states be cached with sub-millisecond latency. Furthermore, the cache must survive node restarts and support replication across multiple Availability Zones to maintain high availability. Additionally, the database connections must be managed efficiently to handle high connection spikes from the containerized tasks.
Which of the following actions should a Solutions Architect recommend to improve database and caching efficiency? (Select TWO.)
Select all that apply
An enterprise is executing a large-scale migration of its core portfolio to AWS and wants to select the appropriate migration strategies based on the 7 Rs framework. The portfolio contains the following applications:
1. Application 1: A customer billing portal built on a custom Java framework running on Apache Tomcat. The development team has no capacity for code modifications. The enterprise wants to eliminate OS-level patching, configuration management, and server provisioning, and prefers a managed containerized platform like AWS Fargate.
2. Application 2: A risk-analytics engine that uses an on-premises Oracle Database Enterprise Edition. The enterprise wants to migrate the database to Amazon Aurora PostgreSQL to eliminate expensive licensing costs. This will require database schema conversion and application code modifications.
3. Application 3: A legacy inventory forecasting tool running on a specialized IBM AIX Unix server. The software vendor is out of business, the source code is lost, and the software cannot run on x86-64 architecture. The system must remain accessible for regulatory reporting for another 18 months.
4. Application 4: An on-premises enterprise resource planning (ERP) system that has a direct, modern, cloud-based Software-as-a-Service (SaaS) equivalent from the same vendor. The firm has decided to adopt the SaaS version.
Which of the following combinations of migration strategies represent the most appropriate migration paths based on these requirements and constraints? (Select TWO)
Select all that apply
A financial service provider is designing a new cloud infrastructure on AWS for a transaction processing system. The architecture requires three spoke VPCs (`vpc-payment-prod`, `vpc-ledger-prod`, and `vpc-fraud-prod`) in the `eu-west-1` region to communicate with each other securely, resolve internal domain names, and route outbound internet traffic for third-party API validation. The design must be highly resilient against Availability Zone failures, minimize administrative overhead, and support a centralized DNS configuration. The development team has created a Route 53 Private Hosted Zone (PHZ) named `corp.internal` in a central network services account. Which of the following networking and connectivity designs meets these requirements?