All practice questions
1964 questions
An enterprise is migrating its identity architecture to a federated model. The solutions architect has established a SAML 2.0 federation between the corporate Identity Provider (IdP) and AWS Organizations. Users must federate directly into a shared services member AWS account and assume a specific role called NetworkEngineer to manage network resources. However, when users attempt to federate from the corporate portal, they receive an error indicating they are not authorized to perform the role assumption. Which configuration change is required to resolve this federation error?
A company is designing a new web application that is expected to experience sudden, massive spikes in traffic during promotional campaigns. The application's database tier will also face high read traffic. Which of the following actions should the Solutions Architect recommend to ensure the application remains highly performant and scalable? (Select TWO.)
Select all that apply
A global manufacturing corporation operates a multi-account AWS environment in the `us-east-1` Region, managed under AWS Organizations, with all VPCs connected to a central AWS Transit Gateway. The corporation must design a highly resilient hybrid network to connect its AWS resources to two on-premises facilities: a primary factory in Detroit (representing the IP range) and a secondary backup warehouse in Nashville (representing the IP range).
The connectivity requirements are as follows:
- The Detroit factory connects via a AWS Direct Connect (DX) connection using a Transit VIF through a Direct Connect Gateway (DXGW) attached to the Transit Gateway. A Site-to-Site VPN connection from the Detroit factory to the Transit Gateway serves as a backup.
- The Nashville warehouse connects via a AWS Direct Connect connection using a Transit VIF through the same DXGW.
- Traffic from AWS to the Detroit factory must prefer the Detroit DX link, and fail over to the Site-to-Site VPN only if the Detroit DX link is unavailable.
- Traffic from AWS to the Nashville warehouse must prefer the Nashville DX link. If the Nashville DX link fails, traffic to Nashville must traverse the Detroit DX link and route via the company's internal private WAN.
- For all traffic from on-premises to the AWS network (), both facilities must prefer their respective Direct Connect paths over the Site-to-Site VPN.
Which of the following routing configurations should the Solutions Architect implement to meet these requirements? (Select TWO.)
Select all that apply
A retail corporation manages its AWS environment using AWS Organizations. A central network account contains a Hub VPC, which is connected to several Spoke VPCs in different member accounts via an AWS Transit Gateway. The company has a Route 53 Private Hosted Zone (PHZ) named retail.internal hosted in the central network account. An on-premises datacenter is connected to the Hub VPC via AWS Direct Connect. The security team requires that all DNS queries from the on-premises datacenter for retail.internal must be resolved securely, and resources in the Spoke VPCs must also resolve retail.internal hostnames. Which combination of steps should the solutions architect take to meet these requirements?
A financial services company manages its multi-account environment using AWS Organizations. The architecture includes a Workloads Organizational Unit (OU) containing production and development accounts. The security team has deployed a cross-account IAM role named SecurityAuditRole in all member accounts to perform configuration audits.
The company has the following requirements:
1. Local administrators in the Workloads accounts (who possess administrator privileges) must be prevented from deleting or modifying the SecurityAuditRole.
2. All resources in the Workloads accounts must only be created in the us-east-1 and us-west-2 regions.
3. The SecurityAuditRole must be exempt from the regional restriction to allow it to scan for compliance violations in all AWS regions.
Which solution should a solutions architect implement to meet these requirements with the least administrative overhead?
A global e-commerce and retail platform is designing a high availability and disaster recovery (HA/DR) architecture for its new payment processing microservice. The service is being deployed in a primary active region (`us-east-1`) and a standby disaster recovery region (`us-west-2`). The application requires outbound connectivity from its private subnets to external payment gateways via NAT Gateways. The business has specified a Recovery Time Objective (RTO) of minutes and a Recovery Point Objective (RPO) of minutes. The architecture must tolerate a complete Availability Zone (AZ) outage in either region, as well as a full regional outage of the primary region. Internal service discovery is managed via a Route 53 Private Hosted Zone. Which of the following architectures meets these requirements with the lowest operational complexity and cost in a normal operating state?
An utility company is designing an emergency alert system. During a regional power outage, the system must immediately ingest status updates from up to smart grid sensors within a window. The ingestion layer consists of an Application Load Balancer (ALB) routing requests to EC2 instances, which validate the sensor's digital signature against a relational database before writing the status to the database. The database currently runs on a single Amazon RDS for PostgreSQL DB instance. Which architecture optimization strategy will meet these scalability and latency requirements under sudden load?
A logistics company is designing a centralized compliance auditing and log monitoring architecture across its AWS Organization, which currently consists of 120 member accounts. The security team mandates that all AWS CloudTrail logs must be consolidated into a single Amazon S3 bucket located in a dedicated Security account. The architecture must satisfy the following constraints:
- All log data must be encrypted at rest using a customer managed key (CMK) in AWS KMS to meet regulatory requirements.
- The encryption key and S3 bucket must reside in the Security account to isolate auditing assets.
- Administrators in individual member accounts must not be able to modify, disable, or delete the logging configuration, nor should they have access to decrypt or tamper with the logs.
- The configuration must automatically scale to new accounts vended through the organization's automation pipeline.
Which TWO actions should the Solutions Architect take to implement this architecture?
Select all that apply
A clinical trial organization is designing a real-time clinical patient monitoring platform across two AWS Regions: us-east-1 (primary) and us-west-2 (secondary). The platform processes real-time telemetry from wearable IoT sensors via an API gateway, storing the records in an Amazon Aurora PostgreSQL database. The business requires a Recovery Point Objective (RPO) of 1 minute and a Recovery Time Objective (RTO) of 5 minutes. The internal microservices run in private subnets, resolve external dependencies through interface VPC endpoints, and require private DNS resolution of internal domain names across both regions. Outbound calls to external medical validation endpoints must be highly available and resilient to Availability Zone (AZ) failures. Which architecture meets these requirements while minimizing recovery time and operational complexity?
A company is designing a disaster recovery strategy for a non-critical internal reporting application. The business requirements specify a Recovery Time Objective (RTO) of 24 hours and a Recovery Point Objective (RPO) of 24 hours. The primary objective is to minimize ongoing infrastructure running costs in the secondary region. Which disaster recovery strategy should the solutions architect recommend to meet these requirements?
A biotechnology firm manages its workloads across multiple AWS accounts within an organization in AWS Organizations. The firm wants to implement a federated single sign-on (SSO) solution using their on-premises SAML 2.0-compliant Identity Provider (IdP) to allow researchers and administrators to log in to AWS member accounts. The identity solution must dynamically map corporate users to corresponding AWS IAM roles based on their corporate group membership (e.g., ResearchDataAnalyst, ComplianceAuditor).
The solutions architect must design a secure, scalable federation flow while adhering to the principle of least privilege. Additionally, the security team wants to enforce service-level guardrails across the entire organization using Service Control Policies (SCPs).
Which of the following configurations must be implemented to establish this federation and policy framework? (Select THREE.)
Select all that apply
An enterprise manages its multi-account environment using AWS Organizations. The architecture consists of a Management account, a central Network account, and multiple application accounts grouped in a Production Organizational Unit (OU). The enterprise is acquiring a subsidiary that must maintain a separate AWS Organization for compliance reasons.
The Solutions Architect must design a billing and resource sharing strategy to meet these requirements:
- Application accounts in the Production OU must deploy resources into VPC subnets managed centrally by the Network account.
- The subsidiary must access a Transit Gateway managed by the Network account of the main organization.
- Compute Savings Plans purchased in the Management account must apply to all Production accounts except for a designated testing account in the Production OU.
Which TWO of the following configurations are required to implement this strategy? (Select TWO.)
Select all that apply
A company has AWS accounts in an AWS Organization, with each account containing a single VPC in the `us-east-1` Region. The company wants to establish hybrid connectivity between these VPCs and its on-premises data center using an existing AWS Direct Connect connection. The architecture must meet the following requirements:
- Spoke VPCs must be able to send and receive traffic to and from the on-premises data center.
- Spoke VPCs must be strictly isolated from one another at the network routing level.
- The solution must minimize administrative overhead as new VPCs are added.
Which configuration meets these requirements?
A global retail and supply chain enterprise manages its hybrid IT environment across multiple AWS accounts using AWS Organizations. The infrastructure includes a central Shared Services VPC in a Network account and several Application VPCs in member accounts. Network connectivity to the on-premises datacenter is established via AWS Transit Gateway and AWS Direct Connect. The on-premises DNS servers host the zone `corp.internal`, while a Route 53 Private Hosted Zone (PHZ) for `aws.corp.internal` is hosted in the Shared Services account. The enterprise requires resources in all VPCs to resolve `corp.internal` and resources on-premises to resolve `aws.corp.internal`. Which TWO actions should the Solutions Architect perform to implement this hybrid DNS architecture? (Select TWO.)
Select all that apply
An enterprise is planning to establish a governed, multi-account AWS environment using AWS Organizations and AWS Control Tower. The strategy requires centralized logging, centralized security operations, environment segregation, and service control guardrails before workloads are deployed. Arrange the following steps in the correct chronological sequence to implement this multi-account governance strategy according to AWS best practices.
Drag items to arrange them in the correct order
A logistics company is designing a High Availability and Disaster Recovery (HA/DR) architecture for its new central supply chain inventory auditing platform. The system processes inventory updates from international warehouses and has a strict Recovery Time Objective (RTO) of 30 minutes and a Recovery Point Objective (RPO) of 5 minutes. The application runs on Amazon ECS Fargate tasks behind an Application Load Balancer (ALB) and relies on Amazon Aurora PostgreSQL for data storage. Outbound inventory sync calls must be routed securely to third-party vendors. The architect chooses us-east-1 as the primary region and us-west-2 as the disaster recovery region. Which two configurations should the solutions architect implement to achieve these HA/DR objectives? (Select TWO.)
Select all that apply
An enterprise manages its multi-account AWS environment under a single AWS Organization with consolidated billing. The network architecture requires sharing a private VPC subnet from a dedicated Network account with two application accounts. These application accounts run auto-scaled Amazon EC2 workloads, AWS Fargate tasks on Amazon ECS, and AWS Lambda functions. The enterprise also wants to purchase a single Savings Plan from the management account to reduce compute costs across all of these workloads, but must exclude two specific development accounts in the organization from receiving the discount benefits. Which of the following strategies should a Solutions Architect implement to meet these requirements?
A telematics system processes telemetry data from a large fleet of commercial delivery vehicles. The architecture consists of an Application Load Balancer (ALB) routing traffic to an Auto Scaling group of EC2 instances, which perform write operations and heavy lookup queries against an Amazon Aurora PostgreSQL database. Every morning at 08:00 UTC, the fleet boots up simultaneously, causing telemetry traffic to spike instantly from requests per second to requests per second. During this time, database read latency increases significantly, causing API request timeouts. Which TWO steps should the solutions architect take to optimize the performance and scalability of this solution? (Select TWO.)
Select all that apply
A digital marketing firm is launching a flash sale campaign for a major retail event. The campaign website is expected to receive an immediate burst of page views within the first minutes of the launch. The current architecture consists of an Application Load Balancer (ALB) routing traffic to an Auto Scaling group of Amazon EC2 instances. What pre-launch action should the solutions architect take to ensure the application does not experience dropped connections or latency spikes at the start of the event?
A company is designing a disaster recovery (DR) strategy for its internal HR portal. The application runs on Amazon EC2 instances behind an Application Load Balancer in a Multi-AZ configuration, using an Amazon RDS for PostgreSQL database. The business requires a Recovery Time Objective (RTO) of 4 hours and a Recovery Point Objective (RPO) of 24 hours. The solutions architect must design a cost-effective solution that minimizes ongoing idle resource costs. Which two actions should the solutions architect take to meet these requirements?
Select all that apply