All practice questions
1462 questions
A company's security team needs to monitor network traffic entering and leaving their Amazon VPC. They want to identify potential security threats, detect anomalous traffic, and capture details about the IP traffic flowing through the network interfaces. Which two actions should the solutions architect recommend to implement this security monitoring? (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 logistics company is deploying a tracking system on AWS that ingests status updates from packages. The ingestion rate is expected to reach write operations per second. The solutions architect designs an Amazon DynamoDB table with `status_date` (formatted as YYYY-MM-DD) as the partition key. During performance testing, the application experiences write throttling errors, even though the total allocated write throughput is far below the table's limit. Which modification should the solutions architect make to resolve this write bottleneck and optimize performance?
An insurance firm is designing a serverless system to process customer claims. The system receives claim applications that must be processed in the exact sequence they are submitted to prevent audit trail errors. The processing involves two steps: first, parsing and extracting metadata from the claim application (which takes less than 2 seconds); second, running a continuous claim verification model that analyzes historical database patterns over several hours. Which two AWS configurations will meet these requirements most cost-effectively? (Select two.)
Select all that apply
A content management company is migrating its application to AWS. The application has two distinct workloads:
1. A transaction-heavy user management system that requires strict ACID compliance and relational integrity, with a read-to-write ratio of . The system must survive a database instance failure with minimal recovery time.
2. A high-volume event logging system that records user clicks. This log has highly unpredictable and spiky write patterns, but queries are simple key-value lookups.
Which configuration represents the most high-performing and scalable database solution?
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 company is deploying a new web application using AWS App Runner. The application requires access to a database connection string containing sensitive credentials that must be automatically rotated every 30 days. The application also needs access to a database port configuration, which is non-sensitive and static. The company wants to implement a secure solution that minimizes cost and management overhead. Which configuration meets these requirements?
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 financial brokerage platform processes a continuous, steady stream of stock market trade executions to update user portfolio balances. The system operates 24/7, handling a high and constant volume of transactions. The updates for each individual user portfolio must be processed in the exact sequence the trades occurred. The current architecture uses an AWS Lambda function triggered by an Amazon SQS standard queue to process the trade records. This configuration is experiencing high operational costs and occasional incorrect portfolio balances. Which solution will resolve these issues most cost-effectively?
A connected vehicle platform uses a fleet of Amazon EC2 instances to ingest real-time telemetry data. The ingestion application runs on a custom TCP port 9099 and requires sub-millisecond node-to-node latency for memory synchronization between instances. A Network Load Balancer (NLB) distributes the incoming TCP connections. Which combination of actions should a 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 hosts its containerized microservices application on Amazon ECS using the AWS Fargate launch type. The company's security team requires a solution to detect runtime threats, such as execution of unauthorized binaries, malware, and credential theft, at the container level. Additionally, they must continuously audit all AWS resources in the environment against CIS benchmarks to ensure compliance. Which combination of AWS services should a solutions architect recommend to satisfy these requirements? (Select TWO.)
Select all that apply
An online auction application hosts its platform on AWS. The application uses an Amazon S3 bucket to store high-resolution item images, which are active only during a -day auction window before they are archived or deleted. Bidders frequently query the auction catalog, resulting in high read latencies for both the item images and the bid history stored in an Amazon DynamoDB table. A solutions architect must design a caching and content delivery strategy to minimize read latency for both the static images and the database queries.
Which combination of steps should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A retail company wants to implement a solution to continuously monitor its AWS accounts and workloads for threat patterns, such as Amazon EC2 instances communicating with known malicious IP addresses or unexpected IAM activity. Which AWS service should the company use to meet this requirement?
A company wants to continuously monitor its AWS resource configurations to ensure they comply with security standards. The company also needs a centralized dashboard to aggregate security alerts and evaluate compliance against the CIS AWS Foundations Benchmark. Which TWO services should the solutions architect recommend to meet these requirements?
Select all that apply
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 company is designing a batch processing solution on AWS that runs containerized simulation jobs on a daily schedule for 4 hours. The jobs are stateless, fault-tolerant, and designed to checkpoint their progress so they can resume if interrupted. The simulation results must be stored in an Amazon RDS database, while the raw input data is temporarily stored in Amazon S3 for 10 days before being deleted. Which strategy is the most cost-effective to meet these requirements?
A company is deploying a high-performance in-memory distributed database on a fleet of Amazon EC2 instances. The database nodes must synchronize data continuously with sub-millisecond network latency and maximum throughput. The database service listens on custom TCP port 7000. A Network Load Balancer (NLB) is configured to route client traffic to the database cluster on port 7000, but the NLB is currently marking all database instances as unhealthy because the target group uses the default HTTP health check configuration.
Which combination of actions will achieve the lowest node-to-node replication latency and resolve the health check issue?