All practice questions
1964 questions
A biotechnology research company, GeneSphere, is modernizing its legacy genomic analysis suite by migrating it from on-premises virtual machines to AWS. The company has containerized the workload and wants to deploy it using Amazon ECS with the AWS Fargate launch type for administrative simplicity.
The architecture comprises a multi-account AWS environment managed via AWS Organizations. The container images are stored in a centralized Amazon Elastic Container Registry (ECR) repository in a Shared Services account. The ECS tasks will be deployed in a separate Production account across three Availability Zones within a private subnet of the Production VPC.
For regulatory compliance, the deployment must meet the following requirements:
1. All traffic between the Fargate tasks and AWS services (Amazon ECR and Amazon S3) must remain private within the AWS network without traversing the public internet.
2. The Fargate tasks must resolve internal service endpoints (e.g., service.internal.local) hosted in the Shared Services VPC using a Route 53 Private Hosted Zone (PHZ) managed in the Shared Services account.
3. The network design must be highly available with no single point of failure.
Which configuration meets these requirements with the least operational overhead?
An e-commerce company operates a flash sales portal on AWS. The application is hosted on Amazon EC2 instances in an Auto Scaling Group (ASG) across three Availability Zones behind an Application Load Balancer (ALB). The instances require outbound internet access to verify payment transactions via third-party APIs. Currently, all private subnets route outbound traffic through a single NAT Gateway located in Availability Zone A.
During scheduled flash sales, the following issues occur:
- The ALB drops incoming requests and returns HTTP 503 service unavailable errors during the first few minutes of the sale.
- The ASG launches more instances than required during scale-out because the custom bootstrapping script takes 7 minutes to complete, which is longer than the ASG's default cooldown period of 300 seconds.
- An outage in Availability Zone A recently blocked all outbound internet traffic for the instances in the other zones.
Which combination of actions should a Solutions Architect implement to resolve these issues?
An enterprise is migrating a legacy on-premises Oracle 19c database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The migration strategy utilizes the AWS Schema Conversion Tool (SCT) for schema conversion and AWS Database Migration Service (DMS) for full-load and Ongoing Replication (Change Data Capture - CDC).
The source database contains several tables that do not have primary keys. To prepare the source database for CDC, the database administrator puts the Oracle database in ARCHIVELOG mode and enables database-level minimal supplemental logging by running:
`ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;`
During the migration, the AWS DMS task completes the Full Load phase successfully. However, when the task transitions to the CDC phase, updates to the tables without primary keys are not replicated to the target Aurora DB cluster, and the DMS task log displays errors indicating that target rows cannot be located.
Which of the following describes the root cause of this issue and the correct resolution?
A media company is planning to migrate its video production and archiving platform to AWS. The platform consists of three main components:
1. A proprietary video transcoding engine compiled as a legacy C++ binary. It runs on a specialized Linux kernel configuration with custom hardware optimizations. The source code is unavailable, and the engine cannot be modified or containerized.
2. A metadata store currently running on an on-premises Oracle database. The database uses complex, custom PL/SQL stored procedures. The company wants to modernize this store to Amazon Aurora PostgreSQL to reduce licensing costs, which will require schema rewrite and query modifications using the AWS Schema Conversion Tool (SCT).
3. A legacy media archiving library stored on physical LTO tape drives. The tapes contain historical footage that is rarely accessed but must be kept for regulatory compliance. The company has decided not to migrate this tape library to AWS during the initial phase and will keep it in the on-premises datacenter.
Which combination of migration strategies represents the most appropriate 7 Rs pathways for these components?
An energy utility company is migrating critical grid-monitoring servers from an on-premises data center to AWS using AWS Application Migration Service (MGN). The replication traffic must travel privately over a AWS Direct Connect connection via an AWS Transit Gateway. The target environment is a dedicated Migration VPC. The Solutions Architect has established interface VPC endpoints for the MGN control plane in a Shared Services VPC, which is shared with the Migration VPC via Route 53 Private Hosted Zone associations. After installing the AWS Replication Agent on the source servers, the console indicates that the agents can communicate with the control plane, but the replication status remains stalled at progress. Which combination of actions will resolve the replication stall and resume data transfer?
An enterprise has an existing on-premises application that currently uses long-lived AWS IAM user access keys to upload large data logs to an Amazon S3 bucket. To strengthen security, a Solutions Architect is tasked with refactoring the authentication mechanism to use short-lived credentials via AWS IAM Roles Anywhere. The enterprise already operates an internal Certificate Authority (CA). Which combination of actions should the Solutions Architect perform to implement this security improvement? (Select two.)
Select all that apply
A company needs to ensure that a security logging agent's configuration file is kept synchronized and compliant across all Amazon EC2 instances in an Auto Scaling group. The configuration contains sensitive database connection strings and must be protected. If any manual modifications are made to this configuration file on a running instance, the changes must be detected and corrected within an hour to ensure compliance. Which of the following solutions meets these requirements with the least operational overhead?
An online multiplayer gaming platform uses Amazon EC2 instances in an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB) to run its matchmaking service. The matchmaking application requires 5 minutes to bootstrap, load assets, and become fully operational. During peak hours, sudden traffic surges cause players to experience connection timeouts. Monitoring shows that during spikes, the ASG launches new instances, but before they transition to an InService state, the existing instances become overloaded and fail health checks. In addition, outbound database registration requests from the private subnets fail when the Availability Zone hosting the single NAT Gateway experiences an outage. Which TWO configurations should a Solutions Architect implement to improve the fault tolerance and auto-scaling behavior of the application? (Select TWO.)
Select all that apply
A media streaming company is launching a new video-processing platform in the us-west-2 region. The architecture consists of a Production VPC (vpc-prod-processing) and a Shared Services VPC (vpc-shared-services), both connected via an AWS Transit Gateway. The video-processing EC2 instances are distributed across two Availability Zones (us-west-2a and us-west-2b) in private subnets of vpc-prod-processing and must access the internet to download transcoding packages and license updates. The company wants to centralize all outbound internet traffic through vpc-shared-services to inspect traffic and minimize costs. Additionally, the EC2 instances in vpc-prod-processing need to resolve internal database endpoints registered in a Route 53 Private Hosted Zone (corp.internal) managed within vpc-shared-services. The solution must be highly resilient, preventing any single points of failure. Which two actions should the Solutions Architect take to satisfy these requirements? (Select TWO.)
Select all that apply
A global e-commerce firm is designing a new online transaction processing (OLTP) ledger system that must operate across two AWS Regions: us-east-1 (primary) and us-west-2 (secondary). The ledger requires a relational database that can handle high-rate write transactions in the primary region, support local read operations with sub-second latency in both regions to serve real-time analytics dashboards, and support a disaster recovery plan with a Recovery Point Objective (RPO) of under 2 seconds and a Recovery Time Objective (RTO) of under 10 minutes. Additionally, compliance requirements dictate that all data must be encrypted at rest using customer managed keys (CMKs) in AWS Key Management Service (AWS KMS). Which database and storage strategy meets these requirements with the lowest operational overhead?
A global media company is migrating its legacy application workloads from a co-located data center to AWS using AWS Application Migration Service (MGN). The hybrid connectivity consists of a AWS Direct Connect connection terminated at an AWS Transit Gateway. The on-premises source servers reside in a restricted segment with no direct internet access. To facilitate migration, the Solutions Architect deploys Interface VPC Endpoints in the staging VPC for the MGN control plane and creates a Route 53 Private Hosted Zone (PHZ) for the service endpoints. During testing, the MGN agents fail to register from the on-premises servers, and the few servers that did register show a replication status of permanently stalled. Additionally, the staging VPC currently uses a single NAT Gateway in `us-east-1a` to handle egress traffic, violating high availability requirements. Which of the following actions should the Solutions Architect take to resolve the registration and replication stalls while establishing a highly available and resilient architecture? (Select TWO.)
Select all that apply
A Solutions Architect is migrating an on-premises Microsoft SQL Server database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The schema conversion has been completed using the AWS Schema Conversion Tool (SCT). The architect configures an AWS Database Migration Service (DMS) task with Change Data Capture (CDC) for ongoing replication. During testing, the architect notices that updates and deletes on several source tables are not being replicated to the target Aurora DB cluster, while inserts are successfully replicated. Which of the following is the most likely cause of this behavior, and the correct resolution?
A company hosts a public web application behind an Application Load Balancer (ALB). To protect the application from SQL injection and HTTP flood attacks, the security team associated an AWS WAF WebACL with the ALB. The WebACL contains rules:
1. A rate-based rule to block clients exceeding requests per minutes.
2. A custom rule to block requests containing SQL injection patterns in the URI.
3. A rule that allows all traffic matching a specific API key header used by partner integrations.
During a simulated attack, security audits show that partner integrations sending requests with the API key header are successfully executing SQL injection attacks, and some partner IPs are overwhelming the application with HTTP floods.
Which configuration change should the Solutions Architect recommend to resolve this security vulnerability?
An enterprise needs to replicate changes from an on-premises Microsoft SQL Server instance to a target Amazon Aurora PostgreSQL DB cluster using AWS DMS. The SQL Server instance has Transparent Data Encryption (TDE) enabled. The migration team has already converted the database schema using the AWS Schema Conversion Tool (AWS SCT). To achieve a near-zero downtime cutover, the AWS DMS task must run with ongoing replication (CDC) enabled while keeping the source database encrypted.
What must the migration team configure to enable the AWS DMS replication task to decrypt and read the source transaction logs during CDC?
CareFlow Systems is modernizing its legacy patient registration API by migrating it from on-premises servers to AWS. The solution will run on Amazon ECS using AWS Fargate across three Availability Zones (AZs) in a single VPC. The application requires outbound internet access to contact third-party medical validation services and must also securely access a legacy database located in the on-premises datacenter via an AWS Direct Connect connection. The database endpoint must be resolved using a private DNS domain hosted in a shared services VPC in a different AWS account within the organization. Which network and container configuration should a solutions architect recommend to satisfy these requirements with high availability?
ZetaDiagnostics is migrating its HIPAA-compliant medical image processing engine from an on-premises virtualized environment to AWS. The target architecture must run on AWS Fargate across three Availability Zones to minimize operational overhead. The workload VPC is connected to a central shared services VPC via AWS Transit Gateway. The containers must securely pull images from an Amazon Elastic Container Registry (Amazon ECR) repository located in the shared services VPC without traversing the public internet. Additionally, the Fargate tasks must retrieve encrypted clinical parameters from AWS Secrets Manager using a key managed in the shared services account. All internal DNS queries for ECR must resolve directly to the shared services VPC endpoints. Which combination of architectural steps will satisfy these requirements? (Select TWO.)
Select all that apply
A media streaming enterprise is migrating its legacy content transcoding and metadata processing cluster consisting of on-premises servers to AWS. The staging area VPC in AWS is connected to the on-premises environment using an AWS Direct Connect connection with a Transit Gateway. During the replication phase, the migration team observes that the AWS Application Migration Service (MGN) replication agent is installed on the on-premises servers, but the replication status remains stuck at 'Initiating' with a communication error. Additionally, in the target VPC, replica test instances launched in the private subnets are unable to download necessary packages from the internet during post-launch scripting, leading to failed test phases. Which two actions should the solutions architect take to resolve these issues and ensure a successful migration? (Select TWO.)
Select all that apply
An enterprise has a multi-tier application deployed across two VPCs in the same AWS Region: a production VPC and a shared services VPC. The production VPC has private subnets across two Availability Zones hosting a fleet of Amazon EC2 instances that process approximately of data monthly. This data includes high-volume exchanges with the shared services VPC via an AWS Transit Gateway, as well as read/write operations to Amazon S3 and Amazon DynamoDB. Currently, all outbound traffic, including S3 and DynamoDB traffic, is routed through two active NAT Gateways (one in each Availability Zone) in the production VPC. The enterprise needs to reduce its data transfer and processing costs while maintaining high availability and avoiding any application code changes. Which of the following architectural changes should the Solutions Architect recommend to achieve these goals cost-effectively? (Select TWO.)
Select all that apply
A subscription-based meal kit delivery service manages its weekly menu offerings and customer delivery preferences. During the weekly menu release window, the application experiences a significant spike in read requests as customers view the new options. The backend database is an Amazon RDS for PostgreSQL Multi-AZ DB instance. During these peak hours, the DB instance experiences high CPU utilization, leading to delayed response times. The menu data is updated once a week, but the cached database queries must be highly available and support automatic failover across multiple Availability Zones to prevent downtime. Which of the following database and caching strategies should the Solutions Architect implement to resolve the performance bottleneck while meeting the availability requirements?
A financial services enterprise is planning to migrate a customer portal application suite to AWS as part of a datacenter decommissioning initiative. The migration must be completed within 6 months. The application suite consists of two primary components:
1. A legacy .NET web application running on Windows IIS servers. The enterprise wants to migrate the application to a managed container service to eliminate operating system administrative overhead, without modifying the application source code.
2. A critical transaction database running on Oracle Database Enterprise Edition. The database contains complex PL/SQL stored procedures. The enterprise wants to eliminate high licensing costs by migrating to a fully managed open-source cloud database on AWS.
Which of the following migration strategy mappings should the solutions architect select to meet these requirements? (Select TWO).
Select all that apply