All practice questions
1964 questions
A company is setting up its multi-account structure in AWS Organizations. They have created a dedicated 'Security' Organizational Unit (OU) containing several member accounts. The security team wants to ensure that no IAM user or role within the member accounts, including the root user, can delete or disable AWS Config rules that are deployed for compliance monitoring. Which mechanism should the solutions architect use to enforce this restriction across the Organizational Unit (OU)?
A solutions architect is managing a multi-account environment using AWS Organizations. The organizational unit (OU) hierarchy is structured as follows:
* Root
* Workloads (OU)
* Production (OU)
* Account-A (Production member account)
The security team has removed the default FullAWSAccess Service Control Policy (SCP) from both the Workloads and Production OUs to implement a custom allow-list model. The Root OU still has FullAWSAccess attached.
The following custom SCPs are attached:
SCP-1 (attached to Workloads OU):
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCoreServices",
"Effect": "Allow",
"Action": [
"ec2:*",
"s3:*",
"iam:*",
"sts:*"
],
"Resource": "*"
}
]
}
SCP-2 (attached to Production OU):
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowStorageAndCompute",
"Effect": "Allow",
"Action": [
"ec2:*",
"s3:*"
],
"Resource": "*"
},
{
"Sid": "DenyUnsecureStorage",
"Effect": "Deny",
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::*",
"Condition": {
"Bool": {
"aws:SecureTransport": "false"
}
}
}
]
}
In Account-A, an IAM user named PlatformAdmin has an IAM policy attached that grants administrator access ("Action": "*", "Resource": "*").
PlatformAdmin attempts to perform two actions in Account-A:
1. Create a new IAM role.
2. Upload a log file to an Amazon S3 bucket using HTTPS.
Which of the following describes the outcomes of these actions?
A technology firm is configuring single sign-on access to its AWS member accounts using an external SAML 2.0 Identity Provider (IdP). An administrator has successfully configured the external IdP and created a SAML provider entity in the target AWS account. However, when users try to log in, they receive an error stating that the federated role cannot be assumed. Which configuration is required in the target AWS account to resolve this issue?
A multinational corporation operates a multi-account AWS environment. VPCs in the 'us-east-1' region use the CIDR block , while VPCs in the 'us-west-2' region use the CIDR block . Each region has an AWS Transit Gateway (TGW) managing local VPC traffic, and the two TGWs are peered.
The company is setting up hybrid connectivity to its on-premises data center (CIDR ) with the following requirements:
- A AWS Direct Connect (DX) connection with a Transit VIF terminates on a Direct Connect Gateway (DXGW) associated with the 'us-east-1' TGW. This is the primary path.
- An AWS Site-to-Site VPN connection is terminated on the 'us-west-2' TGW as a backup.
- Under normal operations, all traffic between both AWS regions and the data center must use the DX connection.
- If the DX connection or the 'us-east-1' TGW fails, all traffic must automatically fail over to the VPN connection.
- Active-active asymmetric routing must be prevented; the on-premises routers must prefer the DX path over the VPN path for all inbound AWS traffic.
Which two configurations should a solutions architect implement to meet these requirements? (Select TWO.)
Select all that apply
An enterprise is designing a multi-account architecture on AWS using AWS Organizations. The company has a central Network account that hosts shared VPCs, a Security account for consolidated compliance monitoring, and multiple application accounts across different Organizational Units (OUs) that run workloads on Amazon EC2, AWS Fargate, and AWS Lambda. The solutions architect must implement a strategy to: 1. Share specific subnets from the Network account to the application accounts automatically as new accounts are vended, minimizing manual administrative overhead. 2. Deliver AWS CloudTrail logs from all accounts to a single S3 bucket in the Security account, ensuring the logs are encrypted at rest with a key that supports cross-account decryption. 3. Optimize compute costs across EC2, Fargate, and AWS Lambda workloads across all member accounts while utilizing consolidated billing. Which of the following strategies should the solutions architect implement to meet these requirements?
A global aerospace manufacturer is migrating its engineering CAD workloads to a multi-account AWS environment. The infrastructure consists of a centralized Network VPC in a dedicated Network account, connected to the on-premises engineering headquarters in Munich and Seattle via AWS Direct Connect and AWS Transit Gateway. Multiple Spoke VPCs across different AWS accounts host the CAD rendering engines. The manufacturer has a Route 53 Private Hosted Zone (PHZ) named `engineering.internal` managed in a Shared Services account. Workloads in the Spoke VPCs must resolve records in `engineering.internal` and also resolve local on-premises hosts in `corp.local`. Concurrently, Munich and Seattle on-premises workstations must resolve resources in `engineering.internal` over the Direct Connect connections. Which combination of actions should a Solutions Architect recommend to establish a highly resilient, cost-effective DNS resolution strategy?
A multinational enterprise manages a multi-account AWS environment under AWS Organizations. The enterprise integrates its on-premises SAML 2.0 Identity Provider (IdP) directly with target AWS member accounts to federate corporate directories. The security team wants to implement a global Attribute-Based Access Control (ABAC) strategy using the corporate attributes `CostCenter` and `Project`. The IdP is configured to send these attributes as SAML assertions mapped to AWS principal tags (`PrincipalTag:CostCenter` and `PrincipalTag:Project`).
The security team creates a standard IAM role named `ProjectContributorRole` in each member account. The local permission policies are configured to allow actions only when the resource's `CostCenter` tag matches the user's `CostCenter` principal tag. However, during initial testing, corporate users receive an error and are unable to log in to AWS when attempting to federate.
Which combination of configurations will resolve the login failures and securely enforce the cross-account ABAC boundaries across all organization accounts?
A company is designing a multi-account architecture using AWS Organizations. The network team needs to share a set of private subnets from a central Network VPC in a dedicated Network account with application teams operating in different member accounts within specific Organizational Units (OUs). The security team requires that all VPC Flow Logs from the shared subnets be consolidated into a central Amazon S3 bucket in a Security account, encrypted using a Customer Managed Key (CMK) in AWS Key Management Service (AWS KMS). Additionally, the finance team wants to ensure that Compute Savings Plans purchased in the Management account are applied to all member accounts, except for a specific OU containing sandbox accounts used for third-party contractor testing, which must pay standard On-Demand rates for chargeback reporting. Which strategy should a Solutions Architect recommend to meet these requirements with the least administrative overhead?
A financial services corporation is establishing a multi-account AWS environment managed via AWS Organizations. The architecture consists of a centralized Network Services VPC in a Shared Services account, and multiple Spoke VPCs in separate Business Unit (BU) accounts. A Route 53 Private Hosted Zone (PHZ) for corp.internal is hosted in the Shared Services account. The on-premises data centers use local DNS servers for the onprem.internal domain, connected to the Network Services VPC via AWS Direct Connect and an AWS Transit Gateway. The corporation requires seamless, bidirectional hybrid DNS resolution: all AWS VPCs must resolve onprem.internal, and on-premises systems must resolve resources in the corp.internal PHZ, as well as resources in local PHZs associated with each Spoke VPC. Which TWO actions must the solutions architect take to implement this hybrid DNS resolution strategy? (Select TWO.)
Select all that apply
An organization plans to establish a secure, multi-account AWS environment using AWS Control Tower. The solutions architect must prepare the account, launch the landing zone, establish centralized access, register organizational units, enroll new member accounts under governance, and deploy custom policies across the entire organization. Arrange the steps in the correct chronological order to implement this governance solution.
Drag items to arrange them in the correct order
An organization plans to deploy a new version of a stateless web application on Amazon EC2 instances managed by an Auto Scaling group. The primary requirement is to verify the new version in a completely isolated environment before routing any production traffic to it, and to support immediate rollback to the original version if any issues are detected. Which deployment strategy should the solutions architect choose to meet these requirements?
A financial technology company is setting up a multi-account environment on AWS using AWS Organizations. The company has a Shared Services AWS account containing a central VPC that hosts a Route 53 Private Hosted Zone (PHZ) named `fintech.local`. The company also has multiple production accounts, each containing an application VPC connected to the central VPC via an AWS Transit Gateway. The on-premises data center is connected to the Transit Gateway via AWS Direct Connect. On-premises servers and instances within the application VPCs must be able to resolve domain names in `fintech.local`. Which of the following actions should a solutions architect perform to meet these requirements? (Select TWO.)
Select all that apply
An enterprise with a multi-account AWS environment managed under AWS Organizations uses an external SAML 2.0 Identity Provider (IdP) to authenticate corporate users. The security team wants users to federate first into a central Identity account () and then assume a target role named WorkloadDeveloperRole in a member Production account () to manage resources.
To scale administration, the security team enforces Attribute-Based Access Control (ABAC). Users must only manage resources in the Production account where the resource tag CostCenter matches the user's CostCenter attribute from the corporate directory. This attribute must be securely propagated from the IdP through the federation session to the cross-account role.
Which two configurations must the solutions architect implement to establish this trust relationship and ensure compliant access? (Select two.)
Select all that apply
A multinational enterprise is designing a hybrid network architecture to connect spoke VPCs across multiple AWS accounts in the `us-east-1` Region to an on-premises data center. The company has the following requirements:
1. High availability for all outbound internet traffic from the spoke VPCs.
2. Secure private DNS resolution of resources in a centralized Shared Services VPC from all other spoke VPCs.
3. High-bandwidth primary connectivity via AWS Direct Connect with an IPsec VPN failover for on-premises hybrid traffic, using dynamic routing with automatic failover.
Which of the following actions should the solutions architect take to implement this architecture? (Select TWO.)
Select all that apply
An automotive manufacturer is establishing a hybrid network to connect its on-premises assembly plant's industrial control systems to a multi-account AWS environment consisting of spoke VPCs in the `us-east-1` region under an AWS Organization. The network architecture requires: (1) High-speed, low-latency primary connectivity using a AWS Direct Connect (DX) connection terminating at a Direct Connect Gateway (DXGW). (2) An IPsec Site-to-Site VPN connection terminating on an AWS Transit Gateway (TGW) to serve as a passive backup. (3) Transitive routing between all spoke VPCs and the on-premises network. (4) Minimal administrative overhead for routing table updates. (5) Symmetrical routing where the DX path is strictly preferred for both inbound and outbound traffic, and the VPN is only utilized during a DX outage. Which configuration meets these requirements?
An enterprise is designing a secure, multi-account governance strategy using AWS Organizations. The security team wants to delegate CloudTrail administration to a dedicated Security Tooling account. All member accounts must have their API activity logged to a centralized Amazon S3 bucket in the Security Tooling account, encrypted with an AWS KMS Customer Managed Key (CMK). The configuration must be enforced across the organization to prevent member accounts from modifying or bypassing the logging structure.
What is the correct sequence of steps to establish this centralized, secure organization trail using the principle of least privilege in the management account?
Drag items to arrange them in the correct order
A company has ten spoke VPCs across multiple AWS accounts in the us-east-1 Region. The Solutions Architect needs to design a hybrid network architecture that connects all ten spoke VPCs to the company's on-premises data center using an existing AWS Direct Connect connection. The design must minimize administrative overhead and avoid the need to configure and manage multiple IPSec VPN connections. Which two configuration steps should the Solutions Architect include in the design to meet these requirements? (Select TWO.)
Select all that apply
A company is setting up identity federation to allow corporate directory users to access resources across multiple member accounts in an AWS Organization. The company is using an external SAML 2.0 Identity Provider (IdP) for user authentication. The solutions architect needs to configure the trust relationship between the external IdP and the target AWS member accounts to allow authenticated users to assume specific IAM roles. Which of the following actions must be taken to successfully configure this trust relationship? (Select TWO.)
Select all that apply
An enterprise manages a multi-account AWS environment using AWS Organizations. The security team is setting up identity federation with an external SAML 2.0 Identity Provider (IdP) to allow developers to access a role named DeveloperRole in several member accounts. The architecture must meet the following requirements:
1. Developers must authenticate via the corporate IdP and receive a federated session with access rights determined by their department attribute (attribute-based access control, or ABAC).
2. All federated sessions across all accounts must be prohibited from making changes to account billing settings.
3. Administrative overhead should be minimized while adhering to the principle of least privilege.
Which two configuration steps must the solutions architect perform to implement this solution? (Select two.)
Select all that apply
A financial services company is designing a hybrid DNS architecture across their AWS Organization and an on-premises datacenter. The environment consists of a central Network Services AWS account containing a Shared Services VPC, a Production AWS account containing a Production VPC, and an AWS Transit Gateway connecting both VPCs and the on-premises network. A Private Hosted Zone (PHZ) named prod.internal is created in the Production account and associated with the Production VPC. A Private Hosted Zone (PHZ) named shared.internal is created in the Network Services account and associated with the Shared Services VPC. The on-premises DNS servers manage the corp.local domain. The solutions architect must establish a centralized DNS resolution strategy meeting these requirements:
- On-premises servers must resolve names in prod.internal and shared.internal.
- Resources in the Production VPC must resolve names in corp.local and shared.internal.
- The architecture must minimize the deployment of Route 53 Resolver Endpoints to minimize costs.
Which of the following actions must the solutions architect perform to meet these requirements? (Select THREE.)
Select all that apply