All practice questions
1964 questions
A digital publishing company operates a real-time news portal on AWS. The web application runs on Amazon EC2 instances within an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The database tier uses an Amazon RDS for PostgreSQL Multi-AZ deployment.
During breaking news events, traffic instantly spikes from to over within . The following table summarizes the metrics observed during these peak events:
| Metric | Baseline Value | Peak Traffic Value (Spike) | Target Threshold |
|---|---|---|---|
| ALB Request Rate | |||
| ALB HTTP 502/504 Rate | |||
| EC2 Bootstrapping Time | N/A | ||
| RDS CPU Utilization (Primary) | |||
| RDS CPU Utilization (Standby) | N/A | ||
| DB Replication Lag | N/A |
Which combination of actions should the solutions architect implement to optimize the compute, storage, and database layers to resolve these performance bottlenecks while meeting the target thresholds?
A company is designing a new web application and needs to select the most appropriate AWS storage and database services. The application has the following two requirements:
1. Store user-uploaded profile pictures (average size 2 MB) in a highly durable, cost-effective storage tier that can scale to millions of objects.
2. Store session state data and user preferences with single-digit millisecond latency, requiring a database that automatically scales throughput based on application demand.
Which two of the following database and storage configurations should the Solutions Architect select to satisfy these requirements? (Select TWO.)
Select all that apply
An enterprise runs a critical compliance application in the us-east-1 Region within a Production AWS account. The application tier consists of Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer. The database tier uses an Amazon RDS for PostgreSQL DB instance. The enterprise wants to set up a disaster recovery (DR) solution in the us-west-2 Region with a Recovery Time Objective (RTO) of 30 minutes and a Recovery Point Objective (RPO) of 15 minutes. Outbound internet traffic in both regions must go through a centralized Network AWS account via AWS Transit Gateway. Which configuration meets the recovery objectives at the lowest cost while ensuring a highly reliable architecture?
A healthcare IoT company collects real-time patient telemetry data from medical devices located globally. The ingestion tier is deployed in the us-east-1 and eu-west-1 Regions behind internet-facing Application Load Balancers (ALBs). The devices upload data using HTTPS. Devices located in the Asia-Pacific region are experiencing high network latency and intermittent connection timeouts during uploads, resulting in telemetry data loss. A solutions architect must optimize the network performance and reduce ingestion latency for these global devices with minimal administrative overhead. Which of the following solutions should the solutions architect implement?
A multinational retail corporation is designing a new hybrid networking architecture to connect its on-premises inventory systems with three newly created VPCs in the us-east-1 Region: vpc-checkout-prod, vpc-catalog-prod, and vpc-orders-prod. The on-premises data centers are connected to AWS via two active-passive 10 Gbps AWS Direct Connect connections terminating at different Direct Connect locations. The architecture requires that all three VPCs have low-latency, bidirectional communication with each other and can access the on-premises inventory systems. Additionally, workloads in the private subnets of all three VPCs must be able to download external software updates. The solution must ensure high availability for outbound traffic, prevent single points of failure, and minimize both operational complexity and NAT Gateway hourly costs. Which network architecture design meets these requirements?
An e-commerce enterprise is deploying a new high-throughput platform in the eu-west-1 Region. The architecture consists of a processing VPC (vpc-processing) and a database VPC (vpc-storage). The application servers in vpc-processing run in private subnets across three Availability Zones (eu-west-1a, eu-west-1b, and eu-west-1c). These servers must make high-volume API calls to a third-party SaaS provider over the internet, and privately resolve and access a database in vpc-storage using the private domain name db.internal. The design must minimize data transfer costs, prevent cross-Availability Zone dependencies for outbound traffic, and ensure high availability. Which configuration steps should the solutions architect perform to meet these requirements? (Select TWO.)
Select all that apply
An enterprise hosts a high-throughput, latency-sensitive application across three Availability Zones in the us-west-2 Region. The application relies on external API endpoints for real-time payment processing and needs to resolve internal microservice endpoints hosted in a separate shared services VPC. The application is experiencing intermittent latency spikes and connection timeouts during peak hours. An audit reveals that all outbound traffic to the internet-facing payment gateway is routed through a single NAT Gateway in the primary Availability Zone, and internal microservice DNS queries are failing to resolve. Which of the following actions should the Solutions Architect take to optimize the network performance and resolve these latency and DNS issues? (Select TWO.)
Select all that apply
An enterprise is designing a new multi-VPC architecture in the eu-west-1 Region. The design includes two application VPCs (vpc-hr-prod and vpc-finance-prod) and a central egress VPC (vpc-central-egress). The application VPCs do not have direct internet access. All VPCs are connected via a central AWS Transit Gateway. The application workloads are distributed across two Availability Zones for high availability.
The enterprise has the following requirements:
1. All outbound internet traffic from the application VPCs must route through the central egress VPC.
2. The egress configuration must remain highly available and resilient to Availability Zone outages.
3. Applications must resolve domain names within a private hosted zone named internal.globalcorp that is hosted in a centralized AWS Shared Services account.
Which networking architecture meets these requirements?
A retail company wants to improve the response time of its product catalog website, which is backed by an Amazon RDS for PostgreSQL database. The catalog data is read-heavy and does not change frequently, but the caching layer must be highly available, support data replication across multiple Availability Zones, and allow for automatic failover.
Which two actions should a solutions architect recommend to implement this caching layer? (Select TWO.)
Select all that apply
A startup company has deployed its web application infrastructure using AWS CloudFormation. Over time, several team members have made manual adjustments to the security groups and EC2 instance configurations directly through the AWS Console, causing inconsistencies. Additionally, the company needs to ensure that a security agent is automatically installed and kept running on all EC2 instances.
Which TWO actions should the Solutions Architect take to detect these infrastructure changes and automate the software installation? (Select TWO.)
Select all that apply
An application is hosted on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The instances are deployed in private subnets across two Availability Zones. The instances need to access the internet to download updates and call payment gateways. During peak trading hours, the company notices that if a single Availability Zone experiences an outage, outbound payment API calls fail. Additionally, during sudden spikes in user activity, the ASG launches too many instances before the recently launched instances finish bootstrapping, leading to increased costs. Which two actions should a Solutions Architect take to improve the fault tolerance and responsiveness of the application?
Select all that apply
An enterprise architecture includes a centralized logging bucket in Account A that collects data from multiple secondary AWS accounts within the same AWS Organization. The S3 bucket is configured with Server-Side Encryption using AWS KMS (SSE-KMS) with the default AWS-managed key (`aws/s3`). During a security audit, it is noted that while secondary accounts can write to the bucket, they cannot read or decrypt the objects they uploaded. Additionally, the security team requires the ability to rotate the encryption keys and enforce key rotation policies. Which configuration change will resolve the decryption issue and meet the compliance requirements?
An enterprise runs a critical application on Amazon EC2 instances within member accounts of an AWS Organization. The application writes logs to `/var/log/app/production.log`. These logs are rotated hourly and renamed using the pattern `/var/log/app/production.log-YYYYMMDD-HH`. The enterprise needs to centralize these logs into a single Amazon S3 bucket in a dedicated security account for long-term compliance auditing. Additionally, the solution must support real-time alerting in Amazon CloudWatch for specific error codes, ensure no logs are lost during hourly rotation, and minimize the local disk footprint in the member accounts.
Which combination of actions will meet these requirements? (Select TWO.)
Select all that apply
An enterprise operates a critical online transaction processing (OLTP) application on AWS. The application is deployed in a primary AWS account in the `us-east-1` Region. The architecture consists of Amazon EC2 instances in an Auto Scaling group behind an internal Application Load Balancer (ALB) and an Amazon Aurora MySQL Global Database with the primary cluster in `us-east-1` and a secondary cluster in `us-west-2`. The enterprise's AWS Organization includes a centralized Network Account that manages a Route 53 Private Hosted Zone (PHZ) for the application's internal domain name. A separate Shared Services Account hosts supporting microservices in a separate VPC that must access the OLTP application via its internal domain name.
The Solutions Architect must enhance the reliability and disaster recovery (DR) of the existing architecture to meet a recovery time objective (RTO) of less than 15 minutes and a recovery point objective (RPO) of less than 1 minute. The design must support manual failover to `us-west-2` without causing a split-brain scenario or routing traffic to unhealthy endpoints.
Which of the following actions should the Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
A collaborative workspace platform operates a software-as-a-service (SaaS) application that relies on an Amazon RDS for PostgreSQL database. During peak hours of collaboration, the database experiences high CPU utilization consistently exceeding , resulting in application latency and timeouts.
An architectural audit reveals the following details:
* of the database load consists of read queries fetching static document access control lists (ACLs) and workspace folder layouts.
* of the database load consists of write-heavy operations that set and release short-lived document session locks. These session locks are highly dynamic but must be persisted and replicated to survive an Availability Zone outage without losing the state of active user sessions.
* of the load consists of transient database connections opened by short-lived AWS Fargate tasks, leading to the database frequently reaching its maximum connection limits.
Which combination of actions should the Solutions Architect take to improve database and caching efficiency, reduce primary CPU utilization, and prevent connection exhaustion? (Select THREE.)
Select all that apply
An enterprise is designing a highly resilient multi-Region AWS network architecture for a new financial application. The workload is deployed in the and Regions across multiple spoke VPCs, including vpc-us-east-prod-1, vpc-us-east-prod-2, and vpc-us-west-prod-1. The architecture must satisfy the following requirements:
- Establish dedicated, high-speed private connections to an on-premises data center with automatic failover.
- Provide highly available outbound internet access for all application instances in the private subnets, resilient to Availability Zone (AZ) failures.
- Resolve hostnames in a Route 53 Private Hosted Zone (PHZ) named corp.internal (hosted in a central shared services account) across all spoke VPCs in both Regions.
- Enable secure inter-Region VPC communication.
Which of the following designs meets these requirements while minimizing single points of failure and adhering to AWS networking best practices?
A pharmaceutical company is launching a clinical trials data repository in AWS Account A, which is part of an AWS Organizations organization. An external research organization runs a data ingestion application on Amazon EC2 instances in AWS Account B, which is outside the company's AWS Organizations organization. The application uses the IAM role 'arn:aws:iam::222222222222:role/ResearchAppRole' to write raw patient telemetry files to an Amazon S3 bucket in Account A and read consolidated trial results. All data in the S3 bucket must be encrypted at rest using a customer managed key in AWS Key Management Service (AWS KMS). The company requires that the external role can upload and retrieve files but is strictly prohibited from deleting any files or modifying the bucket configuration. Which two configuration steps must the solutions architect implement in Account A to meet these security and encryption requirements? (Select TWO.)
Select all that apply
A retail corporation runs a transaction processing application on Amazon EC2 instances in an application AWS account. The application must archive transaction logs to an Amazon S3 bucket located in a centralized compliance AWS account. The compliance team requires that all logs are encrypted at rest using AWS Key Management Service (AWS KMS). The solutions architect configures default bucket encryption using the AWS-managed key for Amazon S3 (aws/s3). When the application tries to upload objects to the archive bucket, it receives access denied errors. How should the solutions architect resolve this issue to allow the application to archive logs securely?
An enterprise is building a centralized compliance monitoring platform. A scanning application runs on Amazon ECS tasks in a dedicated Security Operations account (Account ID: 111122223333). The ECS tasks are configured to use the task role arn:aws:iam::111122223333:role/SecurityScannerRole. The scanning application must retrieve and analyze configuration audit logs stored in an Amazon S3 bucket in a Production member account (Account ID: 444455556666). The audit logs are encrypted at rest using a Customer Managed Key (CMK) in AWS KMS located in Account ID 444455556666. A Service Control Policy (SCP) is applied at the root of the AWS Organization that allows S3 and KMS actions. Which combination of actions must the Solutions Architect take to enable the scanning application to access and decrypt the audit logs? (Select TWO.)
Select all that apply
An enterprise operates a payment processing platform deployed on Amazon EC2 instances in an Auto Scaling group across multiple member accounts in an AWS Organization. The application on each instance writes transaction and error logs to a local file path `/var/log/payment/app.log`. These logs are rotated hourly and renamed to `/var/log/payment/app.log.YYYY-MM-DD-HH` via a local cron job. The enterprise requires a centralized, secure logging solution to stream these logs to a single Amazon S3 bucket in a dedicated Security Account. The solution must ensure that no log entries are lost during log rotation, all log data is encrypted at rest using a customer managed key (CMK) in AWS KMS, and the architecture adheres to the principle of least privilege. Which two actions should the Solutions Architect take to satisfy these requirements? (Select TWO.)
Select all that apply