Design Resilient Architectures
382 questions
A company runs a web application on Amazon EC2 instances within an Auto Scaling group behind an Application Load Balancer (ALB). The application listens on TCP port 8080. After a new deployment, the ALB marks all instances as unhealthy, causing the Auto Scaling group to repeatedly terminate and launch new instances. Which two actions should a solutions architect take to resolve this issue? (Select two.)
Select all that apply
A company is designing a high-throughput financial transaction processing application on AWS. The application must process incoming transactions in the exact order they are received. Transactions are ingested via Amazon API Gateway and must be decoupled before being processed by a fleet of microservices running on Amazon Elastic Container Service (Amazon ECS). Additionally, an independent compliance microservice must receive a copy of every transaction for near real-time auditing and archiving, although the compliance service itself does not require strict ordering. Which combination of steps should a solutions architect take to meet these requirements with the least operational overhead? (Select TWO.)
Select all that apply
A solutions architect is troubleshooting a microservices application deployed on AWS. The application consists of a fleet of Amazon EC2 instances in an Auto Scaling group (ASG) residing in private subnets. The ASG is registered with a target group of an Application Load Balancer (ALB) located in public subnets. The application is configured to listen on TCP port 8443, and the target group is configured with a target port of 8443. The health check is set to use the `traffic-port` (TCP port 8443) with the path `/healthz`.
To secure the network traffic, the following configurations are applied:
1. The security group associated with the EC2 instances allows inbound TCP traffic on port 8443 from the security group of the ALB.
2. The custom Network ACL (NACL) for the private subnets allows inbound TCP traffic on port 8443 from the public subnet CIDR block.
3. The custom NACL for the private subnets allows outbound TCP traffic on port 8443 to the public subnet CIDR block.
The application is running correctly on the EC2 instances, and querying the `/healthz` endpoint locally on the instances returns a `200 OK` status. However, the ALB marks all instances in the target group as unhealthy, and the ASG is continuously terminating and replacing the instances.
Which of the following modifications is required to resolve this issue and allow the ALB to successfully perform health checks?
A company hosts a critical web application on Amazon EC2 instances behind an Application Load Balancer (ALB) in the us-east-1 Region. The company wants to implement an active-passive disaster recovery (DR) strategy using a warm standby environment in the us-west-2 Region. The solution must automatically route user traffic to the secondary region with minimal downtime if the primary region's application becomes unavailable. Which two configuration steps must a solutions architect take to meet these requirements? (Choose two.)
Select all that apply
A company hosts a containerized web application on Amazon EC2 instances within a private subnet. The instances are managed by an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The application listens on custom TCP port . The ALB's target group is configured to route traffic to port , but its health check is configured to use the default HTTP port . As a result, all newly launched EC2 instances fail the ALB health check and are terminated by the ASG.
The security group assigned to the EC2 instances allows inbound TCP traffic on port from the ALB security group, and allows all outbound traffic. The private subnet's Network ACL allows inbound traffic on port and port , but its outbound rule only allows traffic to destination ports and to allow for package updates.
Which two actions should a solutions architect take to resolve the health check failures and allow the instances to receive application traffic? (Select two.)
Select all that apply
A solutions architect is configuring an Application Load Balancer (ALB) and an Auto Scaling group to host a stateful web application. The application requires user session state to be maintained on the specific Amazon EC2 instance where the session was established. Which of the following configurations should the solutions architect implement to meet these requirements? (Select two.)
Select all that apply
A company is hosting a specialized transaction processing application on a fleet of Amazon EC2 instances managed by an Auto Scaling group (ASG). The instances are registered with a target group for an Application Load Balancer (ALB). The application receives transaction requests on TCP port 9443, and the target group is configured to route traffic to port 9443 with the health check port set to 'traffic-port'. To verify application health, the load balancer needs to query an administrative status API endpoint that runs on port 8081 of the instances. Currently, the ALB is marking all instances as unhealthy, causing the ASG to continuously terminate and launch new instances. Which action should the solutions architect take to resolve this issue?
A company runs a high-traffic web application on Amazon EC2 instances managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The application handles long-lived WebSocket connections and standard HTTP requests. During scale-in events, users complain that their active WebSocket sessions are abruptly terminated. Additionally, during sudden traffic surges, the ASG fails to scale out quickly enough because the default scaling metric (average CPU utilization) does not immediately reflect the sudden increase in connection volume. Which two actions should the solutions architect take to resolve these issues? (Select two.)
Select all that apply
A logistics company is designing an event-driven telemetry ingestion system to track delivery vehicles globally. The system must process location updates in the exact chronological order they are generated for each individual vehicle to ensure accurate routing history. Three downstream consumer applications—a live customer map, a fleet analytics engine, and an archival database—must independently process the same location stream in real time. The ingestion layer must scale automatically to handle sudden spikes in traffic during peak delivery hours. Which architecture meets these requirements with the least operational overhead?
An e-commerce company hosts its critical shopping cart and order processing application on AWS. The application runs on Amazon ECS tasks using the AWS Fargate launch type in the us-east-1 Region, backed by an Amazon Aurora PostgreSQL Multi-AZ DB cluster. The company needs to design a disaster recovery (DR) solution in the us-west-2 Region. The DR solution must support a Recovery Point Objective (RPO) of 5 minutes and a Recovery Time Objective (RTO) of 15 minutes. The company wants to minimize costs during normal operations while ensuring the compute capacity can scale up rapidly during a failover. Which combination of actions should the Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
An analytics company hosts a distributed data ingestion service on Amazon EC2 instances inside an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The ingestion service processes incoming data on port 5001, while a separate health status daemon runs on port 9001. The ASG is currently configured with the default EC2 health check type. During a recent event, the ingestion service crashed on several instances, but the ASG did not terminate them, resulting in lost data. To resolve this, a solutions architect updated the configuration, but the ASG began aggressively terminating newly launched instances before they could complete their 10-minute cache warming process.
Which two actions should the solutions architect take to resolve these issues? (Select two.)
Select all that apply
A solutions architect has configured an Application Load Balancer (ALB) to distribute traffic to a fleet of Amazon EC2 instances. The web application runs on port 80 on the EC2 instances. The security group associated with the EC2 instances is configured to allow inbound traffic on port 80 from the ALB security group. However, the ALB is marking all EC2 instances as unhealthy. Which of the following is the most likely cause of this issue?
A retail company hosts its core ordering application on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The application runs on a custom port 8085. The ALB listener is configured to accept HTTPS traffic on port 443 and forward it to a target group containing the EC2 instances on port 8085. To meet strict security requirements, the EC2 security group is restricted to allow inbound TCP traffic on port 8085 only from the ALB security group. However, after a new deployment, the target group health checks fail, and the ASG repeatedly terminates and replaces the instances.
Which action should the Solutions Architect take to resolve the issue and ensure the instances pass health checks while maintaining the current security posture?
A gaming company hosts a mobile leaderboard application on Amazon EC2 instances in an Auto Scaling group (ASG). The instances are registered with a target group for an Application Load Balancer (ALB). The leaderboard application listens on custom TCP port , but the ALB shows all EC2 instances as unhealthy. A solutions architect verifies that the application is running correctly on the instances. Which two actions should the solutions architect take to resolve the health check issues? (Select two.)
Select all that apply
A medical device manufacturer is building an IoT monitoring system on AWS to process state-change logs from thousands of diagnostic devices. The system must process status updates for each device chronologically to maintain an accurate device history. During peak usage, the system experiences brief, massive spikes in telemetry messages. The architecture must fan out these state-change events to two distinct backend systems: a real-time status-tracking service and a historical compliance auditing database. Which solution meets these requirements with the least operational overhead?
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
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 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?
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