All practice questions
1964 questions
A financial services company runs a high-throughput transaction processing application on a fleet of Amazon EC2 instances within an Auto Scaling group. The application reads its feature flags and runtime configurations from a local file on each instance. The operations team needs to automate the management and deployment of these configuration updates. The solution must support validating the configuration syntax before deployment, gradually rolling out the configuration updates to the instances over a period of minutes, and automatically rolling back the deployment if application error rates spike during the rollout. Additionally, the configuration update must be applied with zero downtime and without terminating or launching any EC2 instances. Which approach should a solutions architect recommend to meet these requirements with the least operational overhead?
A financial services firm is designing a new customer portal consisting of an online transaction processing (OLTP) database workload for customer account metadata and an Object storage workload for statement PDF reports. The metadata database must support high read volumes that scale dynamically based on demand. The statement reports must be securely archived in Amazon S3. The security team requires that the S3 encryption keys are customer-controlled and can be shared with an external auditing AWS account. Additionally, the system must meet near-zero recovery point objective (RPO) and recovery time objective (RTO) requirements across multiple AWS regions. Which two options should the solutions architect choose to meet these requirements?
Select all that apply
An enterprise logistics company, 'LogiGlobal', is modernizing its core package tracking system by migrating its on-premises microservices to AWS. The microservices must run on Amazon ECS with AWS Fargate to minimize compute management overhead. The tasks need to pull container images from a centralized Amazon Elastic Container Registry (ECR) repository located in a shared services AWS account. All network traffic between the Fargate tasks and the ECR repository must remain entirely within the AWS private network to satisfy security compliance. Additionally, the Fargate tasks must resolve the ECR endpoint using the default private DNS names. Which of the following configuration strategies should a Solutions Architect implement to meet these requirements with the least operational overhead?
ValoLogistics is migrating its on-premises vehicle routing engine to AWS. To comply with strict security standards, the target workload must run on Amazon ECS using AWS Fargate tasks across multiple Availability Zones in a private subnet within the Production account (Account B) with zero direct egress route to the internet. The VPC in Account B has no Internet Gateway or NAT Gateways configured.
Container images are stored in a centralized Amazon ECR repository in a Shared Services account (Account A) and are encrypted using a customer managed AWS KMS key in Account A. The Fargate tasks in Account B must be able to pull these images securely without traversing the public internet, and must also send container logs to Amazon CloudWatch Logs.
Which combination of actions will allow the ECS tasks to pull the images and log successfully? (Select TWO.)
Select all that apply
A retail analytics company processes point-of-sale (POS) data uploaded by thousands of stores. The processing workload runs on a fleet of Amazon EC2 instances in private subnets of a VPC in the `eu-west-1` Region. The EC2 instances retrieve approximately of raw data monthly from an Amazon S3 bucket in `eu-west-1` and write of processed transactional summaries to an Amazon DynamoDB table in the same Region. Currently, all outbound traffic from the private subnets is routed through NAT Gateways deployed across two Availability Zones, resulting in high data processing charges.
Additionally, the raw POS data in the S3 bucket is actively analyzed for the first days. After days, the data is rarely accessed but must be retained for years to comply with regulatory audits. The company requires audit retrievals to complete in less than hours.
Which two actions should a Solutions Architect recommend to minimize storage and data transfer costs while maintaining application availability and meeting regulatory requirements? (Select two.)
Select all that apply
A logistics company runs a fleet tracking application on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The instances run in private subnets and send route telemetry updates to an external third-party API via a single NAT Gateway located in Availability Zone A.
Every day at , the application experiences a massive surge in traffic, spiking from to within . During this peak, users experience HTTP 503 Service Unavailable errors and data ingestion failures for the first .
An architectural review reveals the following:
* The EC2 instances require to download configuration files, initialize application services, and pass load balancer health checks.
* The ASG uses a target tracking scaling policy based on Average CPU Utilization with a default cooldown of .
* During the surge, the ASG continuously launches new instances before the previously launched instances are fully initialized and ready to receive traffic.
* A recent outage in Availability Zone A halted all outbound telemetry transmissions for the entire application, despite instances in other zones remaining healthy.
The company wants to improve the fault tolerance and auto-scaling responsiveness of the architecture. Which combination of actions should the Solutions Architect implement to resolve these issues? (Select TWO.)
Select all that apply
A global digital publishing platform is designing a new high-throughput content management system (NoSQL and Object storage workloads). The system consists of:
1. A metadata database storing article configurations and user session states, which requires multi-region active-active writes and database write and read latencies under .
2. An asset repository storing millions of media files, which must be stored in Amazon S3 and replicated from the primary region () to a secondary disaster recovery region () with a strict recovery point objective (RPO) of .
All data must be encrypted at rest using Customer Managed Keys (CMKs). Cross-account access to the asset repository is required for a security audit application running in a dedicated audit account.
Which combination of database and storage configurations will meet these requirements? (Select TWO.)
Select all that apply
An enterprise is designing a new critical online transaction processing (OLTP) pharmacy application across two AWS Regions: a primary region and a secondary disaster recovery region. The database layer must support high-volume read scaling with latency under . The application must meet a database Recovery Point Objective (RPO) of less than and a Recovery Time Objective (RTO) of less than during a regional outage. The application also stores patient documents in Amazon S3, which must be replicated to an audit S3 bucket in a separate AWS security account. The replicated S3 objects must be encrypted at rest, and the security account must be able to decrypt the replicated data. Which of the following database and storage strategies should a solutions architect recommend to meet these requirements?
PaySync Services is modernizing its mission-critical transaction-settlement application by migrating it from an on-premises virtualized environment to Amazon EKS. The application consists of stateless billing pods that process cardholder data and must pull container images from a centralized Amazon ECR repository located in a shared services AWS account. To comply with security policies, the billing pods must run on serverless compute, and the containers must not share hosts or network namespaces with other workloads. The billing pods require access to an Amazon Aurora PostgreSQL database located in an isolated database VPC, and they must retrieve database credentials securely from AWS Secrets Manager without using hardcoded keys.
Which combination of actions should the Solutions Architect perform to meet these requirements with the least operational overhead? (Select TWO.)
Select all that apply
An enterprise runs an application on Amazon EC2 instances in a private subnet within VPC A in Account A. The application must retrieve sensitive files from an Amazon S3 bucket in Account B. The S3 bucket is encrypted using a Customer Managed Key (CMK) in Account B. VPC A has no internet gateway, NAT gateway, or virtual private gateway configured. All traffic must remain within the AWS network, and the solution must enforce least-privilege security.
Which two actions should a Solutions Architect take to configure this connection? (Select two.)
Select all that apply
An enterprise operates a high-throughput application on Amazon EC2 instances in private subnets across Availability Zones in the `us-east-1` Region. The application regularly pulls raw data sets from an Amazon S3 bucket, processes them, and writes the results to another S3 bucket in the same Region. Currently, outbound traffic to S3 is routed through a single NAT Gateway located in one of the public subnets. This setup processes approximately of data monthly, leading to significant NAT Gateway data processing charges. Which of the following solutions is the most cost-effective and architecturally sound method to minimize these data transfer costs?
A biotechnology firm is planning to migrate its drug discovery platform to AWS. The on-premises environment consists of 50 VMware vSphere virtual machines (VMs) and 10 physical bare-metal database servers. The firm's strict security compliance policy prohibits installing any third-party software or agents on the production VMware guest operating systems. However, they must perform network connection dependency mapping on the bare-metal database servers to identify active TCP connections and group them with the correct front-end applications. All servers are restricted from direct outbound internet access, but a central proxy server is available for outbound HTTPS traffic. Which combination of actions should a solutions architect recommend to collect the necessary discovery data and track the migration? (Select TWO.)
Select all that apply
An enterprise needs to migrate of historical log data from an on-premises Hadoop Distributed File System (HDFS) cluster to Amazon S3. The company has a AWS Direct Connect connection, but corporate policy restricts the migration workload to utilizing a maximum of of this bandwidth. The migration must be completed within . Concurrently, legacy applications must continue writing new log data using the SFTP protocol. The target S3 bucket resides in a centralized Logging Account (Account B), and all stored logs must be encrypted at rest using a Customer Managed Key (CMK) in AWS Key Management Service (AWS KMS) managed by Account B. The migration is being executed by a team operating within a separate Migration Account (Account A), which is responsible for ordering and managing the transfer infrastructure. Which two options should the Solutions Architect recommend to satisfy these requirements? (Select TWO.)
Select all that apply
A retail company operates an e-commerce platform that experiences significant performance degradation during promotional flash sales. The application relies on an Amazon Aurora MySQL database cluster to store both the product catalog and customer shopping sessions. During peak events, database CPU utilization reaches , resulting in transaction failures and slow response times. The product catalog data is read-heavy and updated infrequently, while the shopping session data requires high-throughput writes, persistence, and replication across multiple Availability Zones to ensure session recovery in the event of an outage. Which TWO architectural modifications should a Solutions Architect recommend to resolve the database bottleneck while meeting the requirements? (Select TWO.)
Select all that apply
A logistics company is migrating legacy route optimization virtual machines from an on-premises VMware vSphere cluster to AWS using AWS Application Migration Service (MGN). The replication traffic must flow privately over an existing AWS Direct Connect connection with a private virtual interface (VIF) terminated at an AWS Transit Gateway. The Transit Gateway connects to a Staging Area VPC. A dedicated Shared Services VPC hosts central Route 53 Private Hosted Zones (PHZs) and Route 53 Resolver endpoints. The company's security policy prohibits any public internet access for the source VMs and the staging environment.
During the initial replication phase, the migration team observes that the MGN Replication Agents installed on the source VMs fail to establish data replication with the Replication Servers in the Staging Area VPC, although control plane connectivity to the MGN endpoints is established.
Which combination of configuration steps will resolve the replication failure and ensure the migration succeeds over the private path in accordance with the security policy?
A university department is migrating its research analytics platform, which consists of physical servers, to AWS using AWS Application Migration Service (MGN). The migration must use a private network path over a AWS Direct Connect connection with an AWS Transit Gateway. The AWS Replication Agent has been installed on the source servers, and the agent successfully establishes control plane communication with the MGN service endpoints. However, data replication is failing to initiate, and status logs indicate that the replication servers in the staging area VPC cannot receive replication data blocks from the source servers. Which action should the solutions architect take to resolve this issue and enable replication?
A company operates a critical web application on AWS that runs on Amazon EC2 instances inside an Auto Scaling group behind an Application Load Balancer (ALB). The instances are deployed across two Availability Zones (us-east-1a and us-east-1b) in private subnets. Outbound internet traffic for both zones is routed through a single NAT Gateway located in us-east-1a.
During sudden morning traffic spikes, CPU utilization on the EC2 instances surges to 95% within 2 minutes. The Auto Scaling group uses a target tracking policy based on average CPU utilization with a 60-second cooldown period. However, because new instances require 5 minutes to bootstrap and initialize, the Auto Scaling group launches duplicate, redundant instances during the lag, which remain idle once initialization completes. Additionally, when us-east-1a experiences an outage, instances in us-east-1b lose all outbound connectivity, failing to reach external APIs.
Which two configurations should the solutions architect implement to resolve these scaling and availability issues?
Select all that apply
An energy utility company plans to migrate its legacy billing and operations platform to AWS. The on-premises environment is hosted on Microsoft Hyper-V. Due to strict energy sector compliance regulations, the security team prohibits installing any third-party software agents on the database virtual machines (VMs) containing customer billing data. However, the migration team requires deep network dependency mapping and process-level details for the web and application tier VMs to identify system boundaries and map network connections. Additionally, the company wants to track the overall migration status from a single dashboard using both AWS Application Discovery Service and third-party migration tools. Which combination of discovery mechanisms and tracking setup will meet these requirements while complying with the security policy?
A company runs a high-throughput transaction processing system on Amazon EC2 instances within private subnets in the `us-east-1` Region. The instances generate approximately of raw application logs each month. These logs are uploaded immediately to an Amazon S3 bucket in `us-east-1` for near-real-time auditing. In compliance with regulatory requirements, the logs must also be replicated to a secondary S3 bucket in the `us-west-2` Region for long-term disaster recovery. The disaster recovery logs are rarely accessed but must be retained for years. Currently, all outbound internet and S3 traffic from the private subnets routes through a pair of NAT Gateways, resulting in high monthly bills.
Which combination of actions will reduce the storage and data transfer costs for this architecture most effectively? (Select TWO.)
Select all that apply
A public sector transit authority is preparing to migrate its transport management and ticketing systems to AWS. The on-premises infrastructure consists of two environments:
1. A VMware vSphere cluster hosting 150 virtual machines (VMs) running x86-based CentOS and Windows Server.
2. A separate IBM Power Systems environment hosting 15 physical bare-metal servers running IBM AIX for legacy transaction processing.
The authority's security compliance policy strictly prohibits the installation of any third-party software agents on the CentOS and Windows VMs. However, the project team must perform an initial discovery phase to gather hardware specifications (CPU, RAM, and disk capacity) and utilization metrics for these VMs to size the AWS target environment. Additionally, they must inventory the physical AIX servers and consolidate all discovered resource details into AWS Migration Hub to track the migration.
Which of the following discovery strategies should the Solutions Architect implement to meet these requirements?