All practice questions
1964 questions
A global software-as-a-service (SaaS) provider operates a multi-account environment within AWS Organizations consisting of member accounts. The security compliance mandate requires that all AWS CloudTrail management events across all accounts and Regions be consolidated into a single Amazon S3 bucket located in a dedicated Security account. The logs must be encrypted at rest using a Customer Managed Key (CMK) in AWS KMS. Security analysts in the Security account must be able to review these logs, but member accounts must have no access to read or modify them. The solution must minimize operational overhead, prevent member accounts from disabling the logging configuration, and ensure log integrity. Which TWO configuration steps must the Solutions Architect implement to meet these requirements?
Select all that apply
A retail company uses AWS Organizations to manage a multi-account environment consisting of a Management account, a Core Network account, and multiple business unit accounts grouped into Production, Development, and Sandbox Organizational Units (OUs). A central networking team has created a shared VPC in the Core Network account. The finance team has purchased Compute Savings Plans in the Management account to reduce overall compute costs.
The company's solutions architect must design a solution that meets the following requirements:
* The subnets in the shared VPC must be accessible only to the Production and Development accounts, with auto-acceptance of shared resources enabled.
* The Compute Savings Plan discounts must apply to all Production and Development accounts, but must not apply to workloads in the Sandbox accounts.
Which combination of actions should the solutions architect take to satisfy these requirements?
A company is launching a global online ticket booking platform. The architecture consists of an Application Load Balancer (ALB) routing requests to an Amazon Elastic Container Service (Amazon ECS) cluster running on AWS Fargate. The application stores ticket availability and booking details in an Amazon Aurora PostgreSQL database. During major ticket release events, traffic is expected to scale instantly from a baseline of requests per second to a peak of requests per second. During testing, the rapid surge in traffic caused the ALB to return HTTP 503 Service Unavailable errors. Additionally, the primary database instance suffered from high CPU utilization due to a massive volume of read-only queries from users searching for available seats. The solutions architect must optimize the platform's performance and scalability to handle the flash traffic without dropping requests or degrading the user experience. Which two recommendations should the Solutions Architect make to scale the platform and prevent performance degradation?
Select all that apply
A multi-national enterprise manages its workloads across multiple AWS accounts organized under AWS Organizations. The company has established SAML 2.0 federation with Okta to allow database administrators to log in and manage resources in a dedicated database account. The administrators must assume an IAM role named `DBAdminRole` in the database account.
To enforce compliance, the security team attached a Service Control Policy (SCP) to the database account's Organizational Unit (OU) that explicitly allows only Amazon RDS and Amazon DynamoDB actions, while denying all other services. To minimize administrative overhead within the database account, the team created the `DBAdminRole` without any inline or managed IAM identity-based policies, assuming the OU-level SCP would grant the necessary database permissions to the federated role.
During testing, database administrators are unable to access any resources after authenticating through Okta. Additionally, logs show that some administrators cannot assume the role at all because the role's trust policy is configured with `sts:AssumeRole` instead of `sts:AssumeRoleWithSAML`.
Which combination of actions will resolve these issues and allow the database administrators to perform their duties?
A global logistics provider manages its multi-account environment using AWS Organizations. The environment contains a Development OU, a Production OU, and a Security OU. The security team wants to establish a governance policy that prevents developers, including root users in the member accounts under the Development OU, from disabling AWS CloudTrail or modifying its configurations. Additionally, the team needs to enable AWS GuardDuty across all current and future member accounts, with administration centralized in the Security OU account. Which approach meets these governance requirements with the least administrative overhead?
A global sports streaming platform is launching a new interactive live-betting feature for an upcoming championship event. The platform expects an instantaneous surge in traffic, growing from a baseline of requests per second to over concurrent write-heavy API requests per second within a -minute window whenever a critical game event occurs. The backend architecture must process these bets with sub-10 millisecond database write latencies and support real-time read queries for live odds updates, which scale dynamically based on active viewers. The current design draft proposes using an Application Load Balancer (ALB) backed by an Amazon Auto Scaling group of Amazon EC2 instances, with Amazon Aurora PostgreSQL as the primary database.
Which architecture optimization strategy will meet these performance and scalability requirements with the least operational overhead?
An enterprise software provider is structuring its multi-account environment using AWS Organizations. The architecture consists of a Core Organizational Unit (OU) for shared services and a Deployments OU for application workloads. The security team must implement a governance strategy with the following requirements:
* Production and staging member accounts in the Deployments OU must be prevented from using any AWS services other than Amazon EC2, Amazon S3, and Amazon DynamoDB.
* A centrally managed IAM role named PlatformSecurityAuditor must be able to run configuration checks and access all AWS services across all member accounts in the Deployments OU.
* Member accounts must be strictly prevented from leaving the AWS Organization.
Which combination of actions should the Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
A financial technology organization is designing a high-volume transaction ledger platform. The application must achieve a recovery time objective (RTO) of under seconds and a recovery point objective (RPO) of under seconds for cross-region disaster recovery between us-east-1 and us-west-2. The data layer requires active-active multi-region write capability to prevent regional write bottlenecks. For internal communications, microservices must resolve a shared private DNS namespace across the VPCs in both regions. Additionally, all outbound transaction compliance reports sent to external financial clearinghouses must originate from static, whitelisted public IP addresses from both regions. Which of the following architectures meets these requirements while ensuring high availability and compliance?
A global e-commerce enterprise uses AWS Organizations to manage 85 member accounts. The security team requires a centralized auditing solution that aggregates AWS CloudTrail management and data events across all AWS regions into a single Amazon S3 bucket located in a dedicated Auditing account. The architecture must ensure that all logs are encrypted at rest using a Customer Managed Key (CMK) created in the Auditing account. The configuration must be enforced globally, preventing member account administrators from bypassing or modifying the log delivery. Which combination of configurations is required to establish this architecture? (Select TWO.)
Select all that apply
A solutions architect is configuring AWS CloudTrail in a member account to deliver log files to a centralized Amazon S3 bucket in a dedicated security account. The log delivery is currently failing. Which configuration must be applied to the S3 bucket in the security account to allow CloudTrail to write the logs?
A healthcare provider is designing a new patient portal system. The system's backend database must be PostgreSQL-compatible. The primary infrastructure will be hosted in us-east-1 with a disaster recovery (DR) site in us-west-2. The business requirements state a Recovery Time Objective (RTO) of 15 minutes and a Recovery Point Objective (RPO) of 5 minutes. The application requires outbound internet access to perform external verification of medical licenses. The architecture must remain highly available within the primary region, ensuring no single point of failure exists for outbound traffic. Which of the following configurations should the solutions architect choose to meet these requirements? (Select TWO.)
Select all that apply
A global hospitality and travel conglomerate is designing a hybrid DNS resolution strategy for its multi-account AWS environment, which is connected to an on-premises datacenter via AWS Direct Connect. The on-premises environment hosts the DNS domain `hospitality.local`. Within AWS, a central Shared Services account hosts a Route 53 Private Hosted Zone (PHZ) for `aws.hospitality.internal`. Several application VPCs exist in separate member accounts under AWS Organizations, and they must resolve both `hospitality.local` and `aws.hospitality.internal`. Additionally, on-premises systems must resolve `aws.hospitality.internal`.
Which combination of steps should a solutions architect perform to implement this DNS architecture? (Select TWO.)
Select all that apply
A company is designing a deployment pipeline for a high-transaction serverless application that uses Amazon API Gateway (REST API) and AWS Lambda. The application is accessed via a custom domain. The upcoming release contains both API Gateway resource configuration changes and Lambda function updates. The deployment process must meet the following requirements:
* Route exactly of the live production traffic to the new version of the API and Lambda function for a 30-minute validation period, then automatically promote it to if successful.
* Monitor API Gateway-level integration latency and HTTP error rates specifically for the canary traffic, isolated from the main production traffic.
* Automatically roll back all changes to the previous stable state within 2 minutes if the canary error rate exceeds or if the average integration latency of the canary exceeds during the validation period.
Which deployment strategy meets these requirements with the lowest operational complexity?
An enterprise is designing a centralized logging architecture to consolidate AWS CloudTrail logs from all member accounts within an AWS Organization into a single Amazon S3 bucket located in a dedicated Security Account. The organization requires that all logs are encrypted at rest using AWS KMS. Which configuration design correctly establishes the security and compliance controls for this architecture?
A financial technology company is launching a new mobile micro-investing application. During a high-profile marketing event, the application expects an immediate traffic spike from a baseline of 500 requests per second to over 150,000 requests per second within a three-minute window. The architecture utilizes an Application Load Balancer (ALB) that routes traffic to Amazon ECS tasks, and an Amazon Aurora MySQL database cluster. The majority of the surge traffic will consist of read-only queries fetching market tickers and user balance summaries. Which strategy should a solutions architect recommend to optimize the performance and scalability of the application during this launch?
A media streaming company with AWS accounts organized under a single organization in AWS Organizations needs to implement a centralized auditing architecture. The security team requires that all API activity across all current and future accounts and regions be recorded using AWS CloudTrail. The logs must be consolidated in a centralized Amazon S3 bucket within a dedicated Security account. The logs must be encrypted using a Customer Managed Key (CMK) in AWS Key Management Service (AWS KMS) that is owned and managed by the Security account. Additionally, member account administrators must be prevented from modifying or deleting the CloudTrail configuration. Which of the following architectures meets these requirements with the least operational overhead?
A financial services company is designing a new solution on AWS. They need to store sensitive audit logs in an Amazon S3 bucket in a dedicated security account (111122223333). These logs must be encrypted at rest. A partner application running in a separate AWS account (444455556666) requires daily read access to these logs. The company must implement a secure access mechanism that allows cross-account read access to the encrypted logs, adhering to the principle of least privilege. Which two configuration steps are required to establish this cross-account access? (Select TWO.)
Select all that apply
An enterprise is designing a highly available, multi-Region hybrid network architecture for its AWS Organizations environment. Spoke VPCs in the `` (Ireland) and `` (Frankfurt) Regions are connected via local regional AWS Transit Gateways (TGWs) that are peered with one another. The on-premises network spans two main hubs: London (primary for ``) and Frankfurt (primary for ``), utilizing the aggregated corporate network range of ``. The London data center connects to the `` TGW using a ` Gbps AWS Direct Connect (DX) connection via a shared DX Gateway, and has a backup Site-to-Site VPN attachment directly on the `` TGW. The Frankfurt data center is configured similarly with a DX and VPN connection to the `` TGW. The network design requires that outbound traffic from `` to `` prefers the London DX as the primary path, fails over to the local London VPN as the secondary path, and only routes over the peered TGW connection to egress via the Frankfurt data center paths if both London connections are offline. Which routing configuration achieves this design while preventing sub-optimal routing under normal conditions?
A financial services company is preparing to deploy a major update to its client-facing web application. The application's frontend is hosted on Amazon S3 and served via an Amazon CloudFront distribution, while the backend APIs are hosted on Amazon ECS Fargate.
To minimize the risk of the release, the DevOps team must design a deployment strategy that routes exactly 10% of the live production traffic to a new staging environment (incorporating updated CloudFront cache policies, a new S3 bucket, and a new ECS service version). The traffic routing must support session stickiness to ensure a consistent user experience during testing. If any anomalies are detected, the team must be able to roll back the traffic immediately with zero downtime.
Which two configurations must be implemented to achieve this deployment strategy? (Select two.)
Select all that apply
A logistics enterprise is designing a multi-region disaster recovery (DR) architecture for its new fleet tracking system. The primary database runs on an Amazon Aurora PostgreSQL DB cluster in the us-east-1 Region. The system has a strict Recovery Time Objective (RTO) of 15 minutes and a Recovery Point Objective (RPO) of 5 minutes in the us-west-2 Region. The architecture must minimize ongoing operational costs while ensuring automated regional failover and high availability in both regions. Which architecture should a solutions architect select to meet these requirements?