All practice questions
1462 questions
An enterprise is hosting a secure data processing application in an Amazon VPC with a CIDR block of 10.0.0.0/16. The EC2 instances are located in a private subnet (10.0.1.0/24) and must retrieve datasets from an Amazon S3 bucket in the same AWS Region. A solutions architect has created an Amazon S3 Gateway VPC Endpoint and associated it with the route table of the private subnet. The security group assigned to the EC2 instances allows outbound TCP port 443 to 0.0.0.0/0 and denies all inbound traffic. A custom Network ACL (NACL) is associated with the private subnet and contains only the following rules:
* Inbound Rule 100: Allow TCP port 443 from 0.0.0.0/0
* Inbound Rule 110: Allow TCP ports 1024-65535 from 0.0.0.0/0
* Outbound Rule 100: Allow TCP port 443 to 0.0.0.0/0
* Outbound Rule 110: Allow TCP ports 1024-65535 to 0.0.0.0/0
During testing, the EC2 instances are unable to connect to the S3 bucket. Which of the following configuration omissions is preventing the EC2 instances from successfully accessing the Amazon S3 bucket?
A company is designing a secure network architecture on AWS. The solutions architect needs to implement a security barrier that controls inbound and outbound traffic at the subnet boundary for all resources within that subnet. Which AWS feature should the architect configure to meet this requirement?
A multinational financial firm manages its cloud infrastructure using a multi-account AWS Organizations environment. All corporate user identities and security groups are maintained in an on-premises Microsoft Active Directory. The firm's compliance policy strictly prohibits the storage or replication of any user credentials or identity database records in the public cloud. The firm wants to enable federated single sign-on (SSO) for its employees to access the AWS Management Console and AWS CLI across all member accounts. The network architecture includes a dedicated AWS Direct Connect connection between the on-premises data center and a shared services VPC. The solution must minimize ongoing operational overhead and infrastructure costs. Which configuration should a solutions architect recommend to satisfy these requirements?
A retail company is building a multi-account structure on AWS using AWS Organizations. The security team wants to mandate that all administrative and developer access across member accounts must go through AWS IAM Identity Center, which is integrated with their external identity provider. To enforce this, the team wants to prevent the creation of local IAM users and long-term access keys within all member accounts. The management account must remain exempt from this policy to allow break-glass access. Which solution should a solutions architect recommend to meet these requirements with the least administrative effort?
A company is designing a secure environment for its development teams across multiple AWS accounts managed under AWS Organizations. The security team wants to enforce two specific requirements:
1. Developers must be prevented from deleting any Amazon S3 buckets.
2. Developers must be allowed to create and manage IAM roles for their applications, but they must not be able to escalate their own permissions or assign administrator permissions to the new roles.
Which combination of mechanisms should a solutions architect recommend to satisfy these requirements? (Select TWO.)
Select all that apply
An Amazon EC2 instance in a private subnet needs to make outbound HTTPS requests to an external API. The security group associated with the instance is configured with an outbound rule that allows traffic to any destination on port . There are no inbound rules configured on the security group. How does the security group handle the response traffic from the external API?
A logistics enterprise with a multi-account structure in AWS Organizations wants to implement centralized single sign-on (SSO) for its on-premises Active Directory (AD) users. The company's compliance policy strictly prohibits replicating user password hashes to AWS or deploying Microsoft Active Directory domain controllers inside the cloud environment. A dedicated AWS Direct Connect connection provides private network pathing to the on-premises environment. The solutions architect needs to design a secure, highly available identity federation solution that allows users to access the AWS Management Console of member accounts using their corporate AD credentials. Which two actions should the solutions architect take to meet these requirements? (Select two.)
Select all that apply
A company is designing a multi-account environment on AWS using AWS Organizations. The company has several business units, each requiring its own dedicated account under a specific OU. The security team requires centralized user authentication using the company's external identity provider. Additionally, the security team must prevent any member account from leaving the organization. Which of the following actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
An enterprise is building an application that stores sensitive customer metadata in a shared Amazon DynamoDB table. The design requires strict tenant isolation, ensuring that users from one tenant cannot view or modify the metadata of another tenant. All client authentication is managed by an external identity provider (IdP) federated with AWS, which supplies a custom tenant identifier during the login process. The application must leverage AWS Identity and Access Management (IAM) to enforce this tenant separation dynamically at the database level.
Which design strategy should the solutions architect implement to meet these requirements securely with the least administrative overhead?
A system administrator is reviewing the network access controls for a new application environment within an Amazon VPC. The administrator wants to ensure that the security groups and network access control lists (network ACLs) are configured correctly. Which TWO statements accurately describe the traffic-filtering behavior of these security components? (Select TWO.)
Select all that apply
A software-as-a-service (SaaS) provider is building a collaborative document editing platform. When a user updates a document, the platform must send change notifications to a real-time collaboration service and a document version history service. The updates for each individual document must be processed in the exact order they occur to prevent version conflicts. Which combination of steps should a solutions architect take to decouple these services while ensuring correct update order? (Select TWO.)
Select all that apply
An enterprise is deploying a payment processing engine on Amazon EC2 instances in Subnet A (CIDR ) of a VPC. The instances must query a database service exposed via an Interface VPC Endpoint located in Subnet B (CIDR ) within the same VPC. The database listens on TCP port . The network architecture mandates that Subnet A and Subnet B use custom, non-default Network Access Control Lists (NACLs). Which combination of Security Group (SG) and NACL configurations will allow successful communication while adhering to the principle of least privilege?
A biopharmaceutical corporation is designing a hybrid cloud architecture to connect its on-premises Microsoft Active Directory domain with a newly deployed multi-account AWS environment managed via AWS Organizations. The corporation requires corporate employees to authenticate using their existing Active Directory credentials to access resources across all AWS accounts. The solution must minimize administrative overhead, avoid synchronizing or replicating user passwords to the cloud, and support centralized permission management.
Which combination of actions will meet these requirements? (Select two.)
Select all that apply
A company stores sensitive files in an Amazon S3 bucket encrypted with an AWS KMS Customer Managed Key. The security team wants to ensure that the key material is rotated automatically every year to comply with internal guidelines. Which of the following statements correctly describe the behavior and configuration of AWS KMS automatic key rotation? (Select TWO.)
Select all that apply
A company is migrating its internal resource scheduling application to AWS. The company's employees currently authenticate using an on-premises Active Directory. A solutions architect must design an access control solution that allows employees to sign in to the AWS Management Console using their existing corporate credentials, without introducing long-term AWS credentials or administrative overhead.
Which solution meets these requirements?
A financial services company hosts a payment processing application on Amazon EC2 instances in a private VPC subnet with the CIDR block . The application must securely communicate with an on-premises hardware security module (HSM) on port via an AWS Site-to-Site VPN connection (on-premises network CIDR ). Additionally, the application must access the AWS Key Management Service (AWS KMS) via an Interface VPC Endpoint located at in the same subnet. The company enforces strict regulatory requirements: all external internet access is blocked, and Network ACLs (NACLs) must operate under a default-deny posture. Which of the following configurations are required to establish these network connections while adhering to the principle of least privilege and stateless inspection? (Select TWO).
Select all that apply
A company is designing a secure multi-account architecture using AWS Organizations. The security team requires that all employee authentication be integrated with their existing enterprise Identity Provider (IdP) for centralized access control. Additionally, member account administrators must be prevented from disabling or deleting AWS CloudTrail resources.
Which solution should a Solutions Architect recommend to meet these requirements?
A financial auditing firm is deploying a reporting engine on Amazon EC2 instances in a private subnet () within a VPC. The reporting engine must access compliance data stored in Amazon S3 and write audit results to Amazon DynamoDB. Additionally, the reporting engine must perform outbound HTTPS requests (port ) to an external regulatory API at `api.compliance-registry.org` to validate audit certificates. Company security policy mandates that all AWS service traffic must not traverse the public internet or NAT gateways, and data transfer costs must be minimized. Outbound internet egress must be strictly restricted to the regulatory API domain, and all other outbound traffic must be denied.
Which combination of actions should a solutions architect recommend to meet these requirements? (Select TWO.)
Select all that apply
An application running on an Amazon EC2 instance in a development AWS account needs to securely access and read objects from an Amazon S3 bucket located in a separate production AWS account. The company's security policy strictly prohibits the use of long-term credentials and requires that all access logs identify the specific EC2 instance making the requests. Which combination of actions should a solutions architect recommend to meet these requirements? (Select TWO.)
Select all that apply
A solutions architect is configuring network security controls for a new application within a VPC. The architect needs to understand the default behavior of the default security group and the default network access control list (NACL). Which of the following statements accurately describe the default configurations of these resources? (Select TWO.)
Select all that apply