All practice questions
1462 questions
A retail enterprise is establishing a multi-account environment on AWS to support its online commerce platform. The solutions architect needs to set up a governance structure that achieves the following:
1. Enforces centralized user authentication mapped to the company's external corporate identity provider without provisioning static IAM users.
2. Ensures that development and testing accounts cannot launch resources in unauthorized AWS Regions.
3. Prevents member accounts from deleting or modifying Amazon S3 buckets that contain centralized security logs.
Which combination of actions will meet these requirements? (Select TWO.)
Select all that apply
A gaming analytics platform runs on Amazon EC2 instances in a private VPC subnet (). The instances successfully retrieve session logs from Amazon S3 in the same AWS Region using an S3 Gateway VPC Endpoint. However, when the instances attempt to send batch reports to an external audit API (`https://audit.example.com`) via a NAT Gateway located in a public subnet (), the connections consistently time out.
The private subnet's Network ACL (NACL) is configured as follows:
- Inbound Rule 100: Allow TCP ports from
- Inbound Rule 110: Allow TCP ports from the S3 Prefix List (`pl-xxxxxx`)
- Outbound Rule 100: Allow TCP port 443 to
- Outbound Rule 110: Allow TCP port 443 to the S3 Prefix List (`pl-xxxxxx`)
- Default rule: Deny all other traffic
The EC2 instances are associated with a Security Group that has the following rules:
- Inbound: Allow TCP port 443 from
- Outbound: Allow TCP port 443 to
Which of the following configurations will resolve the timeout issue while maintaining the principle of least privilege?
A company is deploying an application that requires access to a database password. The company's security policy mandates that this database password must be encrypted at rest and automatically rotated every 30 days. Which combination of steps should a solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A company's security team wants to delegate the creation and management of IAM roles for microservices to development team leads in several member accounts within an AWS Organization. However, the security team must ensure that team leads cannot create roles or modify policies that allow access to a centralized audit Amazon S3 bucket. Which solution should the security team implement to meet these requirements?
A restaurant chain is implementing a cloud-based kitchen display system. When a customer places an order, the order details must be sent to the kitchen terminal and to a real-time analytics dashboard. The kitchen terminal must receive and display orders in the exact sequence they were submitted by the customer. The analytics dashboard does not require strict ordering. If an order fails to process after multiple attempts, it must be isolated for troubleshooting with the least operational overhead.
Which combination of steps should a solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A financial institution processes transactions in Account A using Amazon EC2 instances with encrypted Amazon EBS volumes. The volumes are encrypted using an AWS KMS customer managed key (CMK) for which the security team has enabled automatic annual key rotation. The compliance policy requires the institution to share periodic EBS snapshots with an external auditing firm operating in Account B. The auditing firm must restore these snapshots to EC2 instances in Account B. Additionally, the auditing application requires a database API key to write audit logs to a database in Account B. Which combination of actions will securely meet these requirements? (Select TWO.)
Select all that apply
A company uses an AWS Key Management Service (AWS KMS) customer managed key to encrypt data in an Amazon S3 bucket. The security team enables automatic annual key rotation for this key. What will happen to the existing data that was encrypted before the key rotation occurred?
A company is deploying a secure processing application on Amazon EC2 instances in a private subnet (Subnet A: ). The EC2 instances must receive HTTPS requests on port from an internal Application Load Balancer (ALB) located in another private subnet (Subnet B: ). Additionally, the EC2 instances must securely retrieve configuration files from an Amazon S3 bucket. The company's security policy mandates that Subnet A must use a custom Network ACL (NACL) configured with a default-deny posture to block all unspecified traffic, and no traffic is allowed to transit the internet. Currently, a Gateway VPC Endpoint is used for Amazon S3, but the EC2 instances cannot connect to S3, and the ALB health checks are failing.
Which TWO actions should a solutions architect take to resolve these connectivity issues while complying with the security policy? (Select TWO.)
Select all that apply
An e-learning company hosts a web application on Amazon EC2 instances behind an Application Load Balancer (ALB). The application needs protection from SQL injection attacks and volumetric Layer 3 and Layer 4 DDoS attacks. The company wants a solution that requires minimal operational overhead and integrates with their current architecture.
Which solution should a solutions architect recommend to meet these requirements?
A global logistics company hosts its shipment-tracking application on Amazon EC2 instances behind an Application Load Balancer (ALB). The application experiences intermittent downtime due to sophisticated Layer 7 HTTP flood attacks originating from a distributed botnet. The company needs to implement a solution that mitigates these HTTP floods at the network edge, minimizes latency for global users, and prevents unauthorized requests from bypassing the edge security controls.
Which two actions should a solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A company is designing a secure web application that stores session logs in Amazon S3 and uses a database. The database credentials must be encrypted and rotated periodically. The session logs must be encrypted using a customer managed key in AWS KMS, and the security team requires that the KMS key be automatically rotated annually without requiring existing logs to be re-encrypted. Which of the following configurations should a solutions architect recommend to meet these security requirements? (Select TWO.)
Select all that apply
An organization stores highly confidential regulatory reports in an Amazon S3 bucket. The security policy mandates that these reports must be encrypted using a Customer Managed Key (CMK) in AWS Key Management Service (AWS KMS). The policy also dictates that the encryption key must be rotated every 90 days, and any reports older than one year must be re-encrypted using the most recent key material to ensure that historical key versions can eventually be retired. Which combination of actions will meet these security requirements with the least operational overhead?
A smart home IoT monitoring service hosts its primary application in the us-east-1 Region. The architecture consists of Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer, an Amazon RDS for PostgreSQL database, and static configuration files stored in an Amazon S3 bucket.
The company needs to establish a disaster recovery (DR) site in the us-west-2 Region. The DR solution must achieve a Recovery Time Objective (RTO) of 2 hours and a Recovery Point Objective (RPO) of 15 minutes, while minimizing ongoing infrastructure costs.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
An enterprise is securing a payment processing application running on Amazon EC2 instances in a private subnet (CIDR ). The application must securely access Amazon S3 to read transaction logs and connect to an external credit bureau API via HTTPS over the internet. Currently, all outbound traffic from the private subnet is routed through a NAT Gateway located in a public subnet. To optimize cost and security, the solution architect deploys a Gateway VPC Endpoint for Amazon S3. The architect now wants to restrict network access at both the subnet and instance levels to allow only these two destinations, adhering to the principle of least privilege. Which of the following configurations must the architect implement to achieve this? (Select TWO.)
Select all that apply
A developer is hosting a web application on a single Amazon EC2 instance. The developer wants to allow external users to access the application over HTTPS while blocking all other incoming traffic. To achieve this, which configuration should be applied to the security group associated with the EC2 instance?
A company is setting up a new multi-account AWS environment. The security team wants to establish a secure administrative access strategy for its systems administrators and migrate database credentials currently hardcoded in application configuration files. The solution must enforce the principle of least privilege, eliminate long-term credentials for daily management, and automatically rotate database passwords. Which TWO options should the solutions architect recommend to meet these requirements? (Select TWO.)
Select all that apply
An operations team is setting up a deployment pipeline and needs to store a sensitive API token that Amazon ECS tasks will use to access a third-party service. The solutions architect decides to store the token in AWS Systems Manager Parameter Store. Which configuration should the solutions architect choose to store and protect the token?
An application hosted on Amazon EC2 instances in a private subnet (Subnet A: ) of a VPC must securely access AWS Key Management Service (AWS KMS) to decrypt sensitive transactional payloads. Compliance policies dictate that all traffic must remain within the AWS network, and no NAT Gateways or Internet Gateways are allowed. A solutions architect deploys an Interface VPC Endpoint for AWS KMS in a separate private subnet (Subnet B: ). Both subnets are associated with custom Network Access Control Lists (NACL A and NACL B) that currently deny all traffic. To achieve this secure communication while adhering to the principle of least privilege, which combination of Security Group and Network ACL rules is required?
An enterprise is designing a secure network architecture for a sensitive payment processing workload running on Amazon EC2 instances inside a dedicated private subnet. The workload needs to securely access Amazon DynamoDB for database operations and a third-party compliance API hosted on the public internet. The architecture must satisfy the following requirements:
1. The EC2 instances must not have a direct route to an Internet Gateway or have public IP addresses.
2. Access to DynamoDB must remain entirely within the AWS network and must not incur data processing or hourly usage fees.
3. Network access control must be enforced statelessly at the subnet boundary and statefully at the instance level.
Which combination of steps should the Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
A medical device company is designing a multi-Region, multi-account architecture to store and protect patient telemetry data. The raw data is stored in Amazon S3 buckets in Account A (ingestion account) located in the `us-east-1` Region and encrypted using an AWS Key Management Service (AWS KMS) customer managed key (). To comply with regulatory requirements, the data must be replicated to Account B (compliance archive account) in the `us-west-2` Region. The replicated data must be encrypted at rest using a customer managed key () owned by Account B. The database credentials for accessing the data warehouse must be rotated every days automatically, and no plaintext sensitive configuration parameters should be stored in source code or plain parameter fields. Additionally, the security team requires that the encryption keys ( and ) are rotated annually, but they are concerned about whether historical backups will remain readable after rotation. Which two actions should a solutions architect recommend to implement these security requirements? (Select TWO.)
Select all that apply