All practice questions
1462 questions
A company hosts a specialized financial reporting API on Amazon EC2 instances managed by an Auto Scaling group. The API runs on a custom port 8000 and is positioned behind an Application Load Balancer (ALB). The EC2 instances run initialization scripts during startup that typically take 5 minutes to complete before the application can respond to requests. The solutions architect must secure the environment so that the EC2 instances accept traffic only from the ALB, and ensure that newly launched instances are not marked unhealthy and terminated prematurely during their initialization phase.
Which two actions should the solutions architect take to meet these requirements? (Select two.)
Select all that apply
A healthcare technology company hosts its patient check-in portal at the apex domain patientcheck.com. The primary environment runs 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 strategy. If the primary environment in us-east-1 experiences an outage, Route 53 must automatically redirect all incoming client traffic to a standby static maintenance website hosted in an Amazon S3 bucket in the us-west-2 Region. Which combination of Route 53 configurations will meet these requirements?
A logistics company provides a web-based tracking dashboard containing static map tiles and a real-time tracking API. The static map tiles are stored in an Amazon S3 bucket in the eu-central-1 Region, and the API is hosted on Amazon EC2 instances behind an Application Load Balancer (ALB) in the same Region. The company wants to reduce latency for global users and ensure the dashboard remains highly resilient to storage outages with minimal operational overhead.
Which combination of actions should a solutions architect take to meet these requirements? (Choose two.)
Select all that apply
A cloud-based education platform stores video lesson project files and their historical edit versions in an Amazon S3 bucket with versioning enabled. The current versions of the project files average in size and are accessed frequently during the first days of editing. After days, they are rarely accessed but must be retained for () for compliance, requiring millisecond retrieval. The noncurrent (historical) versions average in size and are rarely accessed immediately after becoming noncurrent. These historical versions must be retained for days for recovery purposes and must be retrievable within hours.
Which combination of S3 Lifecycle actions will meet these requirements in the most cost-effective manner? (Select TWO.)
Select all that apply
A solutions architect is designing a real-time advertising analytics platform to ingest and store ad impression events. The platform receives millions of write operations per minute. The system must support querying data by `campaign_id` sorted by `timestamp` to display real-time campaign performance. There are fewer than active campaigns at any given time, but the traffic is distributed unevenly across them, with some popular campaigns receiving the majority of the impressions. Which database design strategy should the solutions architect implement to ensure high write throughput and avoid throttling in Amazon DynamoDB?
A company is optimizing the costs of its database tier on AWS. The current architecture consists of:
* An Amazon RDS for PostgreSQL database that requires of storage. The database handles OLTP workloads with a constant baseline of , but experiences daily performance spikes up to .
* An Amazon DynamoDB table used to store historical user activity logs. The log generation is highly unpredictable, experiencing sudden write bursts of up to followed by hours of complete inactivity.
Which combination of database configurations will meet these requirements most cost-effectively? (Select TWO.)
Select all that apply
A SaaS company hosts its collaborative project management application at the apex domain projectcollab.com. The application's primary infrastructure runs in the us-west-2 Region, where an Application Load Balancer (ALB) routes traffic to a fleet of Amazon EC2 instances. The company maintains a warm standby disaster recovery environment in the eu-west-1 Region, which also uses an ALB. The company wants to implement an active-passive disaster recovery strategy where Amazon Route 53 automatically diverts all traffic to the warm standby environment in eu-west-1 only if the primary environment in us-west-2 experiences an outage.
Which combination of Route 53 configurations will meet these requirements? (Choose two.)
Select all that apply
A company hosts a web application on Amazon EC2 instances inside an Auto Scaling group behind an Application Load Balancer (ALB). The application on one of the EC2 instances becomes unresponsive, causing the ALB target group health check to mark that instance as unhealthy. However, the Auto Scaling group does not terminate or replace the unhealthy instance. Which action will ensure that the Auto Scaling group automatically replaces the unresponsive instance?
A company is developing a web application that runs on Amazon EC2 instances and connects to an Amazon RDS for PostgreSQL database. The database credentials must be encrypted at rest and rotated every 30 days. The solutions architect needs to design a secure solution to manage these credentials with minimal administrative overhead. Which two actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A gaming company hosts a multiplayer online battle arena (MOBA) game server backend on Amazon EC2 instances managed by an Auto Scaling group (ASG) in private subnets. The game server application communicates using UDP port 7777. To route incoming traffic with ultra-low latency, a solutions architect deploys a Network Load Balancer (NLB) in public subnets. The target group is configured to register the EC2 instances by Instance ID. The solutions architect has configured the security group of the EC2 instances to allow inbound UDP traffic on port 7777 from the client IP ranges. However, the NLB is marking all EC2 instances as unhealthy, and clients are unable to connect to the game servers. Which two actions should the solutions architect take to resolve the health check issues and allow client traffic? (Select two.)
Select all that apply
A global weather application serves forecast data that is updated once every 15 minutes. The backend architecture consists of Amazon Route 53, Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. The application experiences a high volume of read requests. The development team wants to optimize read performance, reduce the compute load on AWS Lambda, and keep integration changes minimal. Which of the following solutions should a solutions architect recommend?
A financial services company hosts a compliance reporting application on Amazon EC2 instances. The application requires access to a static third-party API token. The security team mandates that the token must be encrypted at rest using a customer managed key that undergoes automatic annual rotation. However, to maintain data integrity, historical records encrypted with older versions of the key must remain decryptable without being re-encrypted. Which solution meets these requirements with the lowest operational overhead and cost?
A company hosts a high-traffic e-commerce application on Amazon EC2 instances managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The ALB target group health check is configured to query an application endpoint `/health` on port 443, which verifies the application's connection to a backend Amazon RDS database. During a scheduled database maintenance window, the database becomes temporarily unavailable, causing the `/health` endpoint to return HTTP 500 errors. Consequently, the ALB target group marks all EC2 instances as unhealthy. Because the ASG is configured to use ELB health checks, it begins terminating all instances in the fleet and launching new ones. This results in a continuous loop of instance provisioning and termination, generating high costs and delaying recovery when the database comes back online. Which action should a Solutions Architect take to resolve this issue and prevent the unnecessary termination of EC2 instances during database outages?
An architecture team is designing a global IoT telemetry solution. The system collects continuous status reports from millions of devices using a custom TCP-based protocol. The backend ingestion servers run on Amazon EC2 instances behind Application Load Balancers (ALBs) deployed in the us-east-1 and eu-west-1 regions. The solution must minimize packet latency, route device traffic to the nearest healthy region, and automatically failover within seconds during a regional outage. Which AWS service configuration meets these resilience and performance requirements?
A logistics company uploads daily vehicle tracking video feeds with an average file size of to an Amazon S3 Standard bucket. The videos are analyzed frequently by a machine learning model during the first following upload. For the next , the videos are occasionally reviewed by quality assurance teams. After total, the videos are no longer needed and must be permanently deleted. Which lifecycle configuration is the MOST cost-effective for managing these objects?
A solutions architect is deploying a web application on Amazon EC2 instances managed by an Auto Scaling group. The application runs on port 8080 and is registered with an Application Load Balancer (ALB) target group. The load balancer marks all EC2 instances as unhealthy, even though the application is running successfully on the instances. The security groups are already correctly configured to allow traffic on port 8080. Which two configurations should the solutions architect verify to resolve this health check issue? (Select two.)
Select all that apply
A software developer is configuring a deployment pipeline on AWS and needs to store database connection details. The database hostname is public information, but the database password must be encrypted at rest to comply with company security policies. The password is static and does not need automatic rotation. Which configuration should the developer use to meet these requirements securely and with the lowest cost?
A company is deploying a retail application on Amazon EC2 instances. The application requires access to database credentials for an Amazon RDS for MySQL database, which must be rotated automatically every 30 days to comply with security standards. Additionally, the application requires access to a static API key for an external payment gateway provider. This API key must be encrypted at rest but does not require rotation. The company wants to minimize ongoing management costs for storing these credentials. Which combination of actions should a solutions architect recommend to meet these requirements? (Select TWO.)
Select all that apply
A company hosts a data ingestion service on Amazon EC2 instances in a private subnet. The service writes of data monthly to Amazon DynamoDB and sends of message payloads monthly to Amazon Simple Queue Service (Amazon SQS). Currently, all outbound traffic from the private subnet is routed through a NAT Gateway. A solutions architect must design a routing solution to minimize the data transfer and processing costs associated with these services. Which architecture meets these requirements most cost-effectively?
An online auction portal experiences performance bottlenecks during peak bidding windows. The database tier must support sudden, unpredictable write spikes of up to writes per second, while providing microsecond read latency for retrieving the current highest bid status. The access patterns are simple key-value lookups.
Which combination of database configurations should be implemented to meet these performance and scaling requirements? (Select TWO.)
Select all that apply