Design Secure Architectures
438 questions
A solutions architect is configuring a security group for an Amazon EC2 instance that hosts a simple web server. The architect adds an inbound rule to allow TCP traffic on port from any source (). What outbound rule must the solutions architect add to the security group to allow the HTTP response traffic to reach the clients?
A solutions architect is configuring network security for a standard multi-tier application within an Amazon VPC. The architect needs to establish the proper boundaries using Security Groups and Network Access Control Lists (Network ACLs). Which of the following statements correctly describe the characteristics of Security Groups and Network ACLs? (Select TWO.)
Select all that apply
A company is hosting a secure data processing application on Amazon EC2 instances in a private subnet (Subnet A: ) within a VPC (). To comply with strict security requirements, the instances must not have internet access. Instead, they must interact with AWS Systems Manager (SSM) using an Interface VPC Endpoint located in a dedicated endpoint subnet (Subnet B: ). Both subnets are associated with custom Network ACLs (NACLs) that currently deny all inbound and outbound traffic. The security groups associated with the EC2 instances and the VPC endpoint are already correctly configured to allow HTTPS traffic (TCP port ) between them. Which configuration must the solutions architect apply to the Network ACL of Subnet A to allow the EC2 instances to successfully establish connections to and communicate with the SSM Interface VPC Endpoint?
A digital publishing company hosts a subscription-based platform on AWS. The static frontend is stored in an Amazon S3 bucket, and the dynamic subscription API runs on Amazon EC2 instances behind an Application Load Balancer (ALB). During a high-profile release, the platform suffers from a Layer 7 HTTP flood attack targeting the login API endpoint, causing database connection exhaustion. Concurrently, the infrastructure experiences a Layer 4 SYN flood attack that threatens to saturate the internet bandwidth. The company needs to block the application-layer attack, mitigate infrastructure-layer attacks at the network edge, and secure financial protection against EC2 auto-scaling charges incurred during DDoS attacks. Which combination of actions will meet these requirements with the least operational overhead?
A company is designing a microservices application on Amazon EC2 instances. The application requires local EBS volumes to be encrypted at rest, and the encryption key must be rotated annually without requiring the re-encryption of existing data. Additionally, the database credentials used by the application must be stored securely, cannot be stored in plaintext, and must be rotated every 30 days. Which combination of actions should the solutions architect take to meet these security requirements? (Select TWO.)
Select all that apply
A financial services company processes transactions using an application hosted on AWS. The company needs to store transaction records in an Amazon S3 bucket. Compliance regulations mandate that the records must be encrypted at rest using a customer managed key (CMK) in AWS Key Management Service (AWS KMS). Additionally, the key material must be rotated annually, and the company must ensure that rotating the key does not require re-encrypting existing transaction data, while maintaining access to historical records. Which solution meets these requirements with the least operational effort?
A logistics company is deploying a two-tier application in a new VPC. The web tier consists of Amazon EC2 instances in a public subnet () behind an Application Load Balancer. The database tier consists of Amazon RDS MySQL instances in a private subnet (). The security team requires that the database subnet be isolated such that it only receives database connections from the web tier. Additionally, they must ensure the return traffic from the database can reach the web tier, while preventing any other egress traffic.
Which combination of Security Group and Network Access Control List (NACL) configurations meets these security requirements?
A company is configuring a newly created AWS account. A solutions architect must set up secure administrative access for a newly hired systems engineer who will perform daily operations, such as managing Amazon EC2 instances and configuring Amazon S3 buckets. The systems engineer should not have access to billing information.
Which actions should the solutions architect take to configure this access securely? (Select TWO.)
Select all that apply
A company is setting up an automated deployment pipeline. A third-party CI/CD platform hosted outside of AWS needs to deploy infrastructure changes to the company's AWS account. The company's security policy prohibits the use of long-term credentials for external integrations. Which combination of actions should a solutions architect perform to grant the CI/CD platform access to the AWS account? (Select TWO.)
Select all that apply
An e-commerce company hosts its inventory application tier on Amazon EC2 instances inside a public subnet with CIDR block . The application connects to a MySQL database cluster running on EC2 instances in a private subnet with CIDR block . A solutions architect is configuring a new custom Network ACL for the private subnet. The architect adds an inbound rule to the Network ACL allowing TCP port from the public subnet CIDR block . The database security group already permits inbound traffic on port from the application instances. However, after applying the new Network ACL, database connections from the application tier fail. Which action will resolve this issue?
A global SaaS provider hosts a multi-tenant application on AWS. The entry point is an Amazon CloudFront distribution that forwards requests to an Application Load Balancer (ALB) backed by Amazon EC2 instances in private subnets. During a promotional event, the application experiences a massive distributed denial of service (DDoS) attack consisting of a Layer 3/4 SYN flood and a Layer 7 HTTP flood. This causes resource exhaustion at the ALB level. A solutions architect needs to design a mitigation strategy to protect the application from future attacks of both types at the edge, while minimizing administrative overhead.
Which of the following actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A B2B software-as-a-service (SaaS) provider hosts a multi-tenant enterprise application on AWS. The application architecture has two primary entry points exposed via an Application Load Balancer (ALB): a custom TCP-based protocol endpoint for real-time telemetry ingestion, and an HTTPS REST API for analytical reporting. During a recent audit, the security team identified a vulnerability to Layer 3/4 DDoS attacks targeting the TCP endpoint and Layer 7 HTTP flood attacks targeting the REST API. The provider has subscribed to AWS Shield Advanced and wants to implement a solution that mitigates these threats while minimizing latency for global tenants. Which TWO solutions should a solutions architect implement to meet these requirements?
Select all that apply
A financial technology company hosts a payment gateway API on Amazon ECS container instances behind an Application Load Balancer (ALB). The API has recently been targeted by distributed denial of service (DDoS) attacks, including Layer 7 HTTP floods that consume ECS container resources and volumetric Layer 3/4 attacks that saturate network bandwidth. The company needs to implement a highly resilient edge security solution to mitigate these attacks before they reach the origin.
Which combination of actions should the company take to meet these requirements? (Select TWO.)
Select all that apply
A company is designing the security architecture for a new application. The development team, consisting of 50 engineers who are managed in an on-premises Active Directory, needs administrator access to the AWS Management Console. Additionally, the application requires access to a database password that must be rotated every 30 days. The solution must follow AWS security best practices.
Which combination of actions should a solutions architect recommend? (Select TWO.)
Select all that apply
A software-as-a-service (SaaS) provider is structuring a new multi-account AWS environment using AWS Organizations. The security team wants to establish centralized governance and security controls. Specifically, they must integrate their external enterprise identity provider (IdP) for centralized single sign-on and administrative access across all accounts. They also need to enforce security policies that prevent member accounts from altering AWS CloudTrail configurations or deleting critical Amazon S3 audit log buckets. Which combination of actions should a solutions architect recommend to satisfy these requirements? (Select TWO.)
Select all that apply
A financial services company needs to grant its application developers command-line access to manage resources in several AWS accounts. The developers work from local workstations. To comply with security policies, the company must prevent the storage of long-term access keys on local machines, require multi-factor authentication (MFA), and ensure that permissions are automatically revoked when a developer leaves the company. The company currently manages developer identities in an external identity provider (IdP). Which solution should a solutions architect recommend to meet these requirements?
A global e-commerce company hosts its application on AWS using an Application Load Balancer (ALB) in front of an Auto Scaling group of Amazon EC2 instances. The company's security team detects two concurrent security events during a high-traffic sale: a volumetric UDP flood attack targeting the application's infrastructure, and a distributed HTTP GET flood targeting a database-intensive search endpoint (/api/v1/search) using randomized query parameters to bypass caching. The company requires a solution that automatically mitigates the volumetric traffic, provides application-layer protection for the search endpoint, secures cost protection against EC2 scaling charges incurred by the attack traffic, and grants 24/7 access to the AWS Shield Response Team (SRT). Which architecture meets these requirements with the least operational overhead?
A solutions architect is designing a secure architecture for a serverless web application. The application consists of AWS Lambda functions that need to query an Amazon RDS for PostgreSQL database. The database credentials must not be hardcoded in the application code, must be encrypted at rest, and must be rotated every 30 days without manual intervention or application downtime. Which combination of steps should the solutions architect perform to meet these requirements? (Select TWO.)
Select all that apply
A financial technology startup is using AWS Organizations to manage multiple AWS accounts. The security team wants to enforce compliance across all member accounts by ensuring that AWS CloudTrail remains enabled and Amazon GuardDuty cannot be disabled or modified by member account administrators. Additionally, the startup wants to federate user access using their external Identity Provider (IdP) so that employees can access member accounts with their existing credentials without introducing long-term IAM credentials. Which strategy should the solutions architect recommend to meet these security and compliance requirements with the least operational effort?
A company is deploying a database instance in a private subnet. The database needs to receive traffic only from a web server running in a public subnet of the same VPC. Which of the following configurations are required to establish this network security boundary? (Select TWO.)
Select all that apply