All practice questions
1964 questions
An enterprise manages its multi-account environment using AWS Organizations. The central platform team uses AWS CloudFormation StackSets to deploy standardized security groups and Amazon EC2 instances from a central administrative account into multiple member accounts. The deployment artifacts and templates are stored in an Amazon S3 bucket within the administrative account.
A security audit identifies two main issues:
1. Authorized users in member accounts are manually modifying the security group rules and disabling mandatory OS-level security agents on the EC2 instances, creating configuration drift.
2. Attempts to update the StackSet to deploy new versions fail in several member accounts because the member accounts' CloudFormation execution roles are denied access to the S3 bucket and cannot decrypt the deployment artifacts.
The solutions architect must implement an automated configuration management strategy that remediates drift on security groups and EC2 instances, and ensures that cross-account StackSet updates succeed.
Which combination of actions should the solutions architect take to meet these requirements?
A solutions architect is designing a migration strategy to move an on-premises self-managed MySQL 8.0 database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The database contains critical transactional tables with high write throughput. The migration must minimize downtime and ensure that schema incompatibilities, such as custom stored functions, are handled correctly before replication begins. Which two actions must the solutions architect take to prepare the database and execute the migration? (Select two.)
Select all that apply
A logistics company hosts a fleet telemetry tracking application on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The instances reside in private subnets across two Availability Zones, Zone A and Zone B. The instances must download routing updates daily from an external server over the internet. Currently, a single NAT Gateway is deployed in Zone A to provide outbound internet access.
The company has identified two primary failure patterns:
1. Outbound internet connectivity fails for all instances in both zones if Zone A experiences an outage.
2. At the start of daily delivery shifts at 8:00 AM, a sudden, massive surge in telemetry connections causes the ALB to drop requests and return HTTP 503 (Service Unavailable) errors, even though dynamic CPU-based auto-scaling is configured.
Which combination of actions will resolve these issues? (Select TWO.)
Select all that apply
An organization runs a daily batch analytics workload on a fleet of Amazon EC2 instances in private subnets across three Availability Zones in the `eu-west-1` Region. The workload downloads a static reference dataset every day from a central Amazon S3 bucket in the `us-east-1` Region. The dataset is updated only once per month. The instances also write of logs daily to an S3 bucket in the `eu-west-1` Region. Currently, all outbound traffic to S3 is routed through NAT Gateways in the VPC. The monthly bill shows high NAT Gateway data processing and cross-Region data transfer charges.
Which TWO actions should a Solutions Architect recommend to optimize these costs?
Select all that apply
A medical technology company is designing a new patient monitoring system that registers real-time telemetry from wearable devices (OLTP workload). The system must scale to ingest up to writes per second. The telemetry data must be buffered and cached for real-time visualization with less than read latency. The cache requires high availability, automated failover, and data persistence to survive node failures. The historical telemetry data must be persisted in a database, and the architecture must ensure horizontal scaling of read operations during peak diagnostic hours. Finally, the company requires a disaster recovery strategy to a secondary AWS Region with a Recovery Time Objective (RTO) of less than and a Recovery Point Objective (RPO) of less than . Which of the following database and storage strategies meets these requirements with the lowest operational complexity?
An insurance firm is modernizing its legacy claims validation backend application by migrating it from on-premises virtual machines to AWS. The proposed architecture requires deploying the application as containerized tasks using the AWS Fargate launch type on Amazon ECS. The tasks must run in a private subnet of an application VPC with no direct outbound path to the internet. The container images must be securely pulled from a centralized Amazon Elastic Container Registry (ECR) repository located in a shared services VPC within the same AWS Organization. A Route 53 Private Hosted Zone for ECR has been created and is hosted in the shared services VPC. Which TWO configurations must a Solutions Architect implement to allow the ECS tasks to pull images from ECR without traversing the public internet? (Select TWO.)
Select all that apply
A digital payment startup, PayFast, is modernizing its on-premises transactional auditing workload by migrating it to AWS. The workload runs on Docker containers and processes high-security compliance data. To minimize operational overhead, the company decides to host the containers using Amazon Elastic Container Service (Amazon ECS) on AWS Fargate. The security compliance policy requires that each deployed task must have its own dedicated elastic network interface (ENI) and a specific security group to restrict inbound and outbound traffic. Which network configuration should the solutions architect specify in the task definition to meet these requirements?
A digital publishing company, AuraMedia, is modernizing its legacy editorial content management system (CMS) by migrating it from an on-premises virtualized environment to AWS. The new architecture will run as containerized microservices on Amazon ECS. The application consists of a public-facing reader service in a Front-End VPC and a sensitive, restricted content ingestion service in a Back-End VPC under a separate AWS account. The content ingestion service must process raw files, store metadata in Amazon DynamoDB, and encrypt assets using AWS KMS. All data transfer between the VPCs and to AWS services must remain entirely within the AWS private network to meet strict data privacy compliance standards. The reader service needs to resolve the private DNS names of the ingestion service tasks. To minimize server maintenance, the solutions architect must use AWS Fargate. The system must achieve a Recovery Time Objective (RTO) of 15 minutes. Which design satisfies these security and connectivity requirements with the least operational overhead?
An enterprise is migrating a self-managed, on-premises IBM DB2 LUW () database to an Amazon Aurora PostgreSQL-Compatible Edition cluster. The source database contains high-volume transactional tables, some of which include Character Large Object (CLOB) columns storing data up to in size. The migration strategy requires schema conversion using the AWS Schema Conversion Tool (SCT) and data replication with minimal downtime using AWS Database Migration Service (DMS) with continuous replication (CDC).
During a migration test run, the solutions architect observes the following issues:
1. The AWS DMS replication task successfully completes the Full Load phase but fails to replicate any subsequent transactions during the CDC phase, causing the replication task to stall.
2. Analysis of the target Aurora PostgreSQL database shows that several text fields originating from the CLOB columns are truncated.
3. The overall replication throughput is significantly lower than the target baseline.
Which combination of actions will resolve these issues while maintaining optimal replication performance?
A logistics company operates a package tracking web application backed by an Amazon RDS for PostgreSQL DB instance. Users frequently query the status of their packages, resulting in high read latency and DB CPU utilization during peak delivery hours. The tracking data is read-heavy and must be retrieved with sub-millisecond latency. Additionally, the caching solution must support multi-AZ replication for high availability and data persistence to prevent cache-stampede issues after a cold start. Which solution should the Solutions Architect implement to improve database efficiency and meet these requirements?
A logistics company manages its IT environment using AWS Organizations with consolidated billing enabled. The environment consists of a production account and a development account. The production account runs a continuous telemetry application on Amazon ECS Fargate and a legacy database cluster on Amazon EC2 m6i instances. The development account runs dynamic, ephemeral testing environments on AWS Lambda and Amazon EC2. The company wants to optimize its compute spend across both accounts while maintaining high availability and minimizing administrative overhead. Which strategy should a solutions architect recommend to achieve these goals at the lowest cost?
A company plans to migrate its legacy on-premises Oracle 19c database to Amazon Aurora PostgreSQL-Compatible Edition. The database schema has been successfully converted using the AWS Schema Conversion Tool (AWS SCT). The migration team is establishing an AWS Database Migration Service (AWS DMS) replication task with Full Load and Change Data Capture (CDC) to minimize application downtime during the cutover. However, immediately after completing the full load phase, the DMS task fails and logs errors stating that the replication agent cannot read the transaction log sequence or access transaction records on the source database. Which of the following database-level configurations must be enabled on the source Oracle database to allow AWS DMS to successfully capture and replicate ongoing transactional changes?
An enterprise is designing a new multi-account architecture on AWS in the ap-southeast-2 region. The design includes a shared services account managing a central VPC (vpc-shared-services) and two spoke VPCs in separate accounts: vpc-sales-prod and vpc-hr-prod. A Route 53 Private Hosted Zone (PHZ) named corp.aws is hosted in the shared services account. Workloads in the spoke VPCs require private DNS resolution for corp.aws and must be able to download software patches from the internet. The network design must be highly available, minimize single points of failure, and use AWS Transit Gateway (tgw-sydney) to interconnect the VPCs. Which combination of steps should a Solutions Architect take to meet these requirements? (Select TWO.)
Select all that apply
A logistics company is preparing to migrate its on-premises VMware vCenter environment to AWS. The security compliance policy strictly prohibits the installation of any local software agents or third-party monitoring utilities on production virtual machines. The solutions architect needs to perform an initial discovery of virtual machine configurations and resource utilization (CPU, memory, and disk) to generate sizing recommendations in AWS Migration Hub. Which of the following discovery configurations should the solutions architect implement to satisfy the compliance policy and collect the necessary data?
An energy infrastructure company, GridOps Core, is modernizing its legacy SCADA telemetric aggregation application, which runs on-premises and communicates directly with power substations. To comply with national regulations and maintain sub-millisecond latency to local hardware controllers, the company must deploy the containerized workload onto Amazon EKS running on AWS Outposts. The EKS cluster control plane is hosted in the parent AWS Region. The containerized pods must be assigned IP addresses that are directly routable from the on-premises network to allow bidirectional communication with the substations. Furthermore, the pods must securely pull images from a private Amazon Elastic Container Registry (Amazon ECR) repository in the parent Region, and resolve hostnames in the on-premises domain `ops.grid.local` along with Route 53 Private Hosted Zones, without traversing the public internet.
Which combination of steps should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
An enterprise hosts a partner-only web portal behind an Application Load Balancer (ALB). To secure the portal, a Solutions Architect configures an AWS WAF Web ACL with a default action of 'Block'. The Web ACL contains two rules: a rule using an IP set to allow corporate partner network ranges, and a rate-based rule to block clients sending more than 2,000 requests per 5 minutes. The IP allowlist rule is currently evaluated first. During a security audit, a simulated HTTP flood from a partner's IP address successfully overwhelms the backend servers because the rate-based rule was not triggered. Which of the following changes should the Solutions Architect make to remediate this vulnerability?
A media company hosts a high-throughput video transcoding platform on Amazon EC2 instances in an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The EC2 instances reside in private subnets across three Availability Zones. During video upload surges, the system encounters two critical issues: first, newly launched EC2 instances require minutes to download dependencies and complete their bootstrapping sequence, while the scaling policy cooldown is set to minutes, resulting in rapid, unnecessary scale-out (thrashing) of instances. Second, when the single NAT Gateway deployed in Availability Zone A experiences network degradation, transcoding instances in all three Availability Zones fail to access the internet to retrieve dependencies, halting the processing pipeline. Which of the following combinations of actions will resolve these issues? (Select TWO.)
Select all that apply
A financial technology company is planning to migrate its legacy reporting and auditing platform to AWS. The migration must be completed within a strict 3-month window before their on-premises data center lease expires. The development team is currently fully committed to a core product launch and has zero availability to perform code changes or database schema modifications. The platform consists of the following three components:
1. Reporting Web Application: A Java Tomcat web application running on virtual machines.
2. Transactional Database: A Microsoft SQL Server database. The company wants to eliminate database administration tasks such as backups and patching to minimize operational overhead.
3. Archived Compliance Log Viewer: A legacy PHP application used only for read-only historical compliance audits. The application is scheduled to be decommissioned in 9 months when the regulatory data retention period expires.
Which two of the following migration strategy mappings are correct for these components? (Select TWO)
Select all that apply
An enterprise is planning to migrate 50 physical servers from an on-premises data center to AWS using AWS Application Migration Service (MGN). The hybrid network infrastructure includes a 10 Gbps AWS Direct Connect connection terminated on a Transit Gateway in a central shared services VPC. Strict security policies dictate that all replication traffic must be private and cannot traverse the public internet. The staging area VPC has no Internet Gateway attached. After installing the AWS Replication Agent on several on-premises servers, the Solutions Architect notes that the replication status is 'Stalled' and the agents cannot connect to the replication servers. Which two configuration steps must the Solutions Architect perform to resolve this issue and establish private replication? (Select TWO.)
Select all that apply
A company is migrating an on-premises Microsoft SQL Server database to an Amazon Aurora PostgreSQL-Compatible Edition cluster using AWS Database Migration Service (DMS) and the AWS Schema Conversion Tool (SCT). The database schema has already been successfully converted and applied. The solutions architect needs to run a DMS replication task with Change Data Capture (CDC) to perform a minimal-downtime migration. However, during testing, the DMS task completes the full load phase but fails to replicate any ongoing data changes (CDC) and stalls. Which of the following actions must the solutions architect perform on the source database to enable successful Change Data Capture (CDC) replication? (Select TWO.)
Select all that apply