All practice questions
1462 questions
A logistics company is deploying a telemetry receiver API on Amazon EC2 instances. The instances are managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The API is configured to listen on TCP port 50051. The ALB is configured with an HTTPS listener that routes traffic to a target group associated with the ASG. After deploying the application, the solutions architect notices that the ALB target group shows all EC2 instances as unhealthy. The security group associated with the EC2 instances currently allows inbound traffic on port 50051 from the ALB security group, and outbound traffic to all destinations. Which combination of actions should the solutions architect take to resolve this issue and ensure the instances are marked healthy? (Select two.)
Select all that apply
A company runs a global mobile application with backend APIs hosted on Amazon EC2 instances behind Application Load Balancers (ALBs) in both the us-west-2 and eu-central-1 regions. Under normal conditions, users should be directed to the closest region to minimize latency. If the application in one region becomes unavailable, traffic must be automatically routed to the other region. The database backend consists of an Amazon Aurora Global Database with the primary cluster in us-west-2 and a read-only secondary cluster in eu-central-1. Which configuration should the solutions architect choose to meet these requirements?
A company has a web application running on Amazon EC2 instances inside an Auto Scaling group (ASG). The instances are registered with an Amazon Application Load Balancer (ALB). The application process on several instances crashes, causing the ALB target group health checks to mark those instances as unhealthy. However, the ASG does not terminate and replace the unhealthy instances. Which configuration change will ensure that the Auto Scaling group automatically replaces instances that fail the Application Load Balancer health check?
A multinational financial services firm hosts a critical transactional API across two AWS Regions: us-east-1 (primary) and us-west-2 (disaster recovery). In both regions, the API runs on Amazon EC2 instances managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB) and is configured to listen on custom TCP port 8443. The firm uses Amazon Route 53 with failover routing policies pointing to the ALBs via Alias records. During a simulated failover drill, the API service on the EC2 instances in us-east-1 is stopped, causing the instances to become unhealthy. However, Route 53 does not route traffic to the us-west-2 ALB, and external clients continue to receive timeout errors from us-east-1. Which configuration changes must the solutions architect implement to resolve this issue and enable automated failover?
An organization is launching an internal analytics dashboard on Amazon EC2 instances managed by an Auto Scaling group. The dashboard application is configured to run on TCP port 8080. The instances are deployed in private subnets behind an Application Load Balancer (ALB). The solutions architect has associated a custom Network ACL (NACL) with the private subnets. Although security groups are configured to allow port 8080 traffic between the ALB and the EC2 instances, the ALB target group reports all instances as unhealthy. Local testing confirms the dashboard service is responding normally on port 8080.
Which combination of steps must the solutions architect take to resolve this issue and allow the health checks to pass? (Select two.)
Select all that apply
An enterprise-grade media streaming platform is deploying a new content analytics service. The service consists of containerized microservices running on AWS Fargate in a private subnet. The application requires access to two distinct items: a non-sensitive database configuration string that changes per environment, and a highly sensitive API token used to authenticate with an external content delivery network (CDN) partner. The database configuration must be retrieved with low latency and without incurring additional request fees. The CDN API token must be encrypted at rest, rotated automatically every 30 days via a custom rotation schedule, and must never be exposed as plaintext in the Fargate task definition or console.
Which combination of actions should a solutions architect take to meet these requirements securely and cost-effectively? (Select TWO.)
Select all that apply
An enterprise application uses a proprietary TCP-based protocol to process transactions. The application runs on Amazon EC2 instances within private subnets, managed by an Auto Scaling group (ASG) behind a Network Load Balancer (NLB). The application daemon listens on TCP port 7001 for transaction traffic, while a separate monitoring service on the same instances listens on TCP port 7005 to report health status. Currently, the NLB target group is configured to use the TCP protocol, with the health check port set to 'traffic-port'. The target group health checks are failing, causing the NLB to mark all instances as unhealthy and prevent transaction routing. The Security Group assigned to the EC2 instances permits inbound TCP traffic on ports 7001 and 7005 from the VPC CIDR. The subnets use a custom Network Access Control List (NACL) that permits inbound TCP traffic on ports 7001 and 7005 from the VPC CIDR, but contains no outbound rules other than the default deny rule. Which combination of actions should a Solutions Architect take to resolve the health check failure and allow transactions to flow? (Select two.)
Select all that apply
A digital publishing company hosts a web application where users download magazine issues and static images. The files are stored in an Amazon S3 bucket. To reduce download latency and S3 data transfer costs, the company deployed an Amazon CloudFront distribution in front of the S3 bucket. However, during a peak traffic event, the backend database and S3 bucket experienced high loads, and reports showed a CloudFront cache hit ratio of 0% for the static assets.
Which configuration issue explains why the static assets are not being cached at the edge locations?
A logistics company runs a fleet tracking application that records real-time telemetry data from delivery vehicles in an Amazon DynamoDB table. The write workload is highly variable. During standard weekday operations, the table experiences a steady, predictable baseline of . However, during a daily synchronization window that occurs at random times depending on fleet arrivals, regional depots upload batch telemetry data, causing write traffic to spike instantly to . The application requires immediate data visibility and cannot tolerate any write throttling or data loss. Which capacity planning strategy is the most cost-effective and meets the performance requirements?
A company is moving an on-premises application to Amazon EC2. The application needs to retrieve a sensitive API credential for an external payment service and a non-sensitive API endpoint URL for a weather forecasting service. A solutions architect needs to design a configuration storage strategy that is secure, cost-effective, and minimizes administrative overhead.
Which combination of steps should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A financial analytics firm processes transaction registry logs that are uploaded daily to an Amazon S3 Standard bucket. The log files average in size. The logs are accessed frequently by analytics applications during the first days after upload. Between day and day , the logs are rarely accessed but must be immediately available for regulatory audits. After days, the logs are only needed for historical compliance and can be retrieved within hours. The logs must be permanently deleted after days.
Which of the following actions should a solutions architect combine in an S3 Lifecycle policy to meet these requirements in the most cost-effective manner? (Select TWO.)
Select all that apply
A solutions architect is designing a batch data processing workload running on Amazon ECS using the AWS Fargate launch type. The application requires access to a database connection string containing sensitive credentials that must be rotated every 30 days, and a non-sensitive configuration endpoint URL that remains static. The solutions architect needs to design a secure, cost-effective storage and retrieval strategy with minimal operational overhead.
Which combination of services should the solutions architect recommend to meet these requirements?
A retail company wants to continuously monitor its AWS accounts and workloads for malicious activity, including potential cryptocurrency mining and unauthorized API usage. The solution must require minimal operational overhead and provide automated threat intelligence. Which AWS service should a solutions architect recommend to meet these requirements?
A solutions architect is designing the database backend for a new multiplayer online game. The matchmaking system requires sub-millisecond read latency for fetching player state and matching profiles, and it must support a write throughput of writes per second during peak hours. Player profiles are updated frequently with new match statistics. The database must also support automatic failover across Multiple Availability Zones (Multi-AZ) with minimal downtime. Which database architecture should the solutions architect recommend to meet these requirements?
A company is designing a disaster recovery (DR) architecture for a web application using an active-passive strategy. The primary environment runs on Amazon EC2 instances behind an Application Load Balancer (ALB) in the us-east-1 Region. The secondary environment consists of a static maintenance page hosted on an Amazon S3 bucket configured for website hosting in the us-west-2 Region. The company wants to use Amazon Route 53 to automatically redirect user traffic to the maintenance page if the primary environment becomes unavailable. Which two configurations must the solutions architect implement to achieve this goal? (Select TWO.)
Select all that apply
A company hosts a secure financial transaction processing service on 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 listens on port 8443. However, due to security compliance, the application health check endpoint runs on a separate administrative service on port 8080 on the same instances. The target group is configured with the port set to 8443, and the health check port is set to the default 'traffic-port'. The EC2 instances are in private subnets, while the ALB is in public subnets. Custom Network ACLs (NACLs) are applied to both subnets. The security groups are configured to allow port 8443 and port 8080 inbound from the ALB security group, and outbound security groups are configured to allow all traffic. After deployment, the ALB marks all targets as unhealthy, and the ASG begins continuously terminating and replacing the instances. Which combination of actions will resolve this issue? (Select two.)
Select all that apply
A company hosts a web application on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The application listens on custom port for HTTPS traffic. The target group is configured to forward traffic to port . Although the application is running normally and accepting connections locally, the ALB is marking all EC2 instances as unhealthy. The EC2 instance security group allows inbound traffic on port from the ALB security group. Which of the following is the most likely cause of this issue?
A solutions architect is deploying a web application on Amazon EC2 instances managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The application runs on a custom port 8080. The security group of the EC2 instances allows inbound traffic only from the ALB's security group on port 8080. The solutions architect needs to configure the environment so that unhealthy instances are automatically detected and replaced by the ASG. Which TWO configurations should the solutions architect perform to meet these requirements? (Select TWO.)
Select all that apply
A company is developing a high-throughput financial ledger application running on Amazon EKS across multiple AWS accounts. The containerized application pods need access to:
1. A third-party payment gateway API password that must be encrypted at rest and rotated automatically every 45 days.
2. Regional service endpoint URLs (non-sensitive) that must be retrieved with minimal latency and zero additional storage cost.
Additionally, the security team requires that the AWS KMS customer managed key (CMK) used to encrypt the credentials must be rotated annually. The operations team incorrectly believes that this annual rotation will automatically decrypt and re-encrypt all historical database backups and secrets logs using the new key version.
Which combination of configurations should a solutions architect recommend to satisfy these requirements?
A company is designing a cost-effective architecture for a new application workload. The workload consists of the following components:
* A web application backend with a constant, predictable baseline of Amazon EC2 instances running , which scales up to instances during peak hours.
* An offline data processing pipeline that runs daily for hours, performs idempotent tasks, and can tolerate interruptions.
* A metadata store running on Amazon DynamoDB that receives highly unpredictable, spiky write requests from mobile clients.
Which two strategies should the solutions architect recommend to minimize costs while meeting these requirements? (Choose two.)
Select all that apply