All practice questions
1964 questions
A financial technology firm hosts its transaction processing workload in the us-east-1 Region across two VPCs: VPC-A and VPC-B. VPC-A hosts public-facing Application Load Balancers (ALBs) that receive incoming traffic and route it to containerized microservices in VPC-B via an AWS Transit Gateway. The microservices in VPC-B frequently query a third-party payment gateway over the internet, routing outbound traffic through the Transit Gateway to a single NAT Gateway located in VPC-A. During high-volume trading hours, transaction latency increases, and connection timeouts occur. Network logs indicate that the NAT Gateway in VPC-A is experiencing source port exhaustion. Additionally, microservices in VPC-A occasionally fail to resolve the private DNS names of the resources in VPC-B. Which combination of actions will resolve the latency issues and ensure successful DNS resolution across the VPCs?
An international flight search and booking platform uses a Multi-AZ Amazon RDS for PostgreSQL DB instance to store flight schedules and seat availability. During peak vacation booking periods, the platform experiences significant read latency spikes and query timeouts on the primary database due to a high volume of flight search queries and connection exhaustion. The booking engine also requires a caching tier for flight search result packages. This cache must support sub-millisecond response times and provide high availability with automatic failover and cross-AZ data replication to prevent cache cold-starts in the event of a node failure. Which three actions should the Solutions Architect take to improve database and caching efficiency while meeting these requirements? (Select THREE.)
Select all that apply
An enterprise operates a web application deployed on Amazon ECS tasks running on AWS Fargate in private subnets, fronted by an internet-facing Application Load Balancer (ALB). The application requires users to authenticate via SAML 2.0 with an external corporate identity provider (IdP). To improve security, the organization wants to offload the authentication process from the application layer to the ALB. Additionally, the application must be protected against SQL injection attacks and brute-force traffic spikes. Which of the following actions should the solutions architect take to meet these requirements? (Select two.)
Select all that apply
A company is planning to migrate its on-premises customer relationship management (CRM) application to AWS. The application's backend database runs on Microsoft SQL Server. The primary goal of the migration is to eliminate the operational burden of database patching, backups, and OS-level maintenance. However, the company has strict timeline constraints and cannot modify the application's source code or change the database engine.
Which migration strategy should the company select for the database?
A financial organization is designing a new global relational Online Transaction Processing (OLTP) application. The application will be deployed in a primary AWS Region (us-east-1) and must maintain a read-only reporting environment in a secondary AWS Region (us-west-2). The reporting environment must handle dynamic, high-load reporting queries and scale automatically. The disaster recovery KPIs require a Recovery Point Objective (RPO) of less than 1 second and a Recovery Time Objective (RTO) of less than 1 minute for a regional outage. All data at rest must be encrypted, and an audit team operating in a separate AWS account must be granted permissions to read and verify the encryption metadata. Which two database and storage configurations should the solutions architect select to meet these requirements?
Select all that apply
An enterprise is planning to migrate a legacy three-tier customer service application to AWS within a strict 3-month timeline. The application components and constraints are as follows:
* Presentation Tier: ASP.NET web application hosted on IIS on Windows Server 2012 R2. The company wants to minimize operating system licensing costs and administrative overhead by using containers, but the development team has no capacity to rewrite or modify the application code.
* Licensing Tier: A proprietary Windows service that requires a physical USB licensing dongle connected directly to the server. This service is scheduled to be retired in 12 months.
* Database Tier: A Oracle Database Enterprise Edition. The business wants to migrate to Amazon Aurora PostgreSQL to eliminate licensing costs. The database contains over 150 PL/SQL packages and stored procedures that the application calls directly. The maximum allowed cutover downtime is 2 hours.
Which of the following migration strategies represent the most optimal alignment to the 7 Rs model for these tiers? (Select TWO.)
Select all that apply
An enterprise hosts its retail application in a Production AWS account where sensitive customer transaction receipts are stored in an Amazon S3 bucket. The bucket is encrypted using a Customer Managed Key (CMK) in the Production account. To meet strict regulatory requirements, the security team mandates that these logs must be replicated using S3 Same-Region Replication (SRR) to a centralized archive S3 bucket in a separate Compliance AWS account. The archive bucket has S3 Object Lock enabled in compliance mode. The security policy dictates that the replicated objects must be encrypted at rest in the Compliance account using a KMS CMK owned by the Compliance account, and no AWS-managed keys may be used for cross-account operations. Which combination of configurations is required to successfully enable cross-account replication of these encrypted objects while adhering to the principle of least privilege?
An enterprise runs a critical payment processing application across two AWS accounts within an AWS Organization. The database layer consists of an Amazon Aurora PostgreSQL Global Database with the primary cluster in us-east-1 (Account A) and a secondary cluster in us-west-2 (Account A). The application compute tier runs on Amazon ECS Fargate inside a VPC in us-east-1 (Account B) and a VPC in us-west-2 (Account B). A shared Route 53 Private Hosted Zone (PHZ) named service.internal is hosted in a third Shared Services account (Account C) to resolve internal API endpoints. The business requires a disaster recovery (DR) solution with a Recovery Time Objective (RTO) of under 10 minutes and a Recovery Point Objective (RPO) of under 1 minute. During a simulated complete failure of the us-east-1 region, the operations team performs a manual failover by promoting the Aurora secondary cluster in us-west-2 and updating Route 53 Application Recovery Controller (Route 53 ARC) routing controls. However, the ECS tasks in us-west-2 fail to connect to the database or resolve other internal service endpoints. Additionally, outbound payment API calls fail whenever Availability Zone us-west-2a experiences a localized outage, even though the application tasks are running in multiple Availability Zones. Which combination of actions will resolve these issues and satisfy the disaster recovery requirements?
An IoT company operates a real-time data ingestion pipeline on AWS. The pipeline uses an Auto Scaling group of Amazon EC2 instances to process incoming telemetry messages. The processed data is written to a shared Amazon EFS file system configured in Provisioned Throughput mode, while metadata is written to and queried from an Amazon Aurora MySQL database cluster.
During peak ingestion events, telemetry processing throughput degrades significantly. Performance monitoring shows that the EC2 instances spend a large percentage of CPU cycles in I/O wait states when writing to the shared file system. Additionally, read queries on the database cluster experience high latency due to replication lag on the read replicas.
Which architectural modifications should a Solutions Architect implement to resolve these performance bottlenecks? (Select TWO.)
Select all that apply
An enterprise manages its multi-account environment using AWS Organizations. Application servers running in several member accounts write transaction audit files to local Amazon S3 buckets. To comply with new data retention regulations, the company must aggregate these audit files into a centralized Amazon S3 bucket in a dedicated Security account. The files must be encrypted at rest using a customer managed key (CMK) that is rotated annually. The Security account must have sole ownership of all aggregated objects, and the solution must enforce minimum privilege and minimize operational overhead. Which combination of actions will meet these compliance requirements?
A healthcare software provider is reviewing its centralized logging architecture in AWS. Currently, AWS CloudTrail logs from multiple member accounts in an AWS Organization are consolidated into an Amazon S3 bucket located in a dedicated Security account. The S3 bucket is configured with default encryption using the AWS managed key aws/s3.
To meet new regulatory compliance requirements, the solutions architect must enhance data protection. The requirements specify:
1. All log data must be encrypted at rest using a customer-managed key with automatic annual rotation.
2. Spoke accounts must be able to write their CloudTrail logs to the destination S3 bucket.
3. Cross-account access to the KMS key and S3 bucket must be restricted to the minimum required permissions.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
Select all that apply
An enterprise is planning to migrate its legacy portfolio management suite to AWS. The suite contains the following workloads:
1. Web Portal: A Java 8 application running on Apache Tomcat on legacy SUSE Linux Enterprise Server 11. The operating system is unsupported, and the security team requires upgrading the OS to Amazon Linux 2023 during the migration. The application code must remain unchanged.
2. Risk Engine: A proprietary C++ binary compiled specifically for IBM AIX on IBM Power Systems. The source code is unavailable, and the vendor went out of business. The engine performs critical calculations and communicates with other components via TCP/IP.
3. Ledger Database: A self-managed 8 TB Oracle Database Enterprise Edition instance running on-premises, which relies heavily on advanced proprietary PL/SQL packages for compliance auditing. The enterprise wants to reduce operational and administrative database overhead but must maintain the existing auditing mechanisms. The maximum database cutover window is 1 hour.
Which combination of migration strategies represents the most appropriate path for these workloads according to the AWS 7 Rs framework?
A financial services company has a transaction auditing application hosted on Amazon EC2 instances across three Availability Zones in the us-east-1 Region. The instances are in private subnets and send audit logs to external regulatory endpoints via a single NAT Gateway located in the us-east-1a subnet. The application uses a multi-AZ Amazon RDS PostgreSQL database. The company is establishing a disaster recovery (DR) site in the us-west-2 Region with a target Recovery Time Objective (RTO) of 10 minutes and a Recovery Point Objective (RPO) of 1 minute.
During a recent local network impairment in us-east-1a, the auditing application lost outbound connectivity to the external regulatory endpoints across all Availability Zones. Additionally, during a DR simulation, automatic failover to the secondary region did not trigger when the primary region became degraded because the Route 53 DNS records lacked active health monitoring.
Which set of actions will resolve the outbound connectivity issue and ensure a reliable automated failover to the secondary region within the target RTO and RPO?
An enterprise uses AWS Organizations to manage its multi-account environment. The central IT security team must deploy and configure a third-party security agent on all Amazon EC2 instances, including hybrid managed instances, across multiple member accounts. The installation scripts and configuration files for the agent are stored in a centralized Amazon S3 bucket within a shared services account. The configuration must be enforced daily to remediate any manual modifications, and the configuration files must be encrypted at rest. Which combination of actions must a Solutions Architect take to implement this solution? (Select TWO.)
Select all that apply
A retail company manages its multi-account environment using AWS Organizations. The central DevOps account hosts a CI/CD pipeline using AWS CodePipeline to package applications and store the deployment artifacts in a central Amazon S3 bucket. The artifacts are encrypted using the default AWS-managed KMS key (aws/s3). An AWS CodeDeploy deployment group in a target production account retrieves these artifacts to update an Application Load Balancer-backed Auto Scaling group (ASG) of Amazon EC2 instances. Recently, deployments have been failing because target production accounts cannot decrypt and retrieve the deployment artifacts. Additionally, local engineers have manually modified target ASG configurations (such as desired capacity and launch templates), causing configuration drift from the source AWS CloudFormation templates. The company wants to automatically detect and remediate this drift while restoring the deployment pipeline functionality. Which combination of steps should a solutions architect implement to resolve the deployment failure and automate drift remediation?
A gaming company is running a multiplayer game platform on a fleet of Amazon EC2 instances across multiple AWS accounts within AWS Organizations. The game server application writes performance metrics and access logs to `/opt/gameserver/logs/server.log`, which is rotated and renamed to `/opt/gameserver/logs/server.log.timestamp` every hour. The company wants to centralize these application logs in Amazon CloudWatch Logs for real-time analysis. Additionally, they must store all CloudTrail logs from all member accounts in a single Amazon S3 bucket within a dedicated auditing account.
Which of the following actions should the Solutions Architect take to implement this monitoring and logging setup? (Select TWO.)
Select all that apply
A company is planning to migrate a legacy document processing application to AWS within a strict 6-month timeline. The application consists of three tiers:
1. A web tier running Apache HTTP Server on Red Hat Enterprise Linux 7 virtual machines.
2. A processing tier running a Java-based document parsing engine on IBM AIX servers. The engine utilizes a proprietary native C-shared library for file parsing and requires POSIX-compliant local filesystem access. The company cannot rewrite the core logic due to budget and time constraints.
3. A database tier running Oracle Database 19c on-premises, using proprietary Oracle Spatial features for document metadata geotagging. The company wants to eliminate commercial database licensing costs and is willing to convert the database schema and modify application SQL queries.
Which combination of migration strategies (7 Rs) represents the most appropriate and feasible migration path for this application?
A financial company is enhancing data protection and compliance by centralizing its application logs from multiple member accounts within an AWS Organization. The solution must store these logs in an Amazon S3 bucket within a centralized Security Audit account. The logs must be encrypted at rest using a KMS key, and member account administrators must be restricted from disabling or deleting the encryption keys. Which combination of actions should the solutions architect recommend to meet these requirements?
An enterprise has a critical microservices-based application running across two AWS accounts in an AWS Organization. The core architecture is as follows:
* An ingestion service runs in private subnets on Amazon ECS Fargate in VPC-A (`us-east-1`, Account 1).
* Outbound traffic from ECS tasks to external APIs passes through a single NAT Gateway located in the public subnet of Availability Zone `us-east-1a`.
* The service resolves internal domain names of dependency services in VPC-B (Account 2) using a Route 53 Private Hosted Zone (PHZ) created in Account 2.
* The state is persisted in an Amazon Aurora PostgreSQL Serverless v2 DB cluster in `us-east-1`.
The company needs to enhance the reliability and disaster recovery posture of the application to achieve a cross-region RTO of under 15 minutes and RPO of under 5 minutes to a standby region `us-west-2`. The solution must also eliminate single points of failure in the primary region's networking and ensure seamless DNS resolution of dependency services in VPC-B from the standby region.
Which combination of actions will meet these requirements? (Select TWO.)
Select all that apply
A company is modernizing a legacy web application by migrating its API to Amazon API Gateway and AWS Lambda. The application's backend database is an Amazon RDS for MySQL DB instance. During testing, peak traffic causes the Lambda functions to exhaust the database's available connection pool, leading to connection timeout errors. Additionally, the solutions architect must ensure that the database credentials are secure and that the application is resilient to traffic spikes. Which TWO configurations should the solutions architect implement to resolve the connection scaling issues and prevent database overload? (Select TWO.)
Select all that apply