All practice questions
1964 questions
An enterprise manages its application infrastructure across multiple AWS accounts within an AWS Organization. A central DevOps team uses AWS CloudFormation StackSets to deploy standard security tooling, which includes an Amazon EC2 Auto Scaling group and an associated launch template in each member account. Recently, local administrators in several member accounts have manually modified the launch templates and associated security groups to troubleshoot network connectivity, introducing configuration drift that violates compliance baselines. The enterprise needs to establish an automated, zero-touch solution to detect this drift and remediate the resources back to the template-defined state. The solution must support cross-account operations, use encrypted parameter storage, and follow the principle of least privilege. Which combination of actions should the Solutions Architect implement to meet these requirements? (Select two.)
Select all that apply
A SaaS provider has a multi-account AWS environment managed via AWS Organizations. Application data containing customer PII is stored in S3 buckets across multiple member accounts in a production Organization Unit (OU). A security audit demands the following improvements:
1. All data stored in these S3 buckets must be encrypted at rest using encryption keys where the lifecycle, rotation, and access policies can be managed by the customer.
2. Member accounts must deliver their S3 server access logs to a centralized S3 bucket located in a dedicated Security account.
Which two actions should the Solutions Architect take to meet these compliance requirements? (Select TWO.)
Select all that apply
An enterprise runs a critical content management system in a single VPC in the us-east-1 Region. The application tier consists of Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer. The database tier uses an Amazon Aurora PostgreSQL DB cluster.
To meet a new compliance requirement, the enterprise needs to establish a multi-region disaster recovery (DR) solution in the us-west-2 Region. The solution must achieve a Recovery Point Objective (RPO) of 1 minute and a Recovery Time Objective (RTO) of 15 minutes.
Which TWO steps should the solutions architect take to meet these DR objectives?
Select all that apply
An enterprise digital media platform runs its content management system (CMS) on AWS. The application tier runs on a fleet of Amazon EC2 `t3.large` instances in an Auto Scaling group behind an Application Load Balancer (ALB). The database tier uses an Amazon RDS for PostgreSQL DB instance. The CMS files and media assets are stored on an Amazon Elastic File System (Amazon EFS) file system configured with General Purpose performance mode and Bursting throughput mode.
During high-profile news release campaigns, users experience high latency and occasional timeouts. A review of Amazon CloudWatch metrics during these campaigns shows:
- The EC2 instances reach CPU utilization, and the `CPUCreditBalance` drops to .
- The EFS `BurstCreditBalance` drops to , and EFS throughput is throttled to approximately due to the small size of the media storage ().
- The RDS DB instance shows high read latency, but CPU utilization is normal.
Which two actions should a Solutions Architect take to resolve these bottlenecks and optimize the performance of the compute and storage tiers?
Select all that apply
A SaaS provider is setting up a new multi-VPC environment in the eu-west-1 Region. The environment consists of two spoke VPCs: vpc-payment-prd and vpc-booking-prd. Both VPCs are deployed across two Availability Zones (eu-west-1a and eu-west-1b). The workloads in these spoke VPCs require highly available, outbound-only internet access to communicate with external payment APIs, while minimizing cross-Availability Zone data transfer charges. Additionally, the workloads must resolve private domain names hosted in a Route 53 Private Hosted Zone (PHZ) corp.internal managed in a central Shared Services account. The solutions architect decides to use an AWS Transit Gateway to connect the VPCs.
Which configuration should the solutions architect implement to meet these requirements?
A company runs a microservices application across multiple AWS accounts managed under AWS Organizations. The application's compute resources consist entirely of AWS Fargate tasks and AWS Lambda functions. To reduce costs, the company wants to commit to a consistent amount of compute usage.
Which strategy should a solutions architect recommend to optimize the compute costs of this serverless architecture?
An enterprise runs a critical application on a fleet of Amazon EC2 instances across multiple member accounts in an AWS Organization. The application writes operational logs to `/var/log/myapp/app-[timestamp].log`. Every hour, a cron job rotates these logs, compressing the older logs into `/var/log/myapp/app-[timestamp].log.gz` within the same directory. The company wants to implement a centralized logging architecture to stream these logs to a central Amazon S3 bucket in a dedicated monitoring account. The Solutions Architect must ensure that the CloudWatch agent on the EC2 instances collects all log entries continuously without ingesting duplicate data from the compressed files, and the logs are securely forwarded to the central S3 bucket with the least privilege, avoiding cross-account IAM role assumption from the EC2 instances. Which of the following actions should the Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
A financial analytics enterprise operates a hybrid transactional system. The on-premises transactional databases continuously replicate ledger data to a multi-region AWS environment containing VPCs in `us-east-1` (primary) and `us-west-2` (secondary). The hybrid network topology consists of a 10 Gbps AWS Direct Connect connection with a Transit Virtual Interface (VIF) terminated at a Direct Connect Gateway (DXGW). The DXGW is associated with an AWS Transit Gateway (TGW) in `us-east-1`, which is peered with a Transit Gateway in `us-west-2` to facilitate inter-region connectivity.
During peak transaction processing periods, the operations team identifies three critical issues:
1. Significant latency and packet drops occur when replicating transaction logs from the on-premises database to the Amazon RDS PostgreSQL databases in `us-west-2`. The replication traffic currently transits from on-premises to the `us-east-1` TGW, and then over the inter-region TGW peering connection.
2. The analytics engine VPCs in both AWS regions must resolve internal microservice endpoints hosted in a shared service VPC in `us-east-1` via a Route 53 Private Hosted Zone (PHZ) named `internal.analytics.local`. Currently, instances in `us-west-2` experience persistent name resolution failures.
3. For outbound compliance reporting traffic, the `us-east-1` VPC routes all internet-bound traffic through a single NAT Gateway located in a public subnet in Availability Zone `us-east-1a`. During periods of transient AZ degradation, instances in other AZs experience severe connectivity latency.
Which of the following actions should the Solutions Architect recommend to optimize the hybrid network performance, reduce latency, and resolve the connectivity and DNS resolution issues? (Select TWO.)
Select all that apply
An enterprise operates a delivery tracking application deployed across multiple AWS accounts managed under an AWS Organizations organization. The application is hosted on Amazon EC2 instances within Auto Scaling groups. The application writes operational logs locally to `/var/log/delivery/tracking.log`. The logs undergo hourly rotation, during which the active log file is renamed to `/var/log/delivery/tracking.log.YYYY-MM-DD-HH` and a new `tracking.log` is created.
The solutions architect must design a centralized, operationally excellent monitoring and logging architecture. The architecture must gather all application logs and deliver all AWS CloudTrail logs from all member accounts into a single Amazon S3 bucket located in a central security account.
Which combination of steps should the solutions architect take to meet these requirements while ensuring operational reliability and maintaining least-privilege security? (Select TWO.)
Select all that apply
A financial services organization has implemented a multi-account structure using AWS Organizations. The security team is auditing the existing architecture to enhance data protection and compliance. They want to centralize Amazon S3 bucket access logs and AWS CloudTrail logs from all member accounts into a single secure S3 bucket in a dedicated Security account. All logs must be encrypted at rest using Server-Side Encryption with AWS KMS (SSE-KMS). Member accounts must be prevented from disabling logging, modifying the central S3 bucket configuration, or deleting the KMS encryption keys. Which two actions should the solutions architect take to meet these requirements?
Select all that apply
A media company is designing a new multi-VPC environment in the `us-west-2` Region using AWS Organizations. The architecture consists of a Shared Services VPC and two application spoke VPCs, spanning two Availability Zones. The company needs to provide highly resilient outbound internet traffic () access for the application servers in the spoke VPCs' private subnets. Additionally, the application servers must resolve domain names within a private hosted zone named `media.internal` which is defined in the Shared Services VPC. An AWS Transit Gateway is used to interconnect all VPCs. Which TWO actions should a solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
An enterprise is designing a secure, multi-VPC platform in the `us-west-2` Region. The architecture includes `vpc-app-prod` for private containerized workloads across two Availability Zones (`us-west-2a` and `us-west-2b`), and `vpc-shared-egress` for centralized internet egress inspection via AWS Network Firewall and NAT Gateways. An AWS Transit Gateway (`tgw-us-west-2`) interconnects the VPCs. In a separate AWS account, `vpc-mgmt-shared` hosts a Route 53 Private Hosted Zone (PHZ) named `corp.internal`.
The design must meet the following requirements:
- Outbound internet traffic from `vpc-app-prod` must be inspected by AWS Network Firewall in `vpc-shared-egress`.
- High availability must be maintained across Availability Zones for internet egress.
- Asymmetric routing through the stateful Network Firewall must be avoided.
- Workloads in `vpc-app-prod` must resolve names in `corp.internal` with minimum latency and without routing DNS traffic over the hybrid connection.
Which architecture satisfies these requirements?
A retail company is designing a new compliance-regulated transaction ingestion pipeline. The architecture utilizes two AWS accounts within the same AWS Organization: an Ingestion Account (account ID 111122223333) and an Analytics Account (account ID 444455556666). An application running on Amazon ECS tasks in the Ingestion Account must write transactional data directly to an Amazon S3 bucket in the Analytics Account. The security architecture mandates that all uploaded data must be encrypted at rest, and the Analytics Account must retain absolute ownership of all objects uploaded by the external Ingestion Account without requiring the use of S3 Access Control Lists (ACLs). Which TWO configurations must be implemented to establish this secure cross-account ingestion pipeline? (Select TWO.)
Select all that apply
An IoT data processing application runs on a fleet of Amazon EC2 instances in an Auto Scaling group. The instances ingest real-time sensor metrics and write raw telemetry logs to an attached Amazon EBS gp3 volume before compiling them. During periodic peak events, the application experiences severe write latencies and high CPU wait states on the EC2 instances, while CPU utilization remains under 40%. The current EBS gp3 configuration is at the default baseline performance of 3,000 IOPS and 125 MiB/s. Which of the following solutions will resolve the performance bottleneck in the most cost-effective manner?
An enterprise operates a transaction processing application in us-east-1 within AWS Account A. The database tier uses a Multi-AZ Amazon Aurora PostgreSQL DB cluster, and the application tier runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The EC2 instances reside in private subnets and route outbound API validation traffic through a single NAT Gateway located in a single public subnet.
To enhance disaster recovery (DR) and reliability, the company plans to establish a warm standby DR environment in us-west-2 within AWS Account B. The target recovery time objective (RTO) is 10 minutes, and the recovery point objective (RPO) is 1 minute. The database tier will be replicated using Amazon Aurora Global Database. A Private Hosted Zone (PHZ) named corp.internal in Account A is used to map database connections to db.corp.internal.
Which TWO actions should the Solutions Architect take to configure the warm standby environment to meet these requirements?
Select all that apply
An enterprise is building a global media streaming platform in the eu-west-1 Region. The architecture is deployed across three VPCs:
- vpc-ingest: Houses public-facing Application Load Balancers (ALBs) that receive high-throughput video streams.
- vpc-processing: Contains transcoding worker nodes running in private subnets across two Availability Zones (eu-west-1a and eu-west-1b). The workers require outbound internet connectivity to fetch libraries, but must not accept inbound connections.
- vpc-shared: Contains central security tools and a Route 53 Private Hosted Zone (PHZ) named internal.media.platform that resolves internal service endpoints.
An AWS Transit Gateway (tgw-central) is deployed to interconnect all three VPCs. The enterprise wants to centralize all egress internet traffic from vpc-processing through vpc-shared to reduce NAT Gateway costs and centralize security inspections. The egress routing must be highly available and resilient to Availability Zone failures. Additionally, resources in all three VPCs must be able to resolve DNS queries for internal.media.platform.
Which combination of actions must the Solutions Architect perform to configure the network routing and DNS resolution to meet these requirements? (Select TWO.)
Select all that apply
An enterprise runs a media transcoding application on Amazon ECS tasks (AWS Fargate) in a multi-AZ VPC in the us-east-1 Region. The application uses an Amazon Aurora PostgreSQL database cluster for metadata storage. Internal microservices communicate within the VPC using private DNS names registered in a Route 53 Private Hosted Zone (PHZ).
To enhance reliability, a solutions architect must design a disaster recovery (DR) solution in the us-west-2 Region. The solution must achieve a Recovery Time Objective (RTO) of less than 15 minutes and a Recovery Point Objective (RPO) of less than 2 minutes.
Which set of actions should the solutions architect take to meet these disaster recovery requirements?
A financial service provider operates a real-time payment validation platform backed by an Amazon Aurora MySQL database cluster. During high-volume marketing campaigns, the platform experiences transaction failures due to database connection exhaustion and latency spikes, with database CPU utilization on the primary writer exceeding . The transaction validation workflow has two distinct database operations: user profile and ledger validation checks that require strong, up-to-date read-after-write consistency, and real-time audit logging combined with fraud-detection analytics queries that can tolerate eventual consistency of up to . The database currently runs on a provisioned Multi-AZ deployment without any reader instances. A Solutions Architect must optimize the database layer to resolve connection and CPU bottlenecks, minimize response latency, and maintain high availability during traffic spikes. Which two actions should the Solutions Architect implement to achieve these goals? (Select TWO.)
Select all that apply
A company is implementing a centralized logging strategy across its multi-account AWS environment managed by AWS Organizations. The security team has configured an organization trail to deliver log files from all member accounts to a centralized Amazon S3 bucket in a dedicated Security account. To comply with corporate data protection standards, all logs stored in the S3 bucket must be encrypted at rest using an AWS KMS key. Currently, CloudTrail is failing to deliver the log files to the S3 bucket. Which configuration will resolve this issue and meet the compliance requirements using the principle of least privilege?
A global financial conglomerate is designing a compliance-audited transaction archiving system. An application running on AWS Fargate in the Transaction Processing Account (111111111111) must write hourly transaction logs to an Amazon S3 bucket in a central Audit Account (222222222222). The compliance mandates require that:
1. All logs must be encrypted at rest using a customer managed key (CMK) in AWS KMS. The CMK must reside in the Audit Account.
2. The Fargate task role in the Transaction Processing Account must have the minimum necessary permissions to write the logs but must not be able to read or modify any logs in the S3 bucket.
3. The Audit Account must automatically own all uploaded logs, and all Access Control Lists (ACLs) must be disabled on the bucket.
4. The KMS key policy must enforce least privilege, allowing only the Fargate task role and the Audit Account's administrators to use the key.
Which of the following configurations meets these requirements?