Design Secure Architectures
438 questions
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
A municipal transit agency hosts its online ticketing application on AWS using an Application Load Balancer (ALB) to distribute traffic to Amazon EC2 instances. Recently, the application has experienced intermittent outages caused by HTTP flood attacks that mimic legitimate user login requests. The agency needs to implement a solution that mitigates these Layer 7 attacks at the AWS edge before they reach the ALB, without requiring changes to the application code. Which architecture should a solutions architect recommend to meet these requirements?
A global event ticketing platform hosts its high-traffic booking application on AWS using Amazon EC2 instances behind an Application Load Balancer (ALB). During major ticket releases, the platform experiences sudden spikes in malicious traffic, including Layer 7 HTTP flood attacks that exhaust web server resources, and periodic SQL injection attempts. The solutions architect needs to secure the architecture to mitigate these threats at the network edge while minimizing administrative overhead and ensuring only legitimate users can complete purchases. Which combination of steps should the solutions architect implement to meet these requirements? (Select TWO.)
Select all that apply
A company wants to encrypt sensitive documents stored in an Amazon S3 bucket using AWS Key Management Service (AWS KMS). The security team requires the use of a customer managed key that must be rotated automatically every year. The solutions architect must ensure that previously uploaded documents can still be decrypted after key rotation without any manual re-encryption. Which TWO actions should the solutions architect take to meet these requirements?
Select all that apply
A global pharmaceutical company hosts a clinical trial portal on AWS. The portal consists of static media assets stored in an Amazon S3 bucket served via Amazon CloudFront, and a dynamic telemetry ingestion API hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). During a recent test, the portal was targeted by a distributed HTTP flood (Layer 7 DDoS attack) that degraded the API's performance. A solutions architect must design a secure architecture that protects both the static assets and the API from Layer 7 attacks, and ensures that the EC2 instances only accept traffic originating from CloudFront. Which combination of security controls should the solutions architect implement to meet these requirements? (Select TWO.)
Select all that apply
A systems administrator is configuring a security group for an Amazon EC2 instance hosting a web server. The administrator adds an inbound rule to allow HTTP traffic on port 80 from any source. What additional configuration is required in the security group to allow the web server to send outbound HTTP responses back to the clients?
A company is hiring an external consulting firm to perform a compliance audit of data stored in an Amazon S3 bucket. The consulting firm has its own AWS account. The solutions architect must grant the consultants read-only access to the S3 bucket for the duration of the audit. The security team specifies that no long-term IAM credentials or new IAM users can be created, and the consultants must access the resources securely using temporary credentials. Which solution should the solutions architect implement to meet these requirements?
A financial technology company runs a payment validation service on Amazon EC2 instances within a private subnet. The instances must make outbound HTTPS requests to an external credit bureau API on port to verify transaction details. The security group associated with the EC2 instances allows outbound traffic to on port and has no inbound rules. To comply with security audits, the solutions architect must configure the private subnet's Network Access Control List (Network ACL) with the most restrictive rules possible to support this traffic. Which Network ACL configuration should the solutions architect apply to the private subnet to allow the validation traffic to flow successfully?
A company is deploying an application on Amazon EC2 instances in a private subnet (CIDR: ) of a VPC. The application must securely query a PostgreSQL database ( port ) hosted by a partner vendor. The partner has exposed their database service using an AWS PrivateLink VPC endpoint service. A solutions architect creates an Interface VPC endpoint in the private subnet to connect to the partner service. Which configuration of security groups will allow the application to query the database while maintaining the principle of least privilege?
A company runs a financial analytics application on Amazon ECS that queries an Amazon Aurora PostgreSQL database. The application encrypts generated PDF reports using an AWS KMS customer managed key (CMK) and stores them in an Amazon S3 bucket. The security policy mandates that the database credentials must be rotated every 15 days, and the KMS CMK used to encrypt the S3 bucket must be rotated automatically every year. The security team is concerned that rotating the CMK will make the older PDF reports in the S3 bucket unreadable.
Which configuration will meet these security requirements with the LEAST operational overhead?
An application deployed on Amazon EC2 instances in a private VPC subnet must upload large datasets to Amazon S3. The application must also connect to an external payment gateway API over the internet to process transactions. A solutions architect needs to design a secure and cost-effective network architecture that satisfies these requirements.
Which TWO configurations should the solutions architect implement? (Select TWO.)
Select all that apply
A security architect is designing a multi-account reporting pipeline. A business application running on Amazon EC2 instances in Account A must write encrypted transactional logs to an Amazon S3 bucket located in Account B. The database credentials used by the application must be rotated every 30 days, and under no circumstances should they be stored in plaintext. Furthermore, the encryption key used for S3 objects must be rotated automatically every year without requiring administrative overhead to re-encrypt existing objects or manually track key versions.
Which two actions should the solutions architect take to meet these security requirements? (Select TWO.)
Select all that apply
A company has on-premises servers that need to securely upload log files to an Amazon S3 bucket. The company's security policy strictly prohibits the storage or use of long-term AWS security credentials, such as IAM user access keys, on the on-premises servers. A solutions architect must design an authorization solution that enables these servers to dynamically request temporary AWS security credentials.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A global smart home IoT provider receives telemetry data from millions of connected devices. The ingestion endpoint is hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). Recently, the ingestion endpoint experienced a sudden influx of malicious Layer 4 TCP SYN flood attacks, along with a distributed Layer 7 HTTP POST flood attack that simulates device telemetry uploads. The provider needs a solution that automatically mitigates the infrastructure-layer attacks and allows them to rate-limit and filter the malicious HTTP POST requests. Which solution meets these requirements with the least administrative effort?
A company is developing a new application that stores customer data in an Amazon S3 bucket. The security policy requires that all data stored in the S3 bucket must be encrypted at rest using server-side encryption with AWS Key Management Service (SSE-KMS) keys. Additionally, database credentials used by the application must be securely stored and automatically rotated every 30 days. Which TWO actions should a solutions architect take to meet these requirements?
Select all that apply
A global financial services company is deploying a real-time trading API on AWS. The API must be deployed across multiple AWS Regions to ensure low latency for users worldwide. The architecture uses Application Load Balancers (ALBs) in each Region to distribute traffic to Amazon EC2 instances. The company needs a secure edge routing solution that provides static IP addresses, routes traffic over the AWS global network, protects against Layer 3 and Layer 4 DDoS attacks, and mitigates Layer 7 HTTP flood attacks.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
A company is developing a new mobile application that allows users to upload profile pictures directly to an Amazon S3 bucket. The application developers need to establish a mechanism to authenticate users and authorize S3 write access without embedding long-term credentials in the mobile application package. Which solution meets these security requirements with the least administrative overhead?
A company stores database backups in an Amazon S3 bucket. The backups are encrypted at rest using a Customer Managed Key (CMK) in AWS Key Management Service (AWS KMS). The company's security policy requires that the encryption keys be rotated annually. Which of the following actions should the solutions architect take to meet these requirements with the least operational overhead?
A media streaming platform serves static content and an interactive API via an Amazon CloudFront distribution. The API traffic is routed to an Application Load Balancer (ALB) acting as the origin. During a recent event, the platform experienced a massive distributed HTTP flood attack targeting the login endpoint (/login), which overwhelmed the backend EC2 instances. The security team needs a solution to automatically detect and block these application-layer attacks at the edge with minimal administrative overhead. Which solution meets these requirements?