All practice questions
1964 questions
A multinational energy conglomerate is planning to decommission its on-premises data center and migrate its smart grid monitoring and billing platform to AWS. The platform consists of distinct components:
1. Web Dashboard: An application that runs on Apache HTTP Server on Red Hat Enterprise Linux (RHEL) . Corporate security policies require all cloud-deployed workloads to run on a hardened RHEL or RHEL image. The static HTML/JS assets and configuration can be deployed to the new OS version without code changes.
2. Telemetry Ingestion Worker: A Python daemon that processes incoming queue messages. It currently runs on a single virtual machine. The architecture team wants to run this daemon as a containerized task using Amazon ECS on AWS Fargate to eliminate server management.
3. Billing Database: An Oracle Database Enterprise Edition with extensive PL/SQL stored procedures and spatial indexes. The business wants to migrate this database to Amazon Aurora PostgreSQL to eliminate Oracle licensing costs. A dedicated migration team is allocated to convert the schema and rewrite the stored procedures.
4. Legacy Field Device Link: A proprietary C-based utility that communicates with legacy field RTUs via a physical dial-up serial modem connected to an on-premises PCI card. The proprietary protocol cannot be emulated or routed over IP networks, and the manufacturer has ceased support.
Which combination of migration strategies ( Rs) represents the most appropriate path for each component to meet the company's requirements?
An organization has a document archiving application running on Amazon EC2 instances that uploads sensitive financial records to an Amazon S3 bucket. Currently, the data is encrypted using Amazon S3 managed encryption keys (SSE-S3). To comply with new regulatory requirements, the organization must enforce server-side encryption using an AWS Key Management Service (AWS KMS) customer managed key with key rotation enabled. Additionally, any upload requests that do not specify the correct customer managed key must be rejected. Which combination of actions will meet these compliance requirements with the least operational overhead?
A company has an existing e-commerce web application fronted by an Application Load Balancer (ALB). The application has recently experienced distributed SQL injection (SQLi) attacks. To strengthen the network security posture, the company deploys an AWS WAF Web ACL associated with the ALB. The architect must configure the Web ACL to block known malicious IP addresses, block SQLi patterns, and allow all other normal web traffic. Additionally, the configuration must allow all requests from a trusted external inventory system's static IP range, bypassing SQLi inspection to prevent false positives. Which configuration should the architect implement to meet these requirements?
A media streaming company has an existing logging pipeline that aggregates user viewing history logs from application servers running in multiple member accounts within AWS Organizations. These logs are stored in a centralized Amazon S3 bucket in a dedicated compliance archive account. A solutions architect must enhance the data protection and compliance posture of this pipeline. The compliance requirements mandate:
- All logs must be encrypted at rest using a Customer Managed Key (CMK) in AWS KMS with annual rotation.
- Access to encrypt and decrypt the logs must be strictly controlled and audited.
- The configuration must minimize the KMS API request costs associated with the high volume of write operations.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
An enterprise is planning to migrate its legacy portfolio management platform to AWS within a strict 6-month timeline. The platform consists of two main components:
1. Core Database: An Oracle Database running on IBM AIX (Power architecture) that utilizes proprietary stored procedures. Schema conversion and database engine migration to an open-source engine (such as Amazon Aurora) is estimated to take 18 months of code refactoring and validation.
2. Document Archiving Service: A legacy archival subsystem running on Windows Server 2008 R2. The vendor has gone out of business, the installation media and source code are lost, and the application requires direct attachment to a physical local SCSI tape library for writing backups.
Which two migration strategies should the solutions architect select for these components to meet the project constraints? (Select two.)
Select all that apply
A financial services company hosts a web application on Amazon ECS Fargate tasks behind an internet-facing Application Load Balancer (ALB). The application's administrative endpoints under the path `/admin/*` are currently protected by basic authentication. The security team mandates that the identity and network security of these endpoints must be strengthened. The `/admin/*` portal must be restricted to authenticated corporate employees who connect exclusively from the corporate office's public IP CIDR range (). In addition, audit logs stored in an Amazon S3 bucket must be encrypted using a key that can be shared with a security audit role in a separate AWS audit account. Which two actions should the Solutions Architect implement to meet these requirements? (Select TWO.)
Select all that apply
An enterprise is designing a new multi-VPC environment in the `us-east-1` Region. The architecture includes three spoke VPCs (`vpc-app`, `vpc-db`, and `vpc-web`) connected via an AWS Transit Gateway (`tgw-core`). All spoke VPCs require outbound internet access to download software updates and must resolve domain names hosted in a private hosted zone (PHZ) named `corp.internal` created in a shared services VPC (`vpc-shared`). The design must satisfy the following constraints:
1. Outbound internet traffic must be inspected centrally using AWS Network Firewall before exiting via NAT Gateways.
2. The architecture must remain resilient to a single Availability Zone (AZ) failure without dropping traffic in other AZs.
3. Network latency and data transfer costs for accessing Amazon S3 from `vpc-db` must be minimized.
4. Spoke VPCs must resolve DNS queries for `corp.internal` efficiently.
Which of the following actions should the Solutions Architect implement to meet these requirements? (Select TWO.)
Select all that apply
An enterprise hosts a critical client-facing web application in the us-east-1 Region. The compute tier consists of a Java application running on Amazon EC2 instances inside private subnets, managed by an Auto Scaling group behind an Application Load Balancer (ALB). The storage tier consists of an Amazon RDS for PostgreSQL database in a Single-AZ deployment, and shared files are stored on an Amazon Elastic File System (Amazon EFS) file system. Outbound integrations for the application currently rely on a single NAT Gateway in us-east-1.
The enterprise wants to implement a disaster recovery (DR) solution in the us-west-2 Region using a warm standby strategy. The solution must achieve a Recovery Time Objective (RTO) of 30 minutes and a Recovery Point Objective (RPO) of 5 minutes. Additionally, the solutions architect must improve the reliability of outbound internet connections within the primary region to prevent single-point-of-failure events.
Which of the following combinations of actions should the solutions architect implement to meet these requirements? (Select TWO.)
Select all that apply
A digital subscription platform hosts a video-on-demand service. The media catalog database runs on an Amazon RDS for MySQL Multi-AZ DB instance. During popular show releases, the database experiences CPU utilization spikes up to 95% and application servers report database connection timeouts due to a massive surge in read-heavy traffic. The catalog metadata is highly static and updated only once per day. A Solutions Architect must optimize the database layer to reduce latency, prevent connection exhaustion on the database, and ensure that the caching layer is highly available and resilient to node failures. Which two actions should the Solutions Architect take to achieve these objectives? (Select two.)
Select all that apply
During a planned migration to AWS, an administrator installs the AWS Application Migration Service (MGN) agent on a source server. Although the installation succeeds, the replication status remains in a disconnected state because replication data traffic is blocked. Which network configuration must be applied to resolve this connectivity issue?
An enterprise is planning to migrate its on-premises customer management and billing systems to AWS. A solutions architect has completed the application discovery phase and identified the following workload components:
* Core Billing Database: A legacy Oracle Database. The business wants to migrate this database to Amazon Aurora PostgreSQL to eliminate licensing fees and leverage cloud-native database features. This migration will require a complete schema rewrite and application-level SQL query changes.
* Web Frontend: A legacy Java application running on Apache Tomcat. The development team wants to avoid managing operating systems and virtual machine patching. They plan to package the existing application into a Docker container and host it on a managed container orchestration platform.
* Legacy Inventory System: A legacy client-server desktop application that relies on a specialized physical USB license key (hardware dongle) plugged directly into the physical host. The vendor is out of business, and the software cannot be virtualized or run without the physical dongle.
Which combination of migration strategies should the solutions architect recommend for these systems? (Select THREE.)
Select all that apply
A logistics company runs a real-time fleet tracking platform on AWS. The application uses an Amazon RDS for PostgreSQL Multi-AZ DB instance to store active delivery vehicle telemetry (current coordinates, speed, and status) and historical trip logs. During high-demand delivery windows, the platform experiences significant write latency because of lock contention on the database, while dispatchers report that dashboard queries for active vehicle locations take several seconds to load. The database CPU utilization routinely spikes to 95%. A solutions architect must optimize the database and caching layer. The new solution must achieve sub-millisecond read latency for active vehicle queries, scale to handle high-frequency telemetry writes, reduce database connection overhead, and guarantee high availability with replication for the cached telemetry data. Which two actions should the solutions architect take to resolve the bottlenecks? (Select TWO.)
Select all that apply
An organization is establishing a new payment and inventory processing system in the `us-west-2` Region. The architecture contains a payment VPC (`vpc-payments-prd`) and an inventory VPC (`vpc-inventory-prd`). Hybrid connectivity to the on-premises database servers is established using an AWS Direct Connect connection. To support local service discovery, the organization hosts a Route 53 Private Hosted Zone (PHZ) named `service.internal` inside a central shared-services AWS account. Workloads in both VPCs must be able to communicate with each other, connect to the on-premises database, and resolve DNS queries for `service.internal`. Which networking design meets these requirements while ensuring high availability and minimal routing complexity?
An international logistics enterprise is designing a high-throughput, low-latency package tracking and telemetry pipeline. The system must ingest over small, unstructured JSON telemetry updates per second (NoSQL write-heavy workload) with ingestion latency under . The database tier must span a primary region (`us-east-1`) and a disaster recovery region (`us-west-2`).
The design must meet the following constraints:
- Telemetry queries for the active tracking dashboard must resolve with sub-millisecond latency (microsecond range) for the most recent status of any package.
- Historical telemetry must be archived to an Amazon S3 bucket in a dedicated compliance AWS account within and retained for .
- RPO must be less than and RTO must be less than for both the data store and ingestion layers.
- Data transferred to the compliance account must be encrypted at rest using KMS Customer Managed Keys (CMKs) to support cross-account access.
- Minimize administrative overhead and avoid provisioning self-managed EC2 instances.
Which TWO options should the solutions architect select to design the database and storage strategy to satisfy these requirements? (Select TWO.)
Select all that apply
A media streaming provider operates an on-demand video transcoding platform. The media processing API runs on Amazon EC2 instances inside an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The instances are deployed across two Availability Zones (AZ-A and AZ-B) in private subnets. The application instances require a bootstrapping script that takes approximately minutes to pull Docker images and initialize transcoding engines.
During a highly advertised live sporting event, a sudden influx of transcoding requests caused:
1. The ALB to drop connection requests with HTTP and errors during the first minutes of the surge.
2. The ASG to over-provision by launching hundreds of unnecessary instances because the CPU utilization metric remained elevated while the initial batch of instances was still bootstrapping.
3. Complete failure of outbound API callbacks to external payment gateways when AZ-A suffered a localized power disruption, as both private subnets routed internet-bound traffic through a single NAT Gateway in AZ-A.
Which combination of architectural improvements should the Solutions Architect implement to resolve these issues?
A solutions architect is planning to migrate an on-premises Oracle database to an Amazon Aurora PostgreSQL database. The migration must minimize downtime and convert database code such as stored procedures. Which of the following actions are required to convert the database schema and perform the migration with ongoing replication? (Select TWO.)
Select all that apply
An enterprise operates a critical e-commerce platform on Amazon EC2 instances managed by an Auto Scaling group in a production AWS account. The application writes transaction and system logs to `/var/log/app/service.log`. These logs undergo hourly rotation, where the active log file is renamed to `/var/log/app/service.log.YYYY-MM-DD-HH` and a new empty log file is created. The company wants to implement a near real-time monitoring and centralization solution. They need to monitor these logs in CloudWatch Logs for real-time error rate alerting and also store the logs in a centralized Amazon S3 bucket located in a separate security AWS account for long-term audit compliance. Which two configurations should a solutions architect implement to meet these requirements?
Select all that apply
An enterprise manages a multi-account AWS environment under a single organization in AWS Organizations with consolidated billing. The architecture includes the following workloads running 24/7:
| Workload | Current Configuration | CloudWatch CPU Utilization | CloudWatch Memory Utilization |
|---|---|---|---|
| ECS Fargate Tasks (Account A) | tasks across AZs; vCPU, RAM per task | Average: , Peak: | Average: , Peak: |
| EC2 Instances (Account B) | instances of `m6i.xlarge` ( vCPU, RAM) in an ASG across AZs | Average: , Peak: | Average: , Peak: |
| AWS Lambda (Account A) | requests/month; memory, avg duration | N/A | N/A |
Outbound traffic to the internet from the Fargate tasks in Account A is routed through a dedicated NAT Gateway in each of the Availability Zones. The company requires maximum cost optimization across all compute and network resources while maintaining high availability with no single points of failure, and ensuring that no workloads experience performance degradation or out-of-memory errors under peak loads.
Which of the following strategies should a Solutions Architect recommend to achieve the most cost-effective architecture?
An enterprise is planning to migrate a legacy document management platform to AWS. The system consists of three tiers:
1. An IIS web application tier hosting the portal on Windows Server. Due to a datacenter lease expiration, this tier must be migrated to AWS within a strict 3-month window with minimal changes and less than 2 hours of transition downtime.
2. An Oracle Database Enterprise Edition database tier containing complex PL/SQL packages. The enterprise wants to eliminate commercial database license costs, minimize long-term administrative overhead, and migrate to Amazon Aurora PostgreSQL-Compatible Edition.
3. A legacy document archival tool that requires a physical, proprietary PCIe cryptographic hardware card connected to the server chassis for decrypting historical archives. The hardware vendor does not support virtualization or cloud environments.
Which of the following migration strategies represent the correct mapping of the 7 Rs framework for these components? (Select TWO.)
Select all that apply
A financial services firm runs a real-time card payment validation service. The platform performs verification checks against a database containing merchant validation rules, risk profiles, and transaction velocity limits. The database is hosted on a write-heavy Amazon RDS for PostgreSQL DB instance. During high-volume shopping events, validation read latency spikes to over milliseconds due to read contention, causing payment timeouts. The architecture requires a caching layer to reduce read latency to sub-millisecond levels. The validation data is highly dynamic, requiring key-value replication across Availability Zones, automated failover, and the ability to persist the cached data structures to disk to support rapid recovery. Which architecture should a solutions architect recommend to optimize the database performance and meet these caching requirements?