All practice questions
1462 questions
A company is deploying a containerized microservice for processing real-time IoT telemetry data. The service runs on Amazon EC2 instances managed by an Auto Scaling group (ASG). An Application Load Balancer (ALB) routes traffic to the instances. The telemetry service is configured to listen on port 8080. The target group is configured to route traffic to port 8080. The security group associated with the EC2 instances allows inbound traffic on port 8080 from the ALB security group. After deployment, the ALB registers all EC2 instances as unhealthy, and users receive a 502 Bad Gateway error. The solutions architect verifies that the service is running and healthy on the instances when tested locally on port 8080. Which action should the solutions architect take to resolve this issue?
A collaborative document editing platform stores document metadata and change logs in Amazon DynamoDB. The platform experiences write bottlenecks during active collaboration sessions, causing throttling, while users also experience latency greater than milliseconds when retrieving the latest document updates. The database currently uses a low-cardinality attribute, the project creation date, as the partition key. Which two actions should the solutions architect take to resolve these performance issues? (Select two.)
Select all that apply
A company runs a read-heavy content management application on AWS. The application database is deployed on an Amazon RDS for MySQL DB instance. The workload consists of a steady, low-volume write rate of transactions per second, but read requests regularly spike up to queries per second during peak hours. The database currently uses a db.r6g.4xlarge Multi-AZ instance to handle the peak read traffic, but the company wants to optimize the high database costs while maintaining high availability. Which database architecture is the most cost-effective while meeting the application's availability and performance needs?
An enterprise runs a critical API workload on Amazon EC2 instances managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The ALB is configured with an HTTPS listener forwarding traffic to a target group on port . The application on the EC2 instances processes user traffic on port . However, the application's internal health status is exposed only via a lightweight management server running on port on the same instances. Currently, the EC2 security group allows inbound TCP traffic on port from the ALB security group. The target group health check is set to its default configuration, and the instances are consistently marked as unhealthy by the ALB, causing the ASG to terminate and relaunch them. Which configuration change should a solutions architect implement to resolve the health check failures while maintaining the principle of least privilege?
A financial services firm hosts a web application on Amazon EC2 instances in an Auto Scaling group (ASG). The instances are registered as targets in a target group for an Application Load Balancer (ALB). The application listens on TCP port 8080. The EC2 instance security group allows inbound traffic on TCP port 8080 from the ALB security group. However, the ALB health checks are failing, and the ALB is marking all instances as unhealthy. The systems administrator verifies that the application is running normally on the instances and accepting traffic. Which configuration change will resolve this issue?
A digital media agency uses a fleet of Amazon EC2 instances to run a distributed 3D rendering engine. The rendering nodes require sub-millisecond, low-latency network communication to synchronize frame buffers during active renders. Additionally, a central scheduler distributes tasks to the rendering nodes on port behind an Application Load Balancer. The rendering service is configured to start and bind to port only after the instance finishes loading its local textures. Which two configuration steps must a solutions architect implement to ensure optimal performance and prevent the load balancer from marking active nodes as unhealthy? (Select TWO.)
Select all that apply
A retail company is launching a promotional website for a new product line. The website serves static content and retrieves product catalog information via an API. The website traffic is highly unpredictable, with extreme spikes during marketing campaigns and long periods of inactivity. Additionally, a nightly inventory synchronization process runs continuously for hours to update the catalog database. The company wants to design a serverless architecture that minimizes costs, especially during idle periods, while scaling automatically.
Which architecture should a solutions architect recommend to meet these requirements?
A company hosts a web application on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The EC2 instances reside in a private subnet, and the ALB is in a public subnet. The application is configured to listen on port 8080. A security engineer updates the private subnet's Network Access Control List (NACL) to allow inbound traffic from the public subnet on TCP port 8080, and outbound traffic to the public subnet on TCP port 8080. Shortly after, the ALB target group health checks begin failing, and the EC2 instances are marked unhealthy. What is the reason for this health check failure?
A financial services provider hosts a transactional processing application on Amazon EC2 instances within an Auto Scaling group behind an Application Load Balancer (ALB). The application requires a complex bootstrap process—including downloading security certificates and loading a large dataset into local memory—which takes approximately 6 minutes before the instance can pass health checks. During sudden market volatility, rapid traffic spikes overload the existing instances, causing request timeouts before new instances can finish bootstrapping. Which solution will most effectively minimize the latency of scaling out the compute capacity?
A financial technology company is migrating its core transaction ledger application to AWS. The application runs on Amazon EC2 instances behind an Application Load Balancer and uses an Amazon RDS for PostgreSQL database. To comply with regulatory standards, the company requires a multi-Region disaster recovery (DR) strategy with a Recovery Time Objective (RTO) of 15 minutes and a Recovery Point Objective (RPO) of 2 minutes. The design must minimize the ongoing infrastructure cost in the recovery Region. Which combination of actions should a solutions architect recommend to meet these requirements? (Select TWO.)
Select all that apply
A gaming company needs to process game session logs uploaded to an Amazon S3 bucket. The processing application runs as a containerized workload, with each log file taking 20 to 30 minutes to process. The logs must be processed in the exact order they are uploaded to maintain chronological player states in Amazon DynamoDB. The volume of uploads is highly unpredictable, with significant spikes during weekends and virtually no activity during weekdays. Which architecture is the most cost-effective and meets these requirements?
A retail company is designing an application that receives transaction logs from physical stores. The transaction logs must be processed in the exact order they are received to ensure accurate inventory updates. The processing application must run continuously as a background process to handle the constant stream of messages. The solutions architect needs to decouple the ingestion layer from the processing layer.
Which TWO actions should the solutions architect take to meet these requirements?
Select all that apply
A company is designing a secure architecture to allow a third-party vendor's application, running in AWS Account B (), to write diagnostic logs to an Amazon S3 bucket in the company's AWS Account A (). The S3 bucket in Account A is encrypted using an AWS KMS customer managed key. The solution must ensure that the vendor cannot access other resources in Account A, does not use long-term AWS credentials, is protected against the confused deputy problem, and follows the principle of least privilege. Which TWO configurations must a solutions architect implement to meet these requirements?
Select all that apply
A company hosts a specialized data processing service on Amazon EC2 instances. The instances are managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The backend application runs on custom port . The target group is configured to route traffic to the instances on port , but the default health checks are failing, and the ALB marks all newly launched instances as unhealthy. Additionally, during scale-in events, active client connections—which can take up to minutes ( seconds) to complete—are being terminated abruptly before finishing their tasks.
Which two actions should a Solutions Architect take to resolve these issues? (Select two.)
Select all that apply
A financial technology company is designing a cost-optimization strategy for its application environment on AWS. The application consists of three main components:
1. A core transactional processing service running continuously 24/7 on Amazon ECS with AWS Fargate.
2. A metadata repository on Amazon DynamoDB that handles highly unpredictable, spiky request volumes throughout the day.
3. An image-processing task that runs for less than 10 seconds per invocation, triggered whenever users upload new documents to Amazon S3.
Which of the following compute selection and purchasing strategies is the most cost-effective for this environment?
A company has a global logistics application deployed on Amazon Elastic Kubernetes Service (EKS) across two AWS regions: us-east-1 and eu-west-1. The application requires access to a proprietary third-party API key to query shipping rates. The API key must be encrypted at rest using a customer managed key (CMK) and must be rotated automatically every 90 days. The application in both regions must retrieve the key with minimal latency. Which combination of actions should a solutions architect recommend to meet these requirements with the least operational overhead? (Select TWO.)
Select all that apply
An enterprise has two VPCs (VPC A and VPC B) in the same AWS Region. VPC A hosts a transaction processing application, and VPC B hosts a centralized logging cluster. The application streams approximately of data monthly to the logging cluster. Currently, the two VPCs are connected via an AWS Transit Gateway. The enterprise wants to reduce the network data transfer costs for this log transmission while ensuring that all traffic remains private. Which two of the following configuration changes should a Solutions Architect recommend? (Choose two.)
Select all that apply
A financial technology company operates a transaction processing application deployed across two AWS Regions: us-east-1 and us-west-2. The application requires access to a third-party payment gateway API key that must be rotated every 30 days. To comply with security mandates, the key must be encrypted at rest using a Customer Managed Key (CMK) in AWS KMS, and the KMS CMK itself must be rotated annually. The solution must ensure that client applications in both Regions can retrieve the active API key with latency under and experience no service interruptions during both API key rotation and KMS key rotation. Which architecture should a solutions architect recommend to meet these requirements with the least operational overhead?
A genomics research institute is deploying a DNA sequencing pipeline on Amazon EC2 instances. The workload requires a tightly-coupled cluster of compute nodes to perform distributed sequence alignment using Message Passing Interface (MPI). In addition, a web dashboard queries a status daemon running on port of these instances to monitor alignment progress. The dashboard traffic is distributed to the instances via an Application Load Balancer (ALB) listening on port .
Which TWO configurations should a solutions architect implement to achieve optimal network performance for the MPI workload and ensure the ALB correctly monitors the status daemon?
Select all that apply
A financial technology company hosts a transactional banking application on AWS. The architecture consists of Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer, and a Multi-AZ Amazon RDS for PostgreSQL database. To meet regulatory compliance, the company must establish a cross-region disaster recovery (DR) plan with a Recovery Point Objective (RPO) of 15 minutes and a Recovery Time Objective (RTO) of 2 hours. The solutions architect must design a solution that minimizes ongoing infrastructure costs in the secondary region. Which disaster recovery strategy should the solutions architect recommend to meet these requirements?