All practice questions
1462 questions
A logistics company hosts a fleet tracking application on AWS. The application runs on Amazon ECS Fargate tasks behind an Application Load Balancer (ALB) in the primary Region (us-east-1). The database is an Amazon RDS for PostgreSQL Multi-AZ DB instance. The company requires a disaster recovery (DR) strategy in a secondary Region (us-west-2) with a Recovery Time Objective (RTO) of less than minutes and a Recovery Point Objective (RPO) of less than minutes. The solution must minimize ongoing operational costs. Which two actions should a solutions architect take to meet these requirements?
Select all that apply
An enterprise logistics company runs a fleet of Amazon EC2 instances in a private subnet to process shipping telemetry. The security team must design a threat detection and mitigation system to identify any EC2 instances that attempt to communicate with known malicious command-and-control (C&C) servers. When a threat is detected, the system must immediately block both inbound and outbound communication with the malicious IP address for the affected subnet. Which architectural design meets these requirements while adhering to the AWS Well-Architected Framework?
A solutions architect is designing a high-performance web application. The application tier runs on Amazon EC2 instances inside an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The application listens on a custom port . The ALB is configured with a target group targeting the EC2 instances. The solutions architect configures the security group of the EC2 instances to accept incoming TCP traffic on port from the ALB's security group. However, the instances are showing as unhealthy in the target group, and users receive a HTTP Bad Gateway error. The subnets containing the EC2 instances are associated with a custom Network Access Control List (Network ACL). Which TWO configurations must the solutions architect verify or modify to resolve the health check issues and restore service? (Select two.)
Select all that apply
A company is building a serverless ETL pipeline using AWS Glue. The pipeline runs multiple jobs that need to connect to an on-premises database. To establish this connection, the Glue jobs require a database password that is subject to a strict regulatory policy requiring rotation every 60 days. The jobs also require the database port number, which is static and does not contain sensitive information. The solutions architect must design a secure, cost-effective solution with minimal operational overhead.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A media streaming company hosts its transcoding fleet on Amazon EC2 instances inside a private subnet. The security team needs to ensure that all network interfaces adhere strictly to corporate security standards. Specifically, they must detect any modifications that open restricted ports to unauthorized CIDR blocks, automatically flag these instances as non-compliant, and immediately notify the security operations center. Which combination of AWS services should the solutions architect recommend to implement this security monitoring system? (Select TWO.)
Select all that apply
A company is designing a disaster recovery (DR) strategy for a database on AWS. The company requires a Recovery Point Objective (RPO) of hour and a Recovery Time Objective (RTO) of minutes. The solutions architect wants to minimize ongoing running costs. Which of the following strategies meets these requirements at the lowest cost?
A solutions architect is configuring an Application Load Balancer (ALB) to distribute traffic to Amazon EC2 instances running a web service on custom port . The instances are managed by an Auto Scaling group. The solutions architect notices that the load balancer is marking all instances as unhealthy. The service is running on the instances, and security groups allow traffic on port . What is the most likely cause of this issue?
A software-as-a-service (SaaS) provider hosts a financial analytics dashboard on AWS. The static assets of the dashboard are stored in an Amazon S3 bucket. The backend application runs on Amazon EC2 instances in private subnets behind an Application Load Balancer (ALB) and retrieves market analytics data from an Amazon Aurora PostgreSQL database. During periods of high market volatility, users experience slow dashboard loading times, and the database CPU utilization spikes due to a high volume of read queries for identical market data. Which two actions should a solutions architect recommend to optimize response times and reduce the load on the database? (Select TWO.)
Select all that apply
A company is designing a cost-effective infrastructure for two new workloads and an existing database on AWS:
1. A backend application running on Amazon EC2 instances that runs continuously 24/7 with a baseline of 10 instances. Every Friday, a batch reporting job runs for 8 hours, requiring an additional 20 instances. These batch jobs are stateless, fault-tolerant, and can be resumed if interrupted.
2. A containerized microservices application running on Amazon ECS. The workload has highly unpredictable, dynamic traffic, and the company wants to minimize server provisioning and operational overhead.
3. An Amazon RDS for PostgreSQL database instance that runs continuously 24/7.
Which of the following strategies should a solutions architect select to meet these requirements at the lowest cost? (Select TWO.)
Select all that apply
A company is designing an automated serverless workflow to coordinate its customer onboarding process. The workflow must execute several steps, including identity verification, account creation, and waiting for the customer to upload a signed agreement, which can take up to 5 days. The processing logic for each step is short-lived, completing in under 2 seconds. The initial onboarding requests must be processed in the exact order they are received to prevent race conditions. The company wants to minimize compute and database costs, ensuring that they do not pay for idle resources while waiting for the customer's document. Which architecture should a solutions architect recommend to meet these requirements?
An enterprise retail organization is migrating its inventory management pipeline to AWS. The pipeline must process inventory state-change events generated by retail stores. The requirements are:
1. Event processing must be strictly ordered on a per-store basis to prevent race conditions in warehouse stock levels.
2. The events must be fanned out to two separate downstream microservices: a real-time inventory reconciliation service and a near-real-time business intelligence dashboard.
3. The total ingestion throughput across all stores is expected to exceed 15,000 messages per second, while individual store volume varies dynamically.
Which TWO configurations should a solutions architect combine to meet these requirements with the lowest operational overhead? (Select TWO.)
Select all that apply
A financial clearinghouse processes sensitive transactional data in its primary AWS Region (us-east-1). The current architecture consists of an Amazon Aurora PostgreSQL-Compatible Edition database cluster and an application tier running on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The clearinghouse must implement a disaster recovery (DR) strategy in a secondary Region (us-west-2) to ensure business continuity. The DR solution must achieve a Recovery Point Objective (RPO) of less than 1 minute and a Recovery Time Objective (RTO) of less than 10 minutes, while minimizing ongoing compute costs. Which database and application deployment strategy should a solutions architect recommend to meet these requirements?
A real estate listing platform hosts its application on AWS using Amazon EC2 instances and an Amazon RDS for PostgreSQL DB instance. The platform needs to establish a cost-effective disaster recovery (DR) plan in a secondary Region. The company specifies a Recovery Point Objective (RPO) of hours and a Recovery Time Objective (RTO) of hours. The DR plan must minimize ongoing running costs. Which TWO configurations should a solutions architect recommend to meet these requirements at the lowest cost?
Select all that apply
An organization has migrated a legacy internal API to run on Amazon EC2 instances in an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The API service is bound to TCP port 5050 on the instances. After launching the new instances, the ALB reports all targets as unhealthy with a status of 502 Bad Gateway for client requests. The security group associated with the ALB allows traffic on port 443 from client networks. The instances are deployed in private subnets. Which configuration adjustments are required to restore service health and enable successful load balancing? (Select two.)
Select all that apply
A company hosts a stateful web application at the apex domain example.com. The primary environment is deployed in the us-east-1 Region behind an Application Load Balancer (ALB) and uses an Amazon RDS Multi-AZ DB instance. The disaster recovery (DR) environment is in the us-west-2 Region behind another ALB and uses a cross-Region RDS read replica. The company requires a warm standby DR strategy where the DR environment is scaled down but running. The failover to us-west-2 must happen automatically if the primary ALB or the database becomes unavailable. The company wants to use Route 53 DNS failover and needs to minimize the Recovery Time Objective (RTO) while avoiding split-brain data writes. How should the solutions architect configure this architecture?
An application deployed on AWS needs to query a third-party weather forecasting service. The application requires access to two configuration settings: a sensitive API access token that must be rotated automatically every 30 days, and a non-sensitive API endpoint URL that does not change. To minimize costs while maintaining a secure architecture, which of the following configurations should a solutions architect recommend?
A genomic research company runs a continuous, 24/7 data-ingestion pipeline on Amazon EC2 instances with a highly predictable baseline load. The company also runs containerized data analysis workloads on Amazon ECS using AWS Fargate that can tolerate interruptions and can be restarted from checkpoints. Finally, they maintain a persistent Multi-AZ Amazon RDS for PostgreSQL database instance. The company wants to implement a purchasing strategy to maximize cost savings across these workloads. Which combination of purchasing options meets these requirements most cost-effectively?
An e-commerce application uses an Amazon RDS for MySQL Multi-AZ DB instance. During flash sales, CPU utilization on the database spikes to due to a massive influx of read queries for product catalog details, causing application timeouts. The catalog data is updated only once per day. Which architecture should a solutions architect recommend to resolve this performance bottleneck with the lowest latency?
A smart utility provider receives water consumption telemetry reports from smart meters. These meters upload data in unpredictable bursts three times a day. The processing pipeline requires strict message ordering for each smart meter to compute usage trends accurately. Each batch processing job performs complex analytics that runs continuously for to minutes per batch. The final results are stored in an Amazon DynamoDB table. The provider wants to design a highly cost-effective, serverless backend architecture that minimizes operational overhead.
Which combination of actions will meet these requirements most cost-effectively? (Select TWO.)
Select all that apply
A company is designing the database architecture for a web application that manages ticket sales. The database requirements are split into two categories:
* Ticket transaction records: The write workload is highly unpredictable, experiencing extreme surges up to writes per second during flash sales, but dropping to near zero for most of the week.
* User profile sessions: The read workload is highly predictable with a stable baseline of reads per second throughout the day. Low latency under is required.
Which TWO strategies should a solutions architect recommend to design a highly cost-optimized database tier that meets these requirements? (Select TWO.)
Select all that apply