All practice questions
1964 questions
An organization needs to migrate of data from an on-premises Network File System (NFS) share to Amazon S3 within a strict 10-day window. The organization has a internet connection, of which only can be dedicated to this data transfer to avoid impacting production traffic. The data must be encrypted at rest using an AWS KMS Customer Managed Key (CMK) to comply with internal security policies. Which of the following is the most efficient and compliant method to complete this transfer?
An enterprise has a multi-account AWS environment managed under AWS Organizations. Developers access resources in the member accounts by federating through AWS IAM Identity Center. A security audit of the existing setup reveals that developers can log in from any internet-facing location and perform actions. Additionally, some developers have accidentally disabled Amazon GuardDuty and Amazon Security Hub in their respective sandbox accounts.
The security team wants to implement a solution that:
1. Restricts all developer API operations to only be allowed when originating from the corporate office public IP range .
2. Ensures that AWS services can still perform actions on behalf of the developers (such as AWS CloudFormation deploying resources or Auto Scaling launching instances).
3. Prevents any IAM user or role in the member accounts from disabling GuardDuty or Security Hub.
Which solution meets these requirements with the least operational overhead?
An enterprise manages an AWS Organization with consolidated billing. The environment consists of three member accounts with the following workloads:
* Account A (Web Application): A production web application running on Amazon EC2 instances in an Auto Scaling Group across Availability Zones. The instances are currently ( vCPUs, GiB RAM). Metrics indicate average CPU utilization is and peak memory utilization is GiB.
* Account B (APIs): A containerized payment API workload running on AWS Fargate.
* Account C (Data Processing): An event-driven data pipeline using AWS Lambda.
To optimize outgoing internet traffic costs, the company wants to consolidate their NAT Gateway configuration, as each account currently has its own NAT Gateways deployed across Availability Zones. The solution must maintain high availability, maximize discount coverage for all compute workloads, and minimize administrative effort.
Which strategy should the Solutions Architect recommend to optimize resource costs and sizing while meeting these requirements?
A financial services firm is launching a high-frequency trading analytics platform in the `eu-west-1` region across three VPCs: `vpc-trading-prod`, `vpc-marketdata-prod`, and `vpc-shared-mgmt`. The architecture has the following requirements:
1. All private resources must resolve internal service endpoints under the private domain `trading.local` which is managed in the `vpc-shared-mgmt` account.
2. The trading and market data applications require highly resilient, multi-AZ outbound connectivity to retrieve external financial feeds, ensuring that an outage in one Availability Zone does not impact egress in other zones.
3. Network latency between the VPCs must be minimized for inter-service communication.
Which two configurations should the solutions architect implement to satisfy these requirements? (Select TWO.)
Select all that apply
An enterprise manages a multi-account environment using AWS Organizations. The security team uses AWS CloudFormation StackSets to deploy baseline IAM roles and security groups to all member accounts from a central administrator account. Recently, security audits revealed that local administrators in member accounts have manually modified these baseline resources, creating configuration drift and security vulnerabilities. A solutions architect must implement an automated governance solution that detects configuration drift on these baseline resources and automatically remediates it. The solution must prevent local administrators from disabling or bypassing the remediation controls.
Which two actions should the solutions architect take to meet these requirements? (Select two.)
Select all that apply
An enterprise runs a large-scale data analytics platform on AWS. The central data lake is hosted in an Amazon S3 bucket in the `us-west-2` Region, containing of data that changes or grows by approximately each month. A processing cluster runs on Amazon EKS nodes located in private subnets across Availability Zones in the `us-east-1` Region. The cluster executes batch analysis jobs every day, reading a total of of data monthly from the `us-west-2` bucket. Currently, the EKS nodes access the S3 bucket via local NAT Gateways in each Availability Zone. The company needs to optimize the architecture to achieve the lowest possible total cost for S3 storage and data transfer without introducing a single point of failure or violating high availability standards. Which solution meets these requirements most cost-effectively?
A logistics company runs a distributed fleet management system across an AWS Organization with consolidated billing. The system is split into two AWS member accounts: Account A (Ingestion) runs a dynamic processing workload on Amazon EC2 m6i.xlarge instances (average CPU utilization , peak , memory usage consistently under ) and AWS Lambda functions for real-time telemetry processing. Account B (Analytics) hosts a cluster of Amazon ECS tasks running on AWS Fargate that processes reports. Outbound traffic to the internet and AWS services from Account A is routed through redundant NAT Gateways deployed across three Availability Zones. The company plans to optimize compute costs over a term. Performance must not be compromised, and no application downtime is permitted. Which optimization strategy will achieve the highest cost reduction while satisfying these requirements?
A company is migrating a production MySQL database running on an on-premises physical server to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The migration must be completed with minimal downtime. A Solutions Architect plans to use the AWS Schema Conversion Tool (AWS SCT) and the AWS Database Migration Service (AWS DMS) with Change Data Capture (CDC). Which of the following actions must the Solutions Architect perform to ensure a successful migration with ongoing replication? (Select TWO.)
Select all that apply
A financial services firm manages application hosting environments across multiple member accounts in AWS Organizations. The baseline EC2 instance configurations, security group rules, and IAM roles are deployed and managed using AWS CloudFormation StackSets from a centralized tooling account.
Recently, local administrators have made manual, out-of-band modifications to security group rules and instance settings in the target accounts, causing configuration drift. Additionally, the centralized pipeline in the tooling account is unable to complete deployments because the target accounts cannot read the deployment artifacts stored in an Amazon S3 bucket, which is currently encrypted using the default AWS-managed S3 key (aws/s3).
Which combination of actions should a Solutions Architect take to remediate the configuration drift and resolve the cross-account deployment failures? (Select TWO.)
Select all that apply
A company runs a high-volume containerized application on AWS Fargate in a dedicated VPC within a member account of an AWS Organization. The application also uses AWS Lambda for background processing and Amazon Aurora PostgreSQL Serverless v2 for the database. Analysis of the organization's monthly bill reveals that AWS Fargate, AWS Lambda, and NAT Gateway data processing charges represent the highest cost factors. The NAT Gateway data processing costs are elevated because Fargate tasks in private subnets regularly download large container images from Amazon ECR and make frequent API requests to Amazon S3 and Amazon DynamoDB. The company has consolidated billing enabled across all accounts in the AWS Organization. Which two actions should a Solutions Architect recommend to optimize resource costs while maintaining high availability and requiring minimal operational effort? (Select TWO.)
Select all that apply
An enterprise hosts an internal web application on Amazon EC2 instances behind an internal Application Load Balancer (ALB) inside a VPC. Corporate users access the application through an AWS Site-to-Site VPN connection. The security team wants to improve the network security posture by deploying AWS WAF on the internal ALB. The requirements are:
1. Block all requests containing SQL injection (SQLi) patterns.
2. Restrict all other access to the corporate network public CIDR block ().
The security team configures an AWS WAF WebACL with the following rules:
- Rule A (Priority 10): A custom rule with an Allow action for source IP addresses in .
- Rule B (Priority 20): An AWS Managed Rules SQL database rule set with a Block action.
- Default Action: Block.
During a security audit, simulated SQLi attacks originating from the corporate network successfully reach the EC2 instances. Which of the following modifications should the security team perform to remediate this vulnerability and meet the requirements? (Select TWO.)
Select all that apply
An enterprise is planning to migrate its core financial auditing platform to AWS within a strict six-month timeline. The workload consists of three primary components:
1. A web frontend running Apache Tomcat on Windows Server 2012 R2. The operating system has reached End-of-Support (EOS). To comply with corporate security standards, the OS must be upgraded to Windows Server 2022 during the migration, but the application code itself will not be modified.
2. A transactional database running on Microsoft SQL Server 2016. To eliminate commercial licensing costs, the enterprise wants to migrate this database to Amazon Aurora PostgreSQL, which will require converting the database schema and rewriting legacy stored procedures.
3. A legacy reporting system that requires a physical hardware security module (HSM) with proprietary on-premises API integrations that cannot be virtualized or replicated in the cloud, but must remain operational for auditing purposes.
Which combination of migration strategies represents the most appropriate alignment with the AWS 7 Rs framework for these components?
A digital logistics provider is transitioning a production Microsoft SQL Server database hosted on an on-premises physical cluster to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. A database administrator has successfully completed schema conversion using the AWS Schema Conversion Tool (SCT) and applied the DDL scripts to the target Aurora DB cluster. The administrator then sets up an AWS Database Migration Service (DMS) replication task configured with a task type of 'Full load and ongoing replication'. The full load phase completes successfully, copying all baseline tables to Aurora. However, the task fails immediately upon transitioning to the Change Data Capture (CDC) phase. Which of the following actions is required to resolve this failure and ensure ongoing replication?
A digital content provider is designing a new subscription management platform to handle global membership renewals and payments. The platform's workload type is a relational Online Transaction Processing (OLTP) database. The database must sustain high-volume transactional writes in the primary region (us-east-1), scale to handle up to 100,000 read requests per second globally, and support a disaster recovery strategy with a Recovery Point Objective (RPO) of less than 1 second and a Recovery Time Objective (RTO) of less than 1 minute in a secondary region (us-west-2). All database storage at rest must be encrypted using a customer managed key (CMK) owned by a centralized security account to comply with regulatory auditing requirements.
Which two database and encryption configurations should the Solutions Architect select to meet these requirements? (Select TWO.)
Select all that apply
A company is planning to migrate a customer portal application to AWS. The web tier consists of a Python Django application running on Windows Server VMs, which the company wants to containerize and run on AWS Fargate to eliminate operating system licensing and management overhead. The database tier runs on Microsoft SQL Server. To eliminate commercial database licensing costs, the company decides to migrate the database to Amazon Aurora MySQL. This migration will require rewriting multiple database-level stored procedures and modifying the application's data access layer.
Which migration strategies from the 7 Rs framework should the Solutions Architect select for the web tier and the database tier?
A financial services organization is planning to migrate its loan processing system to AWS. The system is composed of three main components:
* A transaction database running on Oracle Database on-premises. To reduce licensing costs, the organization wants to migrate this database to Amazon Aurora PostgreSQL, which will require converting schemas and rewriting database stored procedures.
* A web portal running on JBoss EAP on physical servers. The organization wants to package the portal into a container image and run it on Amazon ECS using AWS Fargate to reduce operational overhead, without making any modifications to the application code.
* A legacy document archival tool that integrates with a physical on-premises Hardware Security Module (HSM) appliance. Due to compliance and physical hardware dependencies, this tool must remain in the on-premises data center and communicate with AWS via AWS Direct Connect.
Which of the following identifies the most appropriate migration strategies for these three components?
An enterprise telemetry analytics SaaS provider runs its data ingestion service on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The instances process high-velocity telemetry logs from client sites across three Availability Zones. The instances utilize a bootstrap script that downloads configuration files and initializes local caching, which takes approximately 8 minutes to complete before they can accept traffic. The provider recently suffered an outage during an unannounced marketing campaign by one of its enterprise clients, which caused an immediate, massive surge in HTTP traffic. During this surge, the ALB returned 503 Service Unavailable errors. The ASG scale-out policy triggered multiple times, but launched dozens of unnecessary instances that remained idle once the traffic surge subsided. Additionally, outbound database connection attempts from instances in two of the Availability Zones failed because the route tables pointed to a single NAT Gateway located in the third Availability Zone, which became resource-constrained and crashed. Which configuration should a solutions architect implement to resolve these issues?
An autonomous vehicle technology firm is designing a high-performance simulation platform on AWS. The platform requires a shared file storage solution to support machine learning model training and log analysis.
The workload profiles and performance indicators are as follows:
* Workload Type: Shared File Storage (POSIX-compliant, supporting advisory file locking)
* Active Dataset: requiring sub-millisecond read latency and up to read throughput
* Archive Dataset: of historical sensor logs that are infrequently accessed but must be immediately available with low latency when a simulation is rerun
* Disaster Recovery Constraints: The primary deployment is in `us-east-1`. A read-only secondary replica must be maintained in `eu-west-1` with a Recovery Point Objective (RPO) of less than and a Recovery Time Objective (RTO) of less than .
* Security Constraints: All data must be encrypted at rest using Customer Managed Keys (CMKs) in AWS Key Management Service (AWS KMS).
Which storage architecture represents the most cost-effective design that satisfies all latency, throughput, RPO/RTO, and security requirements?
A company runs a critical business application on a fleet of Amazon EC2 instances. The infrastructure is deployed and managed using AWS CloudFormation. The internal operating system configurations and application settings on these instances must strictly align with a configuration definition defined in an Ansible playbook. Recently, system administrators have performed manual updates to the configuration files on individual instances via SSH to troubleshoot issues, resulting in configuration drift that has caused application instability. A solutions architect needs to design a solution that will automatically detect these manual operating system-level changes and restore the instances to the desired state with minimal service disruption and operational overhead. Which solution should the solutions architect implement?
An enterprise is strengthening the security posture of an existing data processing application. The application runs on Amazon ECS Fargate tasks in a private subnet within VPC A (Account A). The tasks process telemetry data and write the results to a centralized Amazon S3 bucket in Account B. The S3 bucket is configured with default encryption using an AWS KMS Customer Managed Key (CMK) in Account B.
Currently, the ECS tasks access the S3 bucket via an S3 Gateway VPC Endpoint in VPC A. The security team must implement the following improvements:
- Ensure all data upload requests to the S3 bucket and KMS cryptographic requests are kept off the public internet.
- Restrict the S3 bucket and KMS CMK access so that they only accept requests originating from VPC A's VPC endpoints.
- Prevent administrators in Account A from modifying the KMS key policies or S3 bucket policies in Account B, while ensuring Account B security administrators retain full management capabilities.
Which combination of actions will meet these security requirements with the least operational complexity?