All practice questions
1964 questions
A retail company is designing a hybrid network to connect its on-premises corporate offices to a multi-account environment on AWS in the us-west-2 Region. The AWS environment contains a central network services account, a Production account, and a Development account. The Production and Development accounts each contain one spoke VPC.
The company has deployed an AWS Transit Gateway (TGW) in the central network services account and attached the spoke VPCs. To establish connectivity to the corporate offices, the company provisions a 1 Gbps AWS Direct Connect (DX) connection with a transit virtual interface (VIF) attached to a Direct Connect Gateway (DXGW), which is associated with the TGW. For high availability, they also configure a backup IPsec Site-to-Site VPN over the internet to the same TGW.
The company has the following requirements:
- The DX connection must serve as the primary path, and the Site-to-Site VPN must serve as a standby path that only handles traffic if the DX connection is down.
- Workloads in the spoke VPCs must be able to resolve DNS names of on-premises resources.
- All outbound internet traffic from the spoke VPCs must route through a centralized egress VPC in the network services account in a highly available manner.
Which combination of actions should the Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
A multinational corporation is designing its AWS multi-account governance strategy using AWS Organizations. The organizational structure has a Workloads Organizational Unit (OU) containing separate Production and Non-Production child OUs. The security team requires that AWS CloudTrail and AWS Config remain enabled and unaltered across all member accounts within the Workloads OU. Additionally, developers operating in these accounts must be prevented from deleting or modifying a centralized IAM role named SecurityComplianceRole. However, a central deployment pipeline that assumes an IAM role named PipelineExecutionRole in each member account must be permitted to modify these governance resources and update the SecurityComplianceRole during scheduled deployments. Which of the following governance strategies should a solutions architect recommend to meet these requirements with the least administrative effort?
A company is designing a deployment pipeline for a containerized microservice that will run on Amazon ECS with AWS Fargate behind an Application Load Balancer (ALB). The application requires zero downtime during updates. The deployment strategy must route exactly 10% of the production traffic to the new version of the microservice, maintain this traffic share for a soak period of exactly 10 minutes, and then shift all remaining traffic to the new version. If any Amazon CloudWatch alarms trigger during this 10-minute soak period, the deployment must automatically roll back immediately. Which strategy and configuration will meet these requirements with the least operational overhead?
A financial services company is designing a highly available, multi-region disaster recovery (DR) architecture for a critical transactional analytics application. The primary environment runs in the us-east-1 Region, and the DR environment will be located in the us-west-2 Region. The application uses Amazon Aurora PostgreSQL as its database. The application's microservices communicate internally using a Route 53 Private Hosted Zone (PHZ). The dashboard workers in private subnets require continuous outbound internet access for third-party API validation.
The solution must meet an RTO of less than minutes, an RPO of less than minute, and minimize resource costs in the DR region during normal operations.
Which two actions should a solutions architect take to meet these requirements?
Select all that apply
An IoT service provider is designing a new multi-tenant telemetry ingestion platform on AWS. The core ingestion application runs on Amazon ECS in a shared services AWS account (Account A) and must write incoming telemetry data directly to Amazon S3 buckets located in various customer-owned AWS accounts. A key requirement is that a retail customer (using Account B) must control the encryption keys used for their data at rest and have the ability to immediately revoke the ingestion application's write access to their bucket without modifying any S3 bucket policies. Which of the following configuration strategies meets these security and architectural requirements?
An enterprise has a multi-account AWS environment with a Transit Gateway (TGW) deployed in the Region. The enterprise requires high-availability hybrid connectivity to its on-premises data center. To achieve this, the enterprise establishes two AWS Direct Connect (DX) connections:
- Connection A: A primary DX connection at a Virginia DX location.
- Connection B: A backup DX connection at a Chicago DX location.
Both connections terminate on the same customer gateway router on-premises. The Solutions Architect creates a Transit Virtual Interface (Transit VIF) for each connection and associates them with a single Direct Connect Gateway (DXGW), which is attached to the TGW in .
The enterprise has the following traffic requirements:
- Requirement 1: Traffic from AWS to the on-premises network must prefer Connection A. If Connection A fails, traffic must fail over to Connection B.
- Requirement 2: Traffic from the on-premises network to AWS must prefer Connection A. If Connection A fails, traffic must fail over to Connection B.
Which combination of BGP routing configurations will meet these requirements while preventing asymmetric routing?
An enterprise manages its applications across 50 AWS accounts organized under AWS Organizations. The security team is designing a federated identity solution using an external SAML 2.0 compliant Identity Provider (IdP). To minimize administrative overhead and centralize user authentication, the team plans to establish the SAML trust relationship in a single dedicated Identity AWS account. Corporate engineers must be able to use the AWS CLI to authenticate via the external IdP and obtain temporary security credentials to access specific target roles in various production and development member accounts. Which combination of configuration steps is required to implement this federated access model? (Select TWO.)
Select all that apply
A company is deploying a new service in a multi-account environment. An Amazon ECS task running in Account B must retrieve a database credential stored in AWS Secrets Manager in Account A. The secret is encrypted using the default AWS-managed KMS key (aws/secretsmanager). A resource-based policy has been attached to the secret in Account A, granting read permissions to the IAM role of the ECS task in Account B. However, the ECS task still receives an access denied error when attempting to retrieve the credential. Which action must the Solutions Architect take to resolve this issue?
An enterprise is establishing a new multi-account governance strategy using AWS Organizations. The security team requires that all API activity across all accounts is centrally logged to a secure Amazon S3 bucket in a dedicated Log Archive account, encrypted with a customer-managed KMS key, and protected against deletion or modification by any account administrator. What is the correct sequence of steps to configure this centralized logging and governance structure?
Drag items to arrange them in the correct order
A professional certification organization is launching a high-stakes synchronous online exam. The platform must support candidates logging in and downloading their customized exam profiles within a -minute window starting at exactly 14:00 UTC. The current architecture consists of an Application Load Balancer (ALB) routing to an Auto Scaling group (ASG) of Amazon EC2 instances, with an Amazon Aurora PostgreSQL database cluster containing one writer and two reader instances. During a load simulation, the reactive scaling policies failed to provision EC2 instances in time, the ALB dropped connection requests, and the database reader instances experienced CPU exhaustion and query timeouts. Which strategy should a solutions architect recommend to ensure the platform scales and maintains performance during the exam launch?
A corporate payroll provider is launching a self-service year-end tax document portal. On the day tax forms are released, the portal expects an immediate traffic spike from requests per second to requests per second. The application consists of a read-heavy reporting dashboard hosted on an Auto Scaling Group of Amazon EC2 instances behind an Application Load Balancer (ALB). The dashboard queries an Amazon RDS for PostgreSQL database in a Multi-AZ deployment. Which two actions should the solutions architect recommend to optimize performance and scalability during this spike?
Select all that apply
An energy conglomerate is migrating its legacy power grid monitoring applications to AWS across multiple member accounts under AWS Organizations. The central network architecture uses an AWS Transit Gateway to connect several application VPCs to a central Shared Services VPC. The Shared Services VPC has a Direct Connect connection to the on-premises data center. The company has a Route 53 Private Hosted Zone (PHZ) named `grid.internal` in the Shared Services account, while on-premises servers use the domain `substation.internal` managed by on-premises DNS servers. The cloud engineering team must establish bidirectional DNS resolution between all VPCs and the on-premises environment.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A company is implementing a multi-account strategy using AWS Organizations. They want to set up federated access for their enterprise users to log into the AWS Management Console of various member accounts using their on-premises SAML 2.0 Identity Provider (IdP). The Solutions Architect has created an IAM SAML identity provider in each member account and defined an IAM role for the federated users. However, during testing, users receive an error indicating that they are not authorized to assume the role.
Which configuration issue is the most likely cause of this error?
A metropolitan public transit agency is designing a contactless fare validation system on AWS. The application tier runs on Amazon EC2 instances in private subnets across multiple Availability Zones in both the us-east-1 and us-west-2 Regions. The application must connect securely to external fare settlement endpoints on the public internet. Internal microservices rely on private DNS resolution for service discovery across all VPCs. Validation requests from devices must be routed to the closest Region with active failover capabilities to ensure high availability and low latency. The architecture must achieve a Recovery Time Objective (RTO) of less than 5 minutes and a Recovery Point Objective (RPO) of less than 1 minute.
Which two of the following configuration options should the Solutions Architect implement to meet these requirements? (Select TWO.)
Select all that apply
A television broadcasting company is launching a live interactive voting platform for a popular singing competition. During the -minute voting window, the application expects an immediate surge from requests per second to over requests per second. The application runs on Amazon EC2 instances behind an Application Load Balancer (ALB) and uses an Amazon RDS for PostgreSQL database. Initial testing shows the ALB drops incoming requests during the sudden spike, and the database experiences severe read contention from checking participant metadata.
Which two actions should the Solutions Architect take to optimize the performance and scalability of the platform under these conditions?
Select all that apply
A logistics company is designing a hybrid DNS architecture for its AWS multi-account environment. A central Network account manages a Transit Gateway that connects spoke VPCs in multiple member accounts, as well as an on-premises datacenter via an AWS Direct Connect gateway. The on-premises network uses DNS servers that host the domain `onprem.logistics.local`. The company has created a Route 53 Private Hosted Zone (PHZ) for `aws.logistics.local` in a Shared Services AWS account. Spoke VPCs must be able to resolve records in both `aws.logistics.local` and `onprem.logistics.local`, and on-premises servers must be able to resolve records in `aws.logistics.local`. Which combination of actions should a Solutions Architect take to achieve this hybrid DNS resolution? (Select TWO.)
Select all that apply
An enterprise is designing a highly available, multi-account hybrid network architecture. The architecture consists of a Shared Services AWS account and spoke VPCs deployed across Availability Zones (AZs) in the us-east-1 Region. The Shared Services account hosts a central Route 53 Private Hosted Zone (PHZ) for internal service discovery. The enterprise requires secure, transitive routing between the spoke VPCs and its on-premises data center, which will be connected via a AWS Direct Connect connection with a backup AWS Site-to-Site VPN. Additionally, all outbound internet traffic from the spoke VPCs must be routed through a centralized egress VPC in the Shared Services account for security inspection. The solution must ensure high availability across all AZs, support internal DNS resolution, and prevent single points of failure. Which of the following designs meets these requirements?
A global commercial aviation company is designing a new flight operations dispatch platform. The application tier runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The application requires outbound internet access to retrieve real-time weather feeds. Internal microservices communicate using a Private Hosted Zone (PHZ) named `dispatch.internal`. The database tier uses Amazon Aurora PostgreSQL. The primary deployment is in `us-east-1`. The company requires a disaster recovery (DR) architecture in `us-west-2` that is highly available across multiple Availability Zones in both regions. The DR plan must meet a Recovery Time Objective (RTO) of and a Recovery Point Objective (RPO) of , while minimizing ongoing costs. During normal operations, all user traffic must be routed to `us-east-1`. Which design strategy meets these requirements?
An enterprise manages a microservices application hosted on Amazon ECS with AWS Fargate behind an Application Load Balancer (ALB). The infrastructure is managed using AWS CloudFormation. The team needs to implement a deployment strategy for new service versions that routes 10% of traffic to the new version, monitors the application for 15 minutes using a CloudWatch alarm tracking HTTP 5XX response codes, and automatically rolls back to the previous version with zero downtime if the alarm triggers. If no alarms are triggered, all traffic must transition to the new version. The entire deployment strategy and workflow must be defined as Infrastructure as Code within the CloudFormation template. Which design meets these requirements?
A medical device company is designing a disaster recovery (DR) architecture for a critical patient monitoring application on AWS. The application runs on Amazon EC2 instances in private subnets across multiple Availability Zones in us-east-1 and must connect to external healthcare registries over the internet to update records. The database tier requires an Amazon Aurora PostgreSQL database. The business requires a Recovery Time Objective (RTO) of less than 15 minutes, a Recovery Point Objective (RPO) of less than 1 minute, and high availability for outbound connectivity within each region. Which of the following designs meets these requirements with the lowest operational overhead?