Design Secure Architectures
438 questions
A global e-learning platform delivers video-on-demand content and user profile APIs using Amazon CloudFront, an Application Load Balancer (ALB), and Amazon EC2 instances. Recently, the platform experienced a distributed denial of service (DDoS) attack targeting the application layer (Layer 7) with a flood of HTTP POST requests, which overwhelmed the backend EC2 instances. A solutions architect must design a secure architecture to mitigate future Layer 7 DDoS attacks and prevent unauthorized traffic from bypassing CloudFront to access the ALB directly.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A financial technology startup has multiple AWS accounts managed under an AWS Organizations organization. The startup needs to implement a centralized logging and threat detection strategy. The security team must be alerted within minutes of any unauthorized IAM privilege escalation attempts or modifications to critical network infrastructure across all accounts. Additionally, they must ensure that all API activity log files are protected against modification or deletion, even by administrative users. Which combination of steps should the solutions architect recommend to meet these security monitoring and threat detection requirements? (Select TWO.)
Select all that apply
A financial services company hosts a critical transaction application on Amazon EC2 instances within a private subnet. The security team must implement a solution to monitor all inbound and outbound network traffic at the subnet level to detect network anomalies, such as active port scanning and unauthorized SSH connection attempts, without impacting application performance. Which solution meets these requirements?
A company needs to grant a third-party audit team temporary access to run query analysis on Amazon Athena using data stored in an Amazon S3 bucket. The audit team manages their users through their own external identity provider (IdP). Which of the following is the most secure method to grant the audit team access according to AWS security best practices?
A company has a development workload running in AWS Account A. Developers assume an IAM role named `DeveloperRole` in Account A to perform their tasks. The solutions architect needs to grant these developers access to an Amazon S3 bucket named `prod-data-archive` located in AWS Account B. The access must be restricted to requests originating from the corporate office IP range (). Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A company is migrating its deployment pipeline from a self-hosted server to GitHub Actions. The pipeline workflows must deploy serverless applications in a production AWS account and retrieve sensitive database credentials. The company's security policy requires that all database credentials be rotated automatically every 30 days and strictly prohibits storing long-term AWS credentials or plaintext secrets in external repositories.
Which combination of actions should a solutions architect recommend to meet these security requirements? (Select TWO.)
Select all that apply
An enterprise is migrating its legacy inventory system to a multi-account AWS environment. A legacy application running on-premises must write daily inventory reports directly to an Amazon S3 bucket located in a centralized AWS account. The company's security policy strictly prohibits the storage of long-term AWS security credentials on-premises. Which solution meets these requirements with the least operational overhead?
An enterprise company wants to grant its employees access to multiple AWS accounts within AWS Organizations. The company uses an external identity provider (IdP) that supports SAML 2.0 to manage its workforce. The company wants to minimize administrative overhead and avoid creating duplicate credentials.
Which solution meets these requirements with the least operational complexity?
A company is designing a security baseline for its new multi-account AWS environment. The solution must address two requirements:
First, corporate identity directory users need single sign-on access to the AWS Management Console and CLI.
Second, a containerized application running on Amazon ECS needs to securely retrieve database credentials that must be rotated every days.
Which combination of actions should the solutions architect recommend to meet these requirements securely? (Select TWO.)
Select all that apply
A company wants to grant a third-party security audit application access to read log files in an Amazon S3 bucket within the company's AWS account. The third-party application runs in the auditor's AWS account. The company's security policy dictates that no long-term credentials can be shared, and the design must prevent the 'confused deputy' problem. Which configuration should a solutions architect implement to meet these security requirements?
A university needs to provide its staff members with access to the AWS Management Console. The staff identities are stored in an external SAML 2.0-compliant identity provider. The security team wants to ensure that no long-term AWS credentials are created for these users, and access is managed centrally. Which AWS service is the recommended solution to meet this requirement?
A company wants to grant its on-premises Active Directory users access to the AWS Management Console. The solutions architect needs to configure identity federation using AWS IAM Identity Center to allow users to sign in with their existing corporate credentials.
Which two actions must the solutions architect perform to establish this integration? (Select TWO.)
Select all that apply
A retail enterprise has recently adopted a multi-account AWS environment using AWS Organizations. The IT security team must enable corporate employees to log in to the AWS Management Console across multiple accounts using their existing Microsoft Active Directory credentials, without creating permanent IAM credentials for each user. Which AWS service should the solutions architect recommend to meet these requirements with the least operational overhead?
A company is designing a new security strategy to grant its development team access to AWS resources. The developers are currently authenticated via an on-premises Active Directory. The solutions architect must implement a solution that allows developers to access the AWS Management Console and AWS CLI without introducing the administrative overhead of managing individual long-term credentials in AWS. Which solution should the solutions architect recommend to meet these requirements?
A financial services company is setting up a hybrid cloud environment. The company needs to allow its on-premises Active Directory users to log in to the AWS Management Console to manage Amazon EC2 instances. The security policy states that user credentials must not be stored or replicated in the AWS Cloud, and administrative effort must be minimized. Which two actions should a solutions architect take to meet these requirements? (Select two.)
Select all that apply
An enterprise is migrating its applications to a multi-account environment managed by AWS Organizations. The company's security policy requires corporate users to authenticate using their existing on-premises Active Directory credentials to access the AWS Management Console of various AWS accounts. The solution must enforce multi-factor authentication (MFA), minimize operational overhead, and avoid synchronizing passwords or user directory data to the cloud. Which two actions should a solutions architect take to implement this architecture? (Select two.)
Select all that apply
A solutions architect is configuring the network security settings for resources within an Amazon VPC. The architect needs to establish controls using both security groups and network access control lists (network ACLs). Which TWO of the following statements correctly describe the characteristics of security groups and network ACLs?
Select all that apply
A company is establishing a multi-account environment using AWS Organizations. The security team wants to delegate the ability to create IAM roles to the development team lead in a member account. However, the security team must ensure that the team lead cannot create roles that grant permissions exceeding a defined threshold. Furthermore, compliance rules dictate that no entity within the member account—including the AWS account root user—should be able to stop or delete AWS CloudTrail logging. Which TWO options should the solutions architect choose to meet these requirements?
Select all that apply
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?