All practice questions
1964 questions
A financial services enterprise is planning to migrate its core application portfolio to AWS. The portfolio consists of three key components:
1. A monolithic Java application running on Apache Tomcat. The application code cannot be modified due to a strict 3-month migration window and a lack of Java development resources. However, the company wants to minimize server administration overhead on AWS.
2. A backend transactional database running on Oracle Database EE. To reduce ongoing operational expenditures, the executive leadership has mandated the complete elimination of proprietary database licensing costs. The migration team has been allocated a separate 9-month timeframe to perform comprehensive schema conversions and rewrite database-interacting application queries.
3. A legacy COBOL reporting system running on an aging mainframe. Due to compliance requirements, the historical ledger data must remain accessible once a year. The source code is lost, and the system cannot be simulated or migrated to the cloud.
Which combination of migration strategies under the 7 Rs framework should the solutions architect recommend to meet all requirements?
An e-commerce company hosts its transaction processing workload in the us-east-1 Region. The compute layer consists of Amazon ECS tasks running on AWS Fargate behind an Application Load Balancer (ALB). The data layer uses an Amazon Aurora PostgreSQL database. Currently, all outbound internet traffic from the private subnets is routed through a single NAT Gateway in one Availability Zone.
To enhance reliability and prepare for disaster recovery, the company wants to implement a multi-region strategy in the us-west-2 Region. The design must achieve a Recovery Time Objective (RTO) of less than 15 minutes and a Recovery Point Objective (RPO) of less than 5 minutes.
Which configuration represents the most reliable and cost-effective solution that meets these requirements?
A systems administrator is setting up the target AWS environment for an infrastructure migration using AWS Application Migration Service (MGN). The administrator needs to configure the network settings in the replication template. Which of the following network configuration settings are required to allow the replication servers in the staging area to successfully receive replicated data from the source servers and communicate with the service? (Select TWO.)
Select all that apply
A digital banking application hosts its core processing engine on Amazon ECS tasks inside a private subnet of VPC-A in Account A. The application must retrieve daily financial statements from an Amazon S3 bucket in Account B. The S3 bucket is encrypted using SSE-KMS.
To comply with new security mandates, a solutions architect must implement the following changes:
1. Ensure all S3 data transfer is routed privately through an S3 Interface VPC Endpoint (vpce-s3-interface) in VPC-A, and all KMS decryption requests route privately through a KMS Interface VPC Endpoint (vpce-kms) in VPC-A.
2. Restrict access to the S3 bucket and the KMS key so that they only accept requests originating from their respective VPC endpoints in VPC-A.
3. Prevent any IAM identity in the organization from modifying or deleting the S3 bucket policy, with the sole exception of a break-glass IAM role (AdminRole) in Account B.
Which combination of actions will meet these requirements?
An enterprise is designing a multi-region database solution. The primary database is located in `vpc-primary` in `us-east-1` across two Availability Zones, and its read replica is in `vpc-replica` in `us-west-2` across two Availability Zones. A corporate datacenter requires private access to both VPCs over an existing 10 Gbps AWS Direct Connect connection terminated at a Direct Connect Gateway (DXGW). The replication traffic between the databases must be highly performant and use the AWS private backbone. Additionally, database instances in both VPCs require highly available outbound internet access for security patching. A Route 53 Private Hosted Zone (PHZ) named `databases.internal` must be resolvable from both VPCs and from the corporate datacenter. Which network architecture meets these requirements with the lowest latency and highest availability?
A gaming company hosts a multiplayer online game where active game lobby states, player statistics, and match queues are stored in an Amazon RDS for PostgreSQL DB instance. During peak hours, the database experiences CPU exhaustion and high read latencies due to a massive volume of read queries retrieving game lobby lists and player leaderboard data. To resolve this performance bottleneck, a solutions architect needs to introduce a caching layer. The caching solution must support automatic failover across multiple Availability Zones to ensure high availability, persist cache data to survive node restarts, and support complex data types like sorted sets to efficiently manage the leaderboards. Which architecture should the solutions architect implement to meet these requirements with the least operational overhead?
A biotechnology company has a multi-account AWS environment managed under AWS Organizations. Genomic sequencing applications run on Amazon EC2 instances across multiple member accounts. The application writes log files to a local directory `/var/log/sequencer/`. To manage disk space, the application rotates logs hourly, creating new files with timestamp suffixes (for example, `sequencer_20260716-11.log`). A Solutions Architect needs to design a centralized logging solution to collect these application logs and AWS CloudTrail logs from all member accounts into a single Amazon S3 bucket in a dedicated Security account. The architecture must stream application logs in real time and minimize operational overhead.
Which solution should the Solutions Architect implement to meet these requirements?
A media streaming company is designing a globally distributed user profiling and watch-history platform. The database must sustain high-volume OLTP write operations with sub-10 millisecond latency. The platform must be deployed across two AWS Regions (us-east-1 and us-west-2). A centralized security account (SecurityAcct) requires cross-account read access to audit the database encryption keys and metadata. The system must achieve a Recovery Point Objective (RPO) of less than 1 second and a Recovery Time Objective (RTO) of less than 5 minutes. Additionally, read workloads are highly dynamic and experience sudden, unpredictable surges. Which database and storage design meets these requirements while minimizing management overhead?
A company is strengthening the security posture of an existing data archiving application. The application runs on Amazon EC2 instances within a private subnet in Account A. The application must write archive files to an Amazon S3 bucket located in Account B. The S3 bucket is encrypted using a Customer Managed Key (CMK) in Account B. The security team requires that all network traffic to Amazon S3 and AWS KMS remains within the AWS private network, and that the application's IAM role in Account A is the only entity allowed to write to the S3 bucket and use the KMS key. Which combination of actions must a Solutions Architect implement to meet these requirements? (Select TWO.)
Select all that apply
A SaaS provider has an existing multi-account AWS environment managed under AWS Organizations. Member accounts upload sensitive compliance logs to a centralized Amazon S3 bucket located in a dedicated Security account. Currently, the S3 bucket is configured with default encryption using the AWS-managed KMS key (`aws/s3`). To meet new regulatory standards, the company must enhance data protection by using a customer managed key with annual rotation enabled, enforcing this encryption mechanism across all uploads, and ensuring that access to the key is properly delegated. Which two actions should the Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
A global logistics company is preparing for a major system integration that will connect a new partner's fleet of delivery vehicles. The integration will launch on a specific date and will result in an immediate, one-time increase in telemetry traffic at exactly 09:00 UTC. The existing telemetry processing service runs on Amazon EC2 instances inside an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The instances reside in private subnets across two Availability Zones (AZ-A and AZ-B) and retrieve reference metadata from external APIs via a single NAT Gateway located in AZ-A. The EC2 instances require a -minute bootstrapping period to pull configuration files and warm up application caches before they can successfully process requests. Under the current scaling configuration, when CPU utilization spikes, the ASG launches instances but does not wait for the bootstrapping to complete before launching more, resulting in severe over-provisioning. Additionally, the architecture must ensure that a failure of a single Availability Zone or NAT Gateway does not disrupt outbound connectivity for the EC2 instances. Which three actions should the Solutions Architect take to prepare the architecture for the launch and resolve these reliability issues?
Select all that apply
A financial services company manages a multi-account environment within an organization in AWS Organizations. The consolidated billing feature is enabled. The compute and data workloads are distributed as follows:
* Account A (Production): Runs a customer-facing web application on Amazon ECS using AWS Fargate across Availability Zones. This account incurs a steady compute charge of per month. Next month, a large-scale batch processing ETL pipeline will be migrated to run on AWS Lambda in this account, with an estimated cost of per month.
* Account B (Analytics): Runs a cluster of Amazon EC2 c6g.xlarge instances (Linux) for continuous data analysis. This fleet runs with a highly predictable load, costing per month.
The ECS tasks in Account A require outbound internet access to communicate with external payment processing APIs. This traffic is currently routed through NAT Gateways (one in each Availability Zone) and is highly critical, requiring strict high availability. The batch processing workload in Account A also requires internet access but can tolerate up to hours of downtime during a failure. A review of the billing data reveals that a significant portion of Account A's NAT Gateway charges is due to transferring large datasets to Amazon S3 and Amazon DynamoDB.
Which combination of actions will optimize resource costs most effectively while maintaining the required availability constraints? (Select TWO.)
Select all that apply
An enterprise runs a high-throughput, memory-intensive backend application across multiple member accounts in AWS Organizations. The primary production compute environment in the main application account consists of:
- An Auto Scaling Group (ASG) of Amazon EC2 instances launched across Availability Zones using `m6g.2xlarge` instances ( vCPUs, GiB RAM). Performance metrics show an average CPU utilization of (peaking at ) and an average memory utilization of (peaking at ).
- Multiple microservices running on AWS Fargate tasks.
- An API routing layer using AWS Lambda.
All software is compiled specifically for the ARM64 architecture, and the application must maintain high availability across all Availability Zones with zero downtime. The company wants to optimize compute costs. Which of the following is the most cost-effective and architecturally sound strategy?
An enterprise is strengthening its network security posture across a multi-account AWS environment. The infrastructure consists of an on-premises datacenter connected via AWS Direct Connect to an AWS Transit Gateway. Multiple VPCs (Production, Development, and Shared Services) are attached to the Transit Gateway. The enterprise has a Route 53 Private Hosted Zone (PHZ) for `aws.corp.internal` created in the Shared Services account and associated with the Shared Services VPC. The security team requires that all VPCs must be able to resolve `aws.corp.internal` and on-premises resources must also resolve `aws.corp.internal`. Additionally, all VPCs must resolve the on-premises domain `onprem.corp.internal`. How should the Solutions Architect configure the DNS architecture to meet these requirements securely?
A logistics company manages a multi-account environment using AWS Organizations. The central Operations team must enforce a security patch compliance baseline across all Amazon EC2 instances in all member accounts. The patches must be installed during weekly maintenance windows using AWS Systems Manager Patch Manager. The Operations team wants to:
1. Aggregate patch compliance data from all member accounts into a central Amazon S3 bucket in a Security account.
2. Automate the quarantine of any EC2 instance that is flagged as non-compliant by changing its attached security group.
3. Secure the S3 bucket using encryption with a Customer Managed Key (CMK) stored in the Security account, while preventing local administrators in member accounts from altering the Patch Manager configuration.
Which combination of actions will meet these requirements? (Select two.)
Select all that apply
An enterprise is planning to migrate a critical media management platform to AWS within a tight 3-month timeline. The platform consists of the following components:
1. DRM Licensing Engine: Runs on Windows Server 2012 R2. It uses a proprietary hardware-bound licensing mechanism requiring specific kernel-level driver access and physical motherboard signatures that cannot be virtualized or emulated on cloud hypervisors.
2. Video Encoding System: A resource-intensive custom C++ application that processes raw video streams using GPU acceleration. The enterprise plans to modernize this to a serverless architecture using AWS Elemental MediaConvert and AWS Lambda in the future, but current resource constraints prevent any code changes or refactoring during the 3-month migration phase.
3. Metadata Catalog: Runs on a highly customized on-premises Microsoft SQL Server database. It utilizes proprietary SQL Server Common Language Runtime (CLR) integration and extensive SQL Server Integration Services (SSIS) packages for data processing. The business wants to migrate this catalog to Amazon Aurora PostgreSQL to eliminate commercial licensing costs and reduce administrative overhead, which requires complete schema conversion and rewriting of the CLR/SSIS logic.
4. Web Frontend: A stateless Node.js application running on Ubuntu VMs. The enterprise wants to migrate this component to AWS to minimize operating system management overhead, but they must keep the application code unchanged.
Which combination of migration strategies represents the most appropriate path for each component to meet the enterprise's requirements and timeline?
A logistics company is planning to migrate its core application workload portfolio to AWS. The portfolio includes the following systems:
- A custom Python web application built on Django that runs on an on-premises Linux server. The deployment team wants to migrate the application to AWS Elastic Beanstalk to reduce server management overhead without making any modifications to the core Django application code.
- A PostgreSQL 11 database instance running on a self-managed Windows Server virtual machine. The database stores shipping transaction records. The company wants to migrate this database to Amazon Aurora PostgreSQL-Compatible Edition to leverage automated backups and scaling while keeping the schema intact.
- An on-premises proprietary customer relationship management (CRM) platform. The company has decided to replace this system entirely by migrating user records to a subscription-based SaaS CRM platform.
Which combination of migration strategies represents the correct alignment with the AWS 7 Rs framework for these workloads?
A smart home utility provider manages a platform on AWS where millions of smart meters report current power usage telemetry every 15 seconds. The telemetry updates are processed by an auto-scaled fleet of containerized ingestion microservices and written to an Amazon RDS for PostgreSQL DB instance. A customer-facing dashboard application displays real-time consumption statistics for users, resulting in high read queries.
During peak evening hours, the RDS DB instance experiences CPU utilization spikes up to 98% and database connection limits are frequently reached, leading to dropped telemetry writes and dashboard timeout errors. The dashboard requires the absolute latest consumption state with low latency, and this state must survive any infrastructure failover events.
Which of the following database and caching strategies should a Solutions Architect implement to improve database efficiency and resolve these performance issues? (Select TWO.)
Select all that apply
A financial transaction processing platform runs in the us-west-2 Region. The architecture consists of Amazon EC2 instances in private subnets that route outbound internet traffic through a single NAT Gateway in a public subnet to communicate with external payment gateways. The backend database is a single-region Amazon Aurora PostgreSQL Serverless v2 database cluster. Internal microservices resolve dependencies using a Route 53 Private Hosted Zone (PHZ) associated with the primary VPC.
The solutions architect must enhance the reliability of the current architecture and establish a disaster recovery (DR) solution in the us-east-1 Region with a target Recovery Time Objective (RTO) of 15 minutes and Recovery Point Objective (RPO) of 1 minute.
Which combination of steps should the solutions architect recommend to meet these objectives? (Select TWO.)
Select all that apply
An enterprise wants to improve the network and identity security posture for an existing multi-account architecture. Account A hosts an application running on Amazon EC2 instances in a private subnet within VPC-A. The application needs to communicate with a proprietary web service hosted in Account B behind an internal Application Load Balancer (ALB) in VPC-B. VPC-A and VPC-B are interconnected using AWS Transit Gateway. The application also needs to communicate with a public third-party REST API at api.partner.corp.
A solutions architect must meet the following security requirements:
- Prevent DNS tunneling exfiltration and restrict DNS resolution in VPC-A to only the internal domain of Account B (*.internal.corp) and the partner domain (api.partner.corp).
- Restrict network traffic between VPC-A and VPC-B such that only the EC2 instances in VPC-A can access the internal ALB in VPC-B, preventing any transitive traffic from other VPCs connected to the Transit Gateway.
- Enforce that the EC2 instances in VPC-A can only call the external partner API, blocking all other outbound HTTP/HTTPS internet traffic from VPC-A.
Which of the following actions should the Solutions Architect take to meet these security requirements? (Select TWO.)
Select all that apply