All practice questions
1462 questions
A logistics company's security operations team suspects that an Amazon EC2 instance in a private subnet is compromised and communicating with a malicious command-and-control server. The team must capture network flow details, including source and destination IP addresses, ports, and protocols, to confirm this activity and analyze the connection patterns. The logging solution must capture all traffic without altering the existing network architecture or impacting network performance. Which strategy should the solutions architect recommend to monitor this network traffic?
A company is designing a database architecture for a multi-tenant web application. The database tier has two distinct workloads:
First, a tenant metadata and configuration store which experiences predictable, steady read/write volume throughout the day, requiring high availability with a recovery point objective (RPO) of .
Second, an analytics database that ingests large batches of telemetry data from tenants during random, unpredictable -minute windows, remaining completely idle for the rest of the day.
Which combination of database configurations will meet these requirements in the most cost-effective manner? (Select TWO.)
Select all that apply
A company hosts a latency-sensitive API on Amazon EC2 instances managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The API processes user transactions on TCP port 8443. A separate monitoring agent on each instance listens on TCP port 9999 to report service health metrics. The ALB's target group is configured to perform health checks on port 9999. The subnet's stateless Network Access Control List (NACL) allows inbound TCP traffic on port 8443 from all sources and allows all outbound traffic.
To meet security compliance, a security engineer modifies the subnet NACL's outbound rule to only allow outbound TCP traffic to port 8443. Immediately after this change, the ALB marks all instances in the target group as unhealthy. Furthermore, Route 53, which is configured with latency-based routing policies to distribute traffic between this Region and another active Region, continues to send client requests to the unhealthy ALB.
Which combination of actions will restore the target health status and ensure Route 53 diverts traffic away from this Region during a failure? (Select two.)
Select all that apply
A company runs a high-availability customer portal on Amazon EC2 instances managed by an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The ALB target group is configured with ELB health checks targeting a deep health check endpoint (`/healthcheck`) that queries the backend Amazon RDS database. During a scheduled database maintenance window, the database becomes temporarily unresponsive. Consequently, all EC2 instances fail the target group health check. Since the ASG health check type is set to ELB, it begins terminating and recreating all instances in a continuous loop, causing prolonged downtime and high operational costs. Which architectural modification should a Solutions Architect implement to prevent this loop of instance terminations during database outages?
A global e-commerce company is migrating its legacy database architecture to AWS. The company requires a database solution that can handle a product catalog database with read queries that must return in less than a millisecond. Additionally, transactional order records must be written with high throughput, and reporting queries must be offloaded to prevent performance degradation on the primary writer node.
Which combination of database configurations will meet these requirements? (Select TWO.)
Select all that apply
A financial company hosts a reporting application on a fleet of Amazon EC2 instances managed by an Auto Scaling group (ASG). The instances run in private subnets and are registered with an Application Load Balancer (ALB). The application receives traffic on port 8000, but its health check endpoint is exposed on administrative port 8081. Currently, the ALB is marking all instances as unhealthy, and the ASG is continuously terminating and replacing them. Which two configurations are required to resolve this issue and allow the ALB to perform health checks successfully? (Select two.)
Select all that apply
A smart home company is launching a system to process telemetry updates from connected thermostats. The updates include sequential temperature adjustments that must be processed in the exact order they are generated by each thermostat to ensure accurate reporting. The telemetry traffic is highly unpredictable, spiking during extreme weather events but remaining virtually idle during mild seasons. The company wants to minimize compute and database costs during idle periods. Which architecture is the most cost-effective and meets the requirements?
A retail company wants to implement automated security monitoring and compliance tracking for its AWS infrastructure. The security team requires that all Amazon S3 buckets must have server-side encryption enabled, and Amazon EC2 security groups must not allow inbound SSH traffic from the public internet (0.0.0.0/0). Any non-compliant resources must be detected automatically, and the team must receive real-time alerts.
Which TWO solutions should a solutions architect implement to meet these requirements?
Select all that apply
An online banking platform uses an Application Load Balancer (ALB) in the eu-west-1 Region to route portal traffic to backend EC2 instances. To meet disaster recovery compliance, the organization has deployed a warm standby replica of their application stack in the ap-southeast-2 Region, which includes a standby ALB and a cross-region Amazon RDS Read Replica. The organization wants to configure Amazon Route 53 to support automated active-passive routing for their zone apex domain (bank.com). If the primary region's ALB becomes unhealthy, traffic must fail over to the standby region, where the database replica will be promoted manually. Which Route 53 routing configuration should a solutions architect recommend to meet these requirements?
A healthcare clinic hosts a patient scheduling application on a fleet of Amazon EC2 instances. The instances are registered with a target group for an Application Load Balancer (ALB) and managed by an Auto Scaling group. The clinic's IT team reports that the ALB target group shows all EC2 instances as unhealthy, preventing patients from accessing the portal. However, verification confirms that the web service is running normally on the instances themselves. What is the most likely cause of this behavior?
A collaborative document editing platform hosts its application on AWS. Users access static UI assets (such as CSS, JavaScript, and images) and retrieve real-time document metadata stored in an Amazon DynamoDB table. Users in distant geographic regions report high latency when loading the application and retrieving metadata. The DynamoDB database is also experiencing read performance bottlenecks due to repetitive queries for the same metadata. Which combination of configurations should the solutions architect implement to reduce latency for both static assets and database queries? (Select TWO.)
Select all that apply
A smart home security provider uploads motion sensor activity logs to an Amazon S3 Standard bucket. The logs have an average file size of . These logs are accessed frequently during the first after upload. From day through day , they are accessed occasionally but must remain available for immediate retrieval in the event of a security alert. After , the logs are rarely accessed, but they must be retained for for compliance and can tolerate a retrieval time of up to . Which lifecycle configuration is the most cost-effective while meeting all access and retention requirements?
A logistics company provides a web-based dashboard where customers query real-time package statuses and download static PDF delivery receipts. The application runs on Amazon EC2 instances behind an Application Load Balancer (ALB), with package data stored in Amazon DynamoDB. During peak shopping events, the system experiences performance degradation. Which strategy should a Solutions Architect implement to achieve the lowest latency for both types of requests while optimizing backend resource utilization?
A company stores compliance reports in an Amazon S3 bucket. The reports must be encrypted at rest using an AWS KMS Customer Managed Key (CMK). The company's security policy requires that the encryption key be rotated every year. In addition, historical reports encrypted with older versions of the key must remain readable without requiring manual re-encryption of the S3 objects, and the key management actions must be restricted to a specific security team. Which combination of actions will meet these security requirements? (Select TWO.)
Select all that apply
A global financial firm is designing a security monitoring architecture for its multi-account AWS environment managed via AWS Organizations. The firm needs to detect network anomalies, malicious activity, and unauthorized API calls across all accounts, and aggregate these findings into a single dashboard in a dedicated security account. Additionally, they must ensure that any unauthorized modifications of network security configurations, such as security groups and network ACLs, are automatically detected and flagged for compliance auditing. Which combination of actions should a solutions architect recommend to meet these requirements? (Select TWO.)
Select all that apply
A company is migrating a legacy HR application to Amazon EC2 instances. The application requires access to a database password that must be rotated every 60 days to comply with internal security policies. The database is hosted on Amazon RDS. The security team mandates that the password must be encrypted at rest using a customer managed key, and that the rotation process must be automated with minimal operational effort.
Which solution should a solutions architect recommend to meet these requirements?
A company is designing a cost-optimization strategy for its inventory management system on AWS. The workload consists of a containerized application layer running on Amazon ECS with AWS Fargate that requires a continuous, steady-state baseline of compute capacity, and a database tier running on Amazon RDS for PostgreSQL that also requires steady-state baseline compute and storage capacity. The company wants to maximize cost discounts for both tiers while maintaining the existing architecture and minimizing operational overhead. Which combination of purchasing strategies should a solutions architect recommend to meet these requirements most cost-effectively?
A retail company operates a multi-tier web application on AWS. The application tier runs on Amazon EC2 instances in a private VPC subnet. A security audit requires the company to monitor network traffic for suspicious activities, such as communication with known malicious command-and-control (C2) servers. If a threat is detected, the company must automatically block all traffic to and from the malicious IP address at the subnet level in near real-time. Which TWO options should a solutions architect combine to meet these requirements with the least operational overhead?
Select all that apply
A gaming company needs to audit and record all API activity across its AWS account to determine who made specific configuration changes, such as modifying IAM policies or deleting resources. Which AWS service should the solutions architect recommend to continuously monitor and record these API actions?
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