All practice questions
1964 questions
A logistics enterprise manages its multi-account environment within AWS Organizations. The enterprise has established SAML 2.0-based federation with its on-premises identity provider (IdP) to allow database administrators to access target AWS member accounts. Once federated, the administrators must access database backups stored in a centralized Amazon S3 bucket within a shared services account. The S3 bucket is encrypted using the default AWS-managed key (aws/s3). Currently, when the administrators federate into their respective member accounts, they are unable to retrieve the backup files from the shared services account. Which combination of configuration adjustments will resolve these access issues?
A financial services company is designing a disaster recovery and high availability architecture for its new credit evaluation API. The workload is deployed across two AWS Regions: us-east-1 (primary) and us-west-2 (secondary). The application tier is deployed in private subnets and must query external credit bureaus via the internet. The database tier must use Amazon Aurora PostgreSQL. The business requires a Recovery Time Objective (RTO) of 10 minutes, a Recovery Point Objective (RPO) of 5 minutes, and consistent private DNS resolution for internal microservices across both VPCs. Which architecture meets these requirements with the highest availability and lowest administrative overhead?
A global manufacturing consortium uses AWS Organizations to manage workloads across dozens of AWS accounts. The consortium wants to enable single sign-on (SSO) for its vendor engineers who are managed in an external Active Directory Federation Services (AD FS) instance using SAML 2.0. The vendor engineers must be able to access target AWS resources in individual member accounts using the AWS Command Line Interface (AWS CLI) and the AWS Management Console. Which of the following actions must the Solutions Architect perform to implement this federated access model? (Select TWO.)
Select all that apply
A financial institution uses AWS Organizations to manage member accounts. The security engineering team is designing a centralized logging and auditing solution. They require all AWS CloudTrail management events from all regions across all accounts to be aggregated into a single Amazon S3 bucket in a dedicated Security account. The architecture must enforce the following requirements:
- All logs must be encrypted at rest using a customer managed key (CMK) in AWS KMS.
- The KMS CMK must be managed within the Security account, and its key policy must enforce least privilege.
- Log integrity validation must be enabled.
- Member account administrators must be blocked from disabling, modifying, or deleting the logging configuration.
- The configuration must scale automatically when new member accounts are added to the organization.
Which of the following configurations meets these requirements while ensuring compliance and operational efficiency?
A healthcare technology company has a multi-account AWS environment managed under AWS Organizations. The architecture consists of a central `Network-Shared` account containing a Hub VPC, which connects to the on-premises datacenter via AWS Direct Connect. Two consumer accounts, `Clinical-Apps` and `Data-Analytics`, contain Spoke VPCs connected to the Hub VPC using an AWS Transit Gateway. The on-premises environment hosts legacy health systems in the `corp.internal` DNS domain. The company has created a Route 53 Private Hosted Zone (PHZ) named `aws.internal` in the `Network-Shared` account.
The company needs to establish a DNS resolution strategy that meets the following requirements:
- On-premises servers must be able to resolve resources within `aws.internal`.
- EC2 instances in the Spoke VPCs must be able to resolve names in the on-premises `corp.internal` domain.
Which TWO actions should a solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
An enterprise is designing a multi-account architecture using AWS Organizations. The security team wants to establish a governance framework where member accounts are prevented from leaving the organization or disabling AWS Config. Additionally, a central compliance auditing application hosted in a dedicated Security account must be able to periodically assess resource configurations across all member accounts.
Which two configurations should a Solutions Architect implement to meet these requirements?
Select all that apply
A financial services company is designing a hybrid network connectivity solution for its multi-account environment on AWS. The environment consists of AWS accounts managed under AWS Organizations, with each account containing a single VPC in the `us-east-1` Region. The company also has an on-premises data center that must be securely connected to all VPCs. The solution must support transitive routing between the VPCs and the on-premises environment, minimize routing table management complexity, and support future expansion to new accounts. Which two actions should a solutions architect take to meet these requirements?
Select all that apply
A financial services company is designing a deployment pipeline for a high-volume payment processing application. The application runs as an Amazon ECS service on AWS Fargate behind an Application Load Balancer (ALB) and connects to an Amazon Aurora PostgreSQL Serverless v2 database cluster. The deployment process must meet the following requirements:
1. The update must be rolled out with zero downtime.
2. Initial deployment validation must route exactly of live traffic to the new version, with the remaining routed only after the new version remains stable for minutes.
3. If the HTTP 5xx error rate exceeds during the validation period, the deployment must immediately and automatically roll back.
4. Database schema updates must be applied and verified before any client traffic is routed to the new tasks, without impacting the currently running tasks.
Which two actions should a Solutions Architect take to satisfy these requirements? (Select two.)
Select all that apply
A financial services company is designing a multi-account hub-and-spoke network architecture in a single AWS Region using an AWS Transit Gateway (TGW). The architecture consists of spoke VPCs (IP ranges within to ) and a Centralized Inspection VPC. The Centralized Inspection VPC hosts a fleet of third-party firewalls behind a Gateway Load Balancer (GWLB) and NAT Gateways. The company's on-premises datacenters use a primary AWS Direct Connect (DX) connection with a Transit VIF terminated on a Direct Connect Gateway (DXGW), and a backup IPsec Site-to-Site VPN connection terminated directly on the TGW. The design must meet the following requirements: all traffic between spoke VPCs, traffic between spokes and the on-premises network, and internet-bound egress traffic from the spokes must be inspected by the firewalls in the Centralized Inspection VPC; if the primary DX connection fails, traffic must fail over automatically to the Site-to-Site VPN, preferring the DX connection when it is healthy; and administrative overhead must be minimized while preventing routing loops. Which configuration will meet these requirements?
A financial technology enterprise manages its multi-account environment using AWS Organizations. The security team mandates that all human operators must access AWS member accounts exclusively via SAML 2.0 federation with the corporate Identity Provider (IdP). To prevent backdoors, the architect must ensure that no external AWS accounts outside the organization o-1234567890 can perform cross-account role assumption into the member accounts, while internal cross-account role assumption between member accounts remains fully functional. The corporate SAML provider CorporateIdP has already been created in the member accounts.
Which combination of an IAM role trust policy in the member accounts and a Service Control Policy (SCP) at the Organization root will securely achieve this goal?
A multinational logistics provider manages its multi-account environment using AWS Organizations. The environment is organized into several Organizational Units (OUs), including Workloads-OU and Security-OU. The Cloud Security team must implement a security and compliance governance framework that satisfies the following requirements:
1. Audit Centralization: AWS Config must be configured using a delegated administrator account (Auditor-Account) inside Security-OU to manage and deploy compliance rules across all member accounts.
2. Guardrails: Prevent any user or role in the Workloads-OU (including administrators) from modifying, deleting, or stopping AWS Config configuration recorders or delivery channels.
3. Log Integrity: AWS CloudTrail must deliver organizational trails to a central Amazon S3 bucket in the Auditor-Account with Server-Side Encryption with AWS KMS (SSE-KMS) enabled.
4. Data Protection: Application workloads in the Workloads-OU must encrypt their application secrets in AWS Systems Manager (SSM) Parameter Store using the same KMS key managed in the Auditor-Account.
Which of the following configurations represents the most secure and operationally efficient architecture to meet these requirements?
A retail company is hosting a high-traffic REST API on Amazon EC2 instances within an Auto Scaling group behind an Application Load Balancer (ALB). The API's launch template needs to be updated with a new AMI. The company has strict cost constraints and cannot run a parallel environment or double its EC2 instance count during the deployment. However, they must maintain at least 60% of the normal serving capacity during the update. Additionally, if the ALB 5XX error rate increases during the deployment or within a 10-minute monitoring window after the update completes, the deployment must automatically roll back to the previous AMI. Which deployment strategy meets these requirements with the lowest operational overhead?
A financial services firm is consolidating VPC Flow Logs from AWS accounts into a centralized Amazon S3 bucket within a dedicated Security account. The architecture must ensure that flow logs are encrypted at rest using a customer managed AWS KMS key. The Security team wants to enforce that no member account can modify or delete the flow log configurations, while ensuring log delivery succeeds across all accounts.
Which combination of configuration steps will satisfy these requirements with the least operational complexity?
An enterprise is designing a multi-Region, multi-account hybrid network architecture for its AWS Organizations environment. The workload consists of production spoke VPCs in the `us-east-1` Region and development spoke VPCs in the `us-west-2` Region. The architecture must satisfy the following requirements:
* Outbound internet traffic from all spoke VPCs in both Regions must be routed through centralized NAT Gateways to minimize costs. A failure of a NAT Gateway in one Availability Zone (AZ) must not impact outbound traffic from other AZs.
* Hybrid connectivity to the on-premises network () must use a dedicated AWS Direct Connect (DX) connection in `us-east-1` as the primary path. A backup AWS Site-to-Site VPN connection in `us-east-1` must be used only if the DX connection fails.
* All spoke VPCs in both Regions must resolve private DNS queries for resources in a Route 53 Private Hosted Zone (PHZ) named `corp.internal` hosted in a centralized Shared Services account.
Which of the following architectures meets these requirements while ensuring high availability, minimizing costs, and preventing asymmetric routing?
A financial analytics firm uses AWS Organizations to manage 100 member accounts grouped under a single Production Organizational Unit (OU). The firm wants to implement single sign-on (SSO) using its on-premises SAML 2.0-compliant Identity Provider (IdP). The Solutions Architect must establish federation to grant a group of data analysts read-only access to specific Amazon S3 buckets located across the member accounts. A Service Control Policy (SCP) is applied at the Production OU level to prevent any modification of S3 buckets and objects. Federated users must assume an IAM role in each member account to perform their duties. Which of the following configuration steps must the Solutions Architect perform to successfully establish the federation and ensure the analysts have the necessary access? (Select TWO.)
Select all that apply
A live sports streaming platform is launching a new pay-per-view service. The registration and stream-start portal is expected to experience a sudden burst of traffic, rising from a baseline of to within of a major match starting. The backend microservices are hosted on Amazon ECS tasks using AWS Fargate, and the session metadata is stored in an Amazon Aurora PostgreSQL database. Read operations account for of the database workload, and Fargate tasks require approximately to bootstrap and pass health checks. The platform requires a highly scalable architecture that ensures zero dropped requests and sub-second latency for all users. Which combination of actions should a Solutions Architect recommend to optimize the performance and scalability of this architecture?
A financial services enterprise is establishing a hybrid environment connecting its on-premises datacenter to a multi-account AWS environment. A central network account contains a Transit VPC with Route 53 Resolver inbound and outbound endpoints, connected to the on-premises DNS servers via AWS Direct Connect and AWS Transit Gateway. The Transit VPC also hosts a Route 53 Private Hosted Zone (PHZ) for corp.internal. Multiple application accounts run workloads in separate VPCs connected via Transit Gateway. The company needs on-premises servers to resolve names in corp.internal, and AWS workloads in the application VPCs to resolve both corp.internal and on-premises domains ending in onprem.internal. Which configuration achieves this hybrid DNS resolution with the minimum number of endpoints?
A university's bioinformatics division uses AWS Organizations to manage multiple research projects. A central engineering AWS account hosts a shared VPC with high-performance computing (HPC) subnets. The division needs to distribute these subnets to various project-specific member accounts for scratch space. They plan to purchase Compute Savings Plans to lower the run costs of their containerized workloads on AWS Fargate across all project accounts. However, a specific sandbox account used for external guest researchers must be excluded from receiving any Savings Plans discounts to keep its billing independent and clean. Which TWO actions should the Solutions Architect perform to implement this strategy? (Select TWO.)
Select all that apply
An energy utility company is designing a disaster recovery architecture for its smart grid control system. The application's primary deployment is in us-west-2 and consists of microservices running on Amazon EC2 instances inside private subnets, outbound traffic routed via NAT Gateways, and a backend Amazon Aurora MySQL database. The company needs to design a disaster recovery solution in us-east-1 that achieves a Recovery Time Objective (RTO) of 10 minutes and a Recovery Point Objective (RPO) of 1 minute, while minimizing cost and avoiding active-active write workloads. Which TWO configurations should a Solutions Architect implement to meet these requirements?
Select all that apply
A logistics company is designing a multi-account hybrid AWS network in the `us-east-1` Region. The network consists of spoke VPCs, a centralized egress VPC, and a hybrid connection to an on-premises data center via AWS Direct Connect. The architecture must satisfy the following constraints:
- Spoke VPCs must not be able to communicate with each other.
- All spoke VPCs must route their outbound internet traffic () through the egress VPC, which hosts a redundant cluster of NAT Gateways.
- Spoke VPC workloads must resolve on-premises DNS records hosted on local Active Directory servers.
- Administrative and routing table configuration overhead must be minimized.
Which combination of configuration steps should a Solutions Architect recommend to meet these requirements?