Design Resilient Architectures

382 soru

Soru 61Soru

A solutions architect is configuring an Application Load Balancer (ALB) to distribute traffic to a fleet of Amazon EC2 instances managed by an Auto Scaling group (ASG). The transit tracking application running on the EC2 instances listens on TCP port 3000. The target group is configured to route traffic to port 3000. However, the health check port in the target group configuration is set to port 80. The ALB marks all EC2 instances as unhealthy, even though the application is responsive when accessed directly on port 3000 from within the VPC. Which action should the solutions architect take to resolve this issue and restore healthy status?

Cevabı ve açıklamayı göster

Cevap: Modify the target group's health check configuration to query the traffic port or explicitly set it to port 3000.

Cevap

Modify the target group's health check configuration to query the traffic port or explicitly set it to port 3000.
The correct answer is to modify the target group's health check configuration to query the traffic port or port 3000. When an Application Load Balancer target group is configured with a health check port that does not match the port where the application is listening (for example, port 80 instead of port 3000), the health check probes will fail, leading the load balancer to mark all targets as unhealthy even if the application itself is fully operational.

Adım Adım Çözüm

1
Identify the mismatch between the application listening port (port 3000) and the health check port (port 80) configured in the target group.
The ALB is attempting to perform health checks on port 80, which fails because the application is not listening on that port.
Understanding where the application is listening and how the health checks are configured is the first step in diagnosing ELB target health issues.
2
Update the target group health check settings to use the traffic port or port 3000.
The ALB successfully connects to the application on port 3000 during health checks.
Matching the health check port to the port where the service is active allows the ALB to accurately determine the health of the targets.

Anahtar Kavram

Target Group Health Checks and Port Configuration
Soru 62Soru

An international smart grid utility corporation hosts its core telemetry visualization application on AWS. The application tier runs on Amazon EC2 instances inside an Auto Scaling group behind an Application Load Balancer (ALB). The relational database tier is deployed as an Amazon RDS for MySQL DB instance. The company needs to design a cross-region disaster recovery (DR) solution that achieves a Recovery Time Objective (RTO) of 45 minutes and a Recovery Point Objective (RPO) of 15 minutes, while minimizing compute costs and operational overhead during normal operations. Which architecture should a solutions architect recommend to meet these requirements?

Cevabı ve açıklamayı göster

Cevap: Create a cross-region read replica of the RDS DB instance in the secondary Region. Deploy the Application Load Balancer and the Auto Scaling group in the secondary Region with the desired capacity set to 0. During failover, promote the read replica, scale up the Auto Scaling group, and update Route 53 DNS records.

Cevap

Create a cross-region read replica of the RDS DB instance in the secondary Region. Deploy the Application Load Balancer and the Auto Scaling group in the secondary Region with the desired capacity set to 0. During failover, promote the read replica, scale up the Auto Scaling group, and update Route 53 DNS records.
The correct strategy uses the Pilot Light pattern to achieve the recovery targets while keeping costs minimal. An Amazon RDS cross-region read replica satisfies the 15-minute RPO through asynchronous replication, which usually lags by only a few seconds. Deploying the application tier with an Auto Scaling group set to 0 capacity ensures that you only pay for storage and metadata rather than active compute instances during normal operations. During failover, the replica is promoted, the Auto Scaling group is scaled up to handle the load, and Amazon Route 53 points traffic to the new ALB, easily completing the process within the 45-minute RTO.

Adım Adım Çözüm

1
Analyze RTO and RPO limits against workload characteristics.
An RPO of 15 minutes mandates continuous database replication to the secondary Region. An RTO of 45 minutes permits compute resources to be scaled up dynamically during failover rather than running continuously.
This establishes that a Pilot Light strategy is the most cost-effective approach for satisfying the disaster recovery objectives.
2
Configure the database tier for cross-region replication.
Create an Amazon RDS for MySQL cross-region read replica in the destination Region.
Asynchronous replication to the replica keeps the data recovery point within seconds or minutes, safely meeting the 15-minute RPO requirement.
3
Configure the compute and network tiers in the secondary Region.
Deploy the Application Load Balancer and Auto Scaling group with the desired capacity set to 0.
This avoids incurring compute costs for running idle EC2 instances during normal operations, while ensuring that the infrastructure is ready to scale up immediately during a disaster.
4
Execute the disaster recovery failover workflow.
Promote the read replica to a standalone primary database, scale up the Auto Scaling group instances, and update Route 53 records to route traffic to the secondary ALB.
These steps can be fully automated or executed manually within 10 to 15 minutes, well within the 45-minute RTO.

Anahtar Kavram

Disaster recovery strategies differ by Recovery Time Objective (RTO), Recovery Point Objective (RPO), and cost. A Pilot Light strategy keeps critical data replicated while keeping compute resources off or scaled to zero, minimizing cost while enabling recovery within minutes.
Soru 63Soru

A credit scoring company hosts its core risk evaluation platform on AWS. The application runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer in the us-east-1 Region. The database tier uses an Amazon Aurora PostgreSQL DB cluster. The company needs to design a disaster recovery (DR) plan in the us-west-2 Region to handle a full region outage. The DR solution must achieve a Recovery Point Objective (RPO) of 5 minutes and a Recovery Time Objective (RTO) of 30 minutes while minimizing ongoing running costs.

Which solution meets these requirements with the lowest cost?

Cevabı ve açıklamayı göster

Cevap: Create an Amazon Aurora Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2 containing zero DB instances. Copy the application AMIs to us-west-2. Deploy an AWS CloudFormation template that provisions the Application Load Balancer and the Auto Scaling group in us-west-2, and add a DB instance to the secondary Aurora cluster during a failover event.

Cevap

Create an Amazon Aurora Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2 containing zero DB instances. Copy the application AMIs to us-west-2. Deploy an AWS CloudFormation template that provisions the Application Load Balancer and the Auto Scaling group in us-west-2, and add a DB instance to the secondary Aurora cluster during a failover event.
The correct option implements a Pilot Light strategy using Amazon Aurora Global Database. Aurora Global Database replicates storage updates with typical replication lag of less than one second, satisfying the 5-minute RPO. By configuring the secondary cluster in the recovery region with zero DB instances, the compute cost is zero during normal operations. The 30-minute RTO provides ample time to add a DB instance to the secondary cluster and deploy the load balancer and Auto Scaling group via AWS CloudFormation templates.

Adım Adım Çözüm

1
Analyze RPO requirements and select replication technology.
Amazon Aurora Global Database provides physical, storage-level replication with lag under 1 second, meeting the 5-minute RPO.
Standard daily backups or manual cross-region copies could violate the low RPO under peak write workloads.
2
Analyze RTO requirements and determine the pilot light compute state.
An RTO of 30 minutes allows sufficient time to provision compute resources dynamically rather than keeping them active.
Starting an Aurora DB instance in a headless secondary cluster and deploying EC2 instances via CloudFormation takes approximately 10 to 15 minutes, well within the 30-minute limit.
3
Evaluate costs of different active states in the secondary region.
Maintaining a secondary cluster with zero DB instances and using on-demand infrastructure provisioning via templates minimizes compute costs.
Warm Standby solutions require running continuous standby compute resources, which increases ongoing operational costs unnecessarily.

Anahtar Kavram

Pilot Light Disaster Recovery with Aurora Global Database
Soru 64Soru

A company hosts an internal dashboard on Amazon EC2 instances managed by an Auto Scaling group (ASG). The dashboard application runs on custom port 8090. The ASG is registered with a target group behind an Application Load Balancer (ALB). The EC2 instances' security group is configured to allow inbound traffic from the ALB's security group on port 8090. However, the ALB marks all instances as unhealthy and returns a 502 Bad Gateway error to users. Local verification shows that the application is running and responding normally on port 8090 on each instance.

Which of the following actions should a solutions architect take to resolve this issue?

Cevabı ve açıklamayı göster

Cevap: Configure the target group's health check port to use port 8090 instead of the default port 80.

Cevap

Configure the target group's health check port to use port 8090 instead of the default port 80.
The correct action is to configure the target group's health check port to use port 8090 instead of the default port 80. The Application Load Balancer marks the EC2 instances as unhealthy because the health check configuration is querying the default port 80, whereas the application is only listening and responding on the custom port 8090. Updating the health check port ensures the load balancer checks the correct application endpoint.

Adım Adım Çözüm

1
Diagnose the source of the 502 Bad Gateway error and unhealthy targets.
The Application Load Balancer (ALB) reports the targets as unhealthy because its health checks are failing. Since the application runs on custom port 8090 but local tests show it is healthy, the ALB is likely querying the wrong port.
By default, target group health checks query the default HTTP port (port 80) unless overridden or configured to use the traffic port.
2
Evaluate the target group configuration parameters.
Configuring the health check port to explicitly use port 8090 (or the traffic port) directs the ALB to query the correct port on which the service is listening.
This aligns the health check destination with the actual application port, allowing the health check requests to succeed.
3
Assess security and routing rules to rule out incorrect configurations.
Security groups are stateful, so outbound rules for return traffic are unnecessary. Network ACLs do not support security group references. Latency-based routing does not fix target group health failures.
Ensures the solution adheres to core AWS networking principles without introducing security group or network ACL misconfigurations.

Anahtar Kavram

ELB Health Check Port Configuration and Security Group Statefulness
Soru 65Soru

An e-learning enterprise hosts its online classroom application in the us-east-1 Region. The architecture consists of Amazon EC2 instances in an Auto Scaling group and an Amazon RDS for PostgreSQL DB instance. The company needs to implement a cost-effective cross-Region disaster recovery (DR) solution in the us-west-2 Region. The DR solution must achieve a Recovery Point Objective (RPO) of 5 minutes and a Recovery Time Objective (RTO) of 15 minutes. Which combination of actions should a solutions architect recommend to meet these requirements? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Configure an Amazon RDS cross-Region read replica in the secondary Region, and promote the read replica to a primary DB instance during failover.; Deploy a scaled-down, active Auto Scaling group of EC2 instances behind an Application Load Balancer in the secondary Region.

Cevap

Configure an Amazon RDS cross-Region read replica in the secondary Region and promote it during failover, combined with deploying a scaled-down, active Auto Scaling group of EC2 instances behind an Application Load Balancer in the secondary Region.
To meet the RPO of 5 minutes, database replication must be continuous. An Amazon RDS cross-Region read replica uses asynchronous replication to keep data synchronized with very low replication lag (usually seconds). Promoting this replica to a primary database instance takes a few minutes, which fits within the 15-minute RTO. To meet the RTO of 15 minutes for the compute tier, a Warm Standby environment is required. Deploying a scaled-down but active Auto Scaling group of EC2 instances behind an Application Load Balancer ensures that resources are already online and ready to quickly scale up to meet production demands without the boot latency associated with starting stopped instances.

Adım Adım Çözüm

1
Analyze the RTO and RPO requirements.
The target RPO is 5 minutes and the RTO is 15 minutes, requiring a dynamic replication mechanism and an active or near-active computing environment.
Establishing these targets helps eliminate strategies with high recovery time (such as backup and restore from S3 Glacier) or high data loss.
2
Select the database replication strategy.
Identify that an Amazon RDS cross-Region read replica provides continuous asynchronous replication, keeping the data lag under 5 minutes (RPO), and can be promoted to primary within minutes (RTO).
RDS cross-Region read replicas are the standard way to replicate RDS PostgreSQL databases across Regions asynchronously.
3
Select the application compute strategy.
Determine that a Warm Standby strategy (deploying a scaled-down, active Auto Scaling group behind an ALB in the secondary Region) satisfies the 15-minute RTO because compute instances are already running and can be scaled up immediately.
A Pilot Light strategy with stopped instances would introduce startup delays that could risk breaching the strict 15-minute RTO under load.

Anahtar Kavram

Disaster Recovery strategies (Warm Standby vs. Pilot Light) and cross-Region database replication (RDS Read Replicas vs. Multi-AZ).
Tahmini Süre:2m 0s
Soru 66Soru

A SaaS company provides a travel booking platform hosted in the us-east-1 Region. The architecture consists of Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer, and an Amazon RDS for PostgreSQL DB instance. The company wants to establish a disaster recovery (DR) site in the us-west-2 Region using a Warm Standby pattern. The DR solution must achieve a Recovery Time Objective (RTO) of 1515 minutes and a Recovery Point Objective (RPO) of 55 minutes, while minimizing ongoing costs.

Which TWO actions should a solutions architect take to meet these requirements? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Deploy a scaled-down Auto Scaling group of EC2 instances and an Application Load Balancer in the secondary Region, and configure the Auto Scaling group to scale up in response to traffic during failover.; Create an Amazon RDS Cross-Region Read Replica in the secondary Region, and write a script to promote the replica to a primary DB instance in a disaster recovery event.

Cevap

The correct configurations are deploying a scaled-down Auto Scaling group of EC2 instances and an Application Load Balancer in the secondary Region (scaling up during failover) and creating an Amazon RDS Cross-Region Read Replica in the secondary Region (promoting it during failover).
To satisfy a 1515-minute RTO and 55-minute RPO under a Warm Standby pattern at a minimal cost, the solutions architect must maintain a running but scaled-down compute tier and configure active database replication. Deploying a scaled-down Auto Scaling group in the secondary Region ensures compute instances are already running and can immediately scale up to handle full traffic when a failover occurs, meeting the RTO. Creating an Amazon RDS Cross-Region Read Replica provides continuous, asynchronous replication to the secondary Region with a lag typically under a few minutes, meeting the RPO. In a failover scenario, this replica is promoted to a standalone primary database to accept write operations.

Adım Adım Çözüm

1
Select a database replication technology that meets the RPO constraint.
An Amazon RDS Cross-Region Read Replica provides asynchronous replication to the secondary Region with very low replication lag, satisfying the 55-minute RPO.
Standard backups or snapshots cannot reliably meet a 55-minute RPO without significant cost, while synchronous Multi-AZ does not cross Regions.
2
Select a compute standby strategy that meets the RTO constraint at a minimal cost.
Deploying a scaled-down Auto Scaling group of EC2 instances in the secondary Region ensures compute instances are already running and can scale up quickly, satisfying the 1515-minute RTO.
A Pilot Light strategy (zero instances running) may take too long to bootstrap and pass health checks, failing the 1515-minute RTO. An active-active setup is too costly.
3
Establish failover automation for database promotion.
Create a script to promote the read replica to a primary standalone DB instance during failover.
Promotion changes the replica to a primary instance capable of accepting write operations in the recovery Region.

Anahtar Kavram

Disaster recovery strategies differ by Recovery Time Objective (RTO), Recovery Point Objective (RPO), and cost. A Warm Standby deployment maintains scaled-down but running compute resources in the recovery Region along with active database replication (such as a Cross-Region Read Replica) to support rapid recovery while minimizing idle resource costs.
Tahmini Süre:2m 0s
Soru 67Soru

A solutions architect is designing the database tier for a critical web application. The application will use an Amazon RDS for PostgreSQL DB instance and requires high availability with automatic failover within a single AWS Region.

Which two options should the solutions architect implement to meet these requirements? (Select two.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Deploy the RDS DB instance in a Multi-AZ configuration to enable synchronous replication to a standby instance in a different Availability Zone.; Configure the application to connect using the primary DB instance DNS endpoint, which AWS automatically updates to point to the standby instance during failover.

Cevap

Deploy the RDS DB instance in a Multi-AZ configuration to enable synchronous replication, and configure the application to connect using the primary DB instance DNS endpoint.
The correct options are deploying the RDS DB instance in a Multi-AZ configuration and configuring the application to connect using the primary DB instance DNS endpoint. Multi-AZ configurations provide synchronous replication and automatic failover to a standby instance in another Availability Zone. During failover, AWS automatically updates the DNS record of the DB instance endpoint, allowing the application to connect to the new primary instance without code or configuration changes.

Adım Adım Çözüm

1
Identify the high availability (HA) and automatic failover requirements for Amazon RDS.
Amazon RDS Multi-AZ deployments satisfy this by creating a synchronous standby replica in another Availability Zone.
Multi-AZ provides automatic failover, synchronous data replication, and high availability within a single AWS Region.
2
Determine how the application should handle connection redirection during a database failover.
Use the standard RDS DB instance DNS endpoint, which AWS automatically updates to point to the newly promoted primary standby.
This avoids having to modify the application's connection string when a failover occurs, keeping failover seamless.

Anahtar Kavram

Amazon RDS Multi-AZ High Availability and Failover Mechanics
Soru 68Soru

A genetics research laboratory runs a high-performance gene sequencing application on Amazon EC2 instances across multiple Availability Zones in a primary AWS Region. The application requires shared, concurrent access to a common file system that can store petabytes of genomic data with consistent sub-millisecond latencies. The laboratory needs to establish a disaster recovery (DR) architecture in a secondary AWS Region. The DR plan requires a Recovery Point Objective (RPO) of 15 minutes and a Recovery Time Objective (RTO) of less than 15 minutes for the shared storage layer. Which storage architecture should a solutions architect design to meet these requirements with the lowest operational overhead?

Cevabı ve açıklamayı göster

Cevap: Deploy Amazon Elastic File System (Amazon EFS) in the primary Region using the Regional storage class. Enable EFS Replication to automatically replicate data to the secondary AWS Region. In the event of a disaster, mount the replicated EFS file system on EC2 instances in the secondary Region.

Cevap

Deploy Amazon Elastic File System (Amazon EFS) in the primary Region using the Regional storage class and enable native EFS Replication to the secondary Region.
The correct option is the one proposing Amazon Elastic File System (Amazon EFS) with EFS Replication. EFS provides shared, concurrent access suitable for high-performance applications, and native cross-Region replication replicates changes to a destination file system within minutes, satisfying both the 15-minute RPO and the sub-15-minute RTO requirements with minimal operational overhead.

Adım Adım Çözüm

1
Identify the storage access patterns and performance requirements.
The application requires shared, concurrent access to a common file system with sub-millisecond latencies, pointing to Amazon EFS rather than S3 (object storage) or EBS (block storage attached to single instances).
Choosing the correct storage service is the first step in designing a resilient architecture.
2
Evaluate the RPO and RTO constraints.
The RPO is 15 minutes and the RTO is less than 15 minutes. This requires continuous replication rather than daily batch backups.
Low recovery objectives rule out backup-and-restore or cold-tier options like standard S3 Glacier.
3
Select the replication and failover mechanism.
Native EFS Replication automatically and continuously replicates data to another AWS Region. The destination file system is active and mountable immediately, yielding an RTO of minutes and an RPO of minutes.
EFS Replication provides a fully managed, low-operational-overhead disaster recovery solution.

Anahtar Kavram

Amazon EFS Replication provides native cross-Region replication for shared file systems, offering low RPO (minutes) and RTO (minutes) for disaster recovery without operational complexity.
Soru 69Soru

A financial firm needs to back up its daily transaction logs to AWS. The backups must be stored in a highly durable manner across multiple Availability Zones, and they must be immediately accessible for the first 30 days. For compliance, these backups must be replicated to a secondary AWS Region. After 30 days, the backups are rarely accessed but must be retained for 7 years. Which TWO actions should a solutions architect combine to meet these requirements?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Store the daily backups in an Amazon S3 bucket, and configure Amazon S3 Cross-Region Replication (CRR) to copy them to a bucket in a secondary AWS Region.; Configure an Amazon S3 Lifecycle policy to transition the backup objects in both buckets to Amazon S3 Glacier Flexible Retrieval after 30 days.

Cevap

Storing the daily backups in an Amazon S3 bucket with Cross-Region Replication (CRR) enabled, and configuring an S3 Lifecycle policy to transition the backup objects to Amazon S3 Glacier Flexible Retrieval after 30 days.
Storing the daily backups in Amazon S3 ensures the data is replicated across multiple Availability Zones, providing high resilience and immediate retrieval. Cross-Region Replication (CRR) automates the replication of these backups to a secondary AWS Region for disaster recovery and compliance. Finally, an Amazon S3 Lifecycle policy configured to transition the backups to Amazon S3 Glacier Flexible Retrieval after 30 days minimizes long-term storage costs while complying with the 7-year retention period, as the data is rarely accessed after the initial month.

Adım Adım Çözüm

1
Store the data in Amazon S3 Standard to ensure high availability and durability across multiple Availability Zones, meeting the requirement of immediate accessibility for the first 30 days.
The backups are durable and immediately accessible.
S3 Standard provides low-latency, high-throughput access to objects with automatic replication across multiple AZs.
2
Configure Amazon S3 Cross-Region Replication (CRR) to copy new objects automatically to a destination bucket in a secondary AWS Region.
A copy of the backups is safely stored in a secondary AWS Region for compliance.
S3 CRR is the standard method for replicating S3 objects across different AWS Regions automatically.
3
Apply an Amazon S3 Lifecycle policy to transition objects from S3 Standard to S3 Glacier Flexible Retrieval after 30 days.
Data older than 30 days is moved to lower-cost archive storage, meeting the 7-year retention requirement cost-effectively.
S3 Glacier Flexible Retrieval is ideal for archiving data that is rarely accessed and can tolerate retrieval times of minutes to hours.

Anahtar Kavram

Leveraging Amazon S3 features such as Cross-Region Replication (CRR) and Lifecycle policies to build resilient, highly available, and cost-effective storage architectures.
Soru 70Soru

A company is launching a new corporate training platform. The application uses an Amazon RDS for MariaDB DB instance to store employee progress data. The platform requires high availability with automatic failover to handle Availability Zone outages without manual intervention. Which two configurations or solutions should a solutions architect implement to meet these requirements? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Modify the DB instance to use a Multi-AZ deployment configuration.; Configure the application to connect to the database using the database instance DNS endpoint.

Cevap

To achieve high availability with automatic failover, the solutions architect should modify the database to use a Multi-AZ deployment and configure the application to connect using the database instance DNS endpoint.
Enabling a Multi-AZ deployment ensures Amazon RDS maintains a synchronous standby replica in a different Availability Zone. During an outage, RDS automatically performs a failover. Using the DNS endpoint in the application configuration is critical because AWS updates this endpoint's DNS record during failover to point to the standby replica, allowing the application to reconnect automatically.

Adım Adım Çözüm

1
Enable Multi-AZ deployment for the database instance.
Amazon RDS creates a synchronous standby replica in a different Availability Zone.
This provides physical redundancy across Availability Zones and enables automatic failover capabilities.
2
Point the application's connection string to the RDS DNS endpoint.
The application connects using a domain name rather than a hardcoded IP address.
During failover, AWS automatically updates the DNS CNAME record of the endpoint to resolve to the new primary database instance.

Anahtar Kavram

Amazon RDS Multi-AZ deployments provide high availability and automatic failover by maintaining a synchronous standby replica in a different Availability Zone and updating the DNS endpoint during failover.
Tahmini Süre:1m 0s
Soru 71Soru

A logistics company runs a global supply chain portal that uses a PostgreSQL-compatible relational database. The application is deployed in a primary AWS Region (us-east-1) and a secondary AWS Region (us-west-2). The database tier must support a Recovery Point Objective (RPO) of under 11 second and a Recovery Time Objective (RTO) of under 22 minutes for disaster recovery. The secondary region must also serve local read traffic with low latency. Which database configuration meets these requirements with the least operational overhead?

Cevabı ve açıklamayı göster

Cevap: Deploy an Amazon Aurora Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2. In the event of a regional outage, promote the secondary cluster to primary.

Cevap

Deploy an Amazon Aurora Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2. In the event of a regional outage, promote the secondary cluster to primary.
Amazon Aurora Global Database is designed for globally distributed applications. It uses fast, storage-based replication that keeps lag under 11 second (meeting the RPO of under 11 second). During a regional disaster, the secondary cluster can be promoted to a primary read-write cluster in under 22 minutes (meeting the RTO of under 22 minutes). Local read replicas in the secondary cluster can serve local read traffic with minimal latency, fulfilling the read scaling constraint with minimal operational overhead.

Adım Adım Çözüm

1
Analyze the requirements for database engine compatibility, cross-region capability, RTO, RPO, and read scaling.
Identify that the database must be PostgreSQL-compatible, support cross-region read scaling, and have an RPO under 11 second and RTO under 22 minutes.
This establishes the boundaries for evaluating AWS database replication mechanisms.
2
Evaluate Amazon Aurora Global Database performance metrics against the RTO and RPO targets.
Aurora Global Database features typical RPO of less than 11 second and can be promoted to a primary cluster in less than 22 minutes.
This meets both the recovery criteria and local read requirements in the secondary region.
3
Examine alternative database replication solutions such as RDS Multi-AZ with cross-region read replicas or DMS Pilot Light setups.
Determine that RDS read replicas do not support direct write failovers without manual intervention, and Pilot Light configurations fail the RTO target.
This rules out the distractors as they cannot satisfy the combination of recovery speed and replication capability.

Anahtar Kavram

Amazon Aurora Global Database provides cross-region replication with sub-second RPO and fast promotion for under 2-minute RTO, while supporting local reads.
Tahmini Süre:2m 0s
Soru 72Soru

A global logistics platform is migrating its critical shipment tracking database to Amazon Aurora PostgreSQL. The database must be highly available within the local region, achieving a Recovery Time Objective (RTO) of less than 3030 seconds for failovers. Additionally, the system must handle a heavy volume of read requests without degrading the performance of write transactions. Which combination of configurations should a solutions architect implement to meet these requirements? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Deploy an Amazon Aurora DB cluster across multiple Availability Zones with a primary writer instance and at least one reader instance.; Configure the application to use the Aurora cluster writer endpoint for write operations and the reader endpoint for read operations.

Cevap

Deploy an Amazon Aurora DB cluster across multiple Availability Zones with a primary writer instance and at least one reader instance, and configure the application to use the Aurora cluster writer endpoint for write operations and the reader endpoint for read operations.
Deploying an Amazon Aurora DB cluster across multiple Availability Zones with a reader instance ensures automatic, rapid failover (typically under 3030 seconds) when the primary writer fails. By utilizing the cluster's dedicated writer and reader endpoints, the application can cleanly separate write transactions from heavy read volumes, ensuring read scaling does not degrade write performance.

Adım Adım Çözüm

1
Select a database configuration that supports automatic regional failover under 3030 seconds.
Amazon Aurora Multi-AZ deployment with at least one Aurora Replica (reader) is chosen. In the event of a writer failure, Aurora promotes the reader to primary writer within 3030 seconds.
Meets the high availability and strict RTO requirements.
2
Address the read scaling requirement without impacting write performance.
Configure application connection endpoints to direct read traffic to the Aurora reader endpoint and write traffic to the writer endpoint.
This offloads read operations from the writer instance, preserving write transaction throughput.

Anahtar Kavram

Amazon Aurora Multi-AZ failover mechanics and endpoint routing for read/write scaling.
Soru 73Soru

A financial auditing enterprise hosts its document archiving application on AWS. The primary storage consists of an Amazon S3 bucket located in us-east-1 containing compliance records. The company must establish a disaster recovery (DR) site in us-west-2 that guarantees a Recovery Point Objective (RPO) of 1515 minutes and a Recovery Time Objective (RTO) of 1515 minutes. The data must be stored with a durability of 99.999999999%99.999999999\%. Which storage architecture meets these requirements?

Cevabı ve açıklamayı göster

Cevap: Configure Amazon S3 Cross-Region Replication (CRR) to a destination S3 bucket in us-west-2 with S3 Replication Time Control (S3 RTC) enabled, and run the application in an active-passive configuration.

Cevap

Configure Amazon S3 Cross-Region Replication (CRR) to a destination S3 bucket in us-west-2 with S3 Replication Time Control (S3 RTC) enabled, and run the application in an active-passive configuration.
The correct solution uses Amazon S3 Cross-Region Replication (CRR) with S3 Replication Time Control (S3 RTC). S3 RTC guarantees that 99.9%99.9\% of uploaded objects are replicated to the destination region within 1515 minutes, directly fulfilling the 1515-minute RPO. Because the files are replicated to standard S3 storage, they are immediately accessible during a failover event, easily satisfying the 1515-minute RTO. Amazon S3 Standard also natively provides 99.999999999%99.999999999\% data durability.

Adım Adım Çözüm

1
Analyze the durability and recovery metrics required by the business scenario.
The platform needs 99.999999999%99.999999999\% (11 nines) durability, an RPO of 1515 minutes, and an RTO of 1515 minutes.
These constraints narrow the storage target to Amazon S3 Standard (for durability) and require a replication mechanism that completes within 1515 minutes with immediate data availability.
2
Evaluate the replication options for Amazon S3 across regions.
Standard Amazon S3 Cross-Region Replication (CRR) does not provide a replication time guarantee, but enabling S3 Replication Time Control (S3 RTC) guarantees replication of 99.9%99.9\% of objects within 1515 minutes.
To satisfy a strict 1515-minute RPO, a replication time SLA like S3 RTC is required to ensure files are copied to the secondary region within the threshold.
3
Evaluate the accessibility of replicated storage classes in the secondary region.
Objects replicated to S3 Standard in the destination bucket are immediately readable. In contrast, S3 Glacier classes require a retrieval process.
The RTO is 1515 minutes, meaning data must be ready for immediate read operations. Glacier Standard retrieval takes 33 to 55 hours, which violates the RTO.

Anahtar Kavram

High availability and disaster recovery for object storage using Amazon S3 Cross-Region Replication (CRR) and S3 Replication Time Control (S3 RTC) to meet tight RPO/RTO SLAs.
Tahmini Süre:2m 0s
Soru 74Soru

A logistics company is designing the database tier for a real-time package tracking system. The database must be compatible with MySQL, support automatic failover within the primary AWS Region with a Recovery Time Objective (RTO) of less than 30 seconds and a Recovery Point Objective (RPO) of 0, and provide a cross-Region disaster recovery (DR) solution with an RTO of under 15 minutes and an RPO of under 5 seconds. Which combination of AWS database configurations will meet these requirements? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Deploy the primary database as an Amazon Aurora MySQL DB cluster with a writer instance in one Availability Zone and a reader instance in another Availability Zone.; Configure an Amazon Aurora Global Database by adding a secondary Aurora DB cluster in the recovery Region, utilizing storage-level replication.

Cevap

Deploying the primary database as an Amazon Aurora MySQL DB cluster with a writer and a reader instance in different Availability Zones, and configuring an Amazon Aurora Global Database by adding a secondary cluster in the recovery Region.
The correct combination consists of deploying the primary database as an Amazon Aurora MySQL DB cluster with a reader instance in a different Availability Zone (providing local Multi-AZ high availability with RTO < 30 seconds and RPO = 0 via shared storage replication) and configuring an Amazon Aurora Global Database with a secondary cluster in the recovery Region (meeting the RTO of under 15 minutes and RPO of under 5 seconds through low-latency storage-level replication).

Adım Adım Çözüm

1
Evaluate the database compatibility and local resilience requirements.
The requirement for MySQL compatibility, local RTO < 30 seconds, and local RPO = 0 points to Amazon Aurora MySQL. Deploying an Aurora cluster with a writer in one Availability Zone and a reader in a different Availability Zone enables automatic failover in under 30 seconds with 0 data loss (RPO = 0) because the underlying storage volume is replicated across three Availability Zones.
Traditional RDS read replicas or single-instance databases do not support automatic failover or fail to meet the 30-second RTO.
2
Evaluate the disaster recovery requirements for the secondary Region.
The requirements of RTO < 15 minutes and RPO < 5 seconds are met by Amazon Aurora Global Databases. Aurora Global Databases use storage-based replication to copy data to a secondary Region with a latency of less than 1 second (meeting the RPO of under 5 seconds). If a failover is needed, the secondary cluster can be promoted to a standalone read/write cluster in under a minute (meeting the RTO of under 15 minutes).
Backup-based strategies (like Pilot Light with hourly copies) fail the 5-second RPO, and standard RDS replica failover across Regions is not automated.

Anahtar Kavram

Amazon Aurora Multi-AZ deployment and Aurora Global Databases for high availability and low-RPO/RTO cross-Region disaster recovery.
Tahmini Süre:2m 30s
Soru 75Soru

An enterprise is migrating a critical, write-heavy core banking application to AWS. The database architecture must satisfy the following resiliency requirements:
- Within the primary AWS region, the database must achieve high availability with zero data loss (Recovery Point Objective, RPO=0\text{RPO} = 0) and automated failover in less than 30 seconds.
- Across a secondary AWS region, the disaster recovery solution must support active read scaling during normal operations, maintain a cross-region replication lag under 2 seconds (RPO<2\text{RPO} < 2 seconds), and allow failover to the secondary region in less than 5 minutes (RTO<5\text{RTO} < 5 minutes).

Which database configuration meets these requirements with the lowest operational overhead?

Cevabı ve açıklamayı göster

Cevap: Amazon Aurora PostgreSQL-Compatible Edition with an Aurora Global Database. Deploy the primary cluster in the main region and a secondary cluster in the recovery region, routing read traffic in the secondary region to the local reader instances.

Cevap

Amazon Aurora PostgreSQL-Compatible Edition with an Aurora Global Database. Deploy the primary cluster in the main region and a secondary cluster in the recovery region, routing read traffic in the secondary region to the local reader instances.
The correct option implements Amazon Aurora Global Database, which matches all constraints. For local high availability, Aurora replicates data synchronously across three AZs, ensuring RPO=0\text{RPO} = 0 and automated failover in less than 30 seconds. For multi-region resilience, storage-based physical replication keeps lag below 2 seconds (typically under 1 second), and secondary clusters can serve active read traffic and be promoted to primary in less than a minute.

Adım Adım Çözüm

1
Analyze single-region high availability requirements.
The solution requires RPO=0\text{RPO} = 0 (zero data loss) and automated failover in less than 30 seconds within the primary region. Aurora replicates data across three AZs with shared storage, achieving synchronous-like durabilities and automatic failover within 30 seconds, meeting the local HA requirements.
Ensures the database survives an Availability Zone outage without data loss and with minimal recovery time.
2
Analyze cross-region disaster recovery and read-scaling requirements.
The secondary region needs read scaling, RPO<2\text{RPO} < 2 seconds, and RTO<5\text{RTO} < 5 minutes. Aurora Global Databases use storage-based replication with a typical lag of less than 1 second, allow reader instances in the secondary region to serve local read traffic, and can be promoted to primary within 1 minute.
Guarantees that regional disaster recovery requirements are met while optimizing read performance for secondary region users.
3
Evaluate the operational overhead and suitability of alternative services.
RDS PostgreSQL Multi-AZ with cross-region read replicas requires manual intervention or complex automation for cross-region failover and does not support storage-level global replication. Restoring from daily snapshots (pilot light) violates the 2-second RPO requirement.
Selects the option that minimizes custom automation and meets all RPO/RTO constraints natively.

Anahtar Kavram

Amazon Aurora Global Databases and Multi-AZ replication
Soru 76Soru

A financial technology company operates an online transaction processing (OLTP) application using Amazon RDS for PostgreSQL. The primary database runs in us-east-1 with a Multi-AZ deployment. To comply with disaster recovery regulations, the company requires a secondary database copy in us-west-2. The solution must achieve a Recovery Point Objective (RPO) of less than 5 minutes and a Recovery Time Objective (RTO) of less than 15 minutes in the event of a total failure of the us-east-1 region. Which strategy should a solutions architect implement to meet these disaster recovery requirements?

Cevabı ve açıklamayı göster

Cevap: Create a cross-region read replica of the primary database in us-west-2. In the event of a region-wide outage in us-east-1, promote the read replica in us-west-2 to a standalone DB instance, and update the application configuration to point to the new database endpoint.

Cevap

Create a cross-region read replica of the primary database in us-west-2. In the event of a region-wide outage in us-east-1, promote the read replica in us-west-2 to a standalone DB instance, and update the application configuration to point to the new database endpoint.
Creating a cross-region read replica in us-west-2 provides asynchronous replication that keeps the replication lag under a few seconds, meeting the 5-minute Recovery Point Objective (RPO). In the event of a region-wide outage, manually promoting the read replica to a standalone database instance takes under 10 minutes, satisfying the 15-minute Recovery Time Objective (RTO). Once promoted, pointing the application configuration to the new endpoint restores write traffic.

Adım Adım Çözüm

1
Deploy a cross-region read replica of the primary Amazon RDS for PostgreSQL instance in us-west-2 to establish asynchronous replication.
Database updates are continuously replicated to us-west-2 with low replication lag, satisfying the 5-minute RPO requirement.
This sets up the target database in the secondary region to act as the recovery destination.
2
During a region-wide failure in us-east-1, initiate the promotion of the us-west-2 read replica to a standalone DB instance.
The replica is disconnected from replication and becomes a primary read-write database instance, taking approximately 5 to 10 minutes.
Promotion is necessary because read replicas cannot accept write operations, and the promotion process is within the 15-minute RTO.
3
Update the application's database connection strings or DNS records to route active client traffic to the newly promoted DB endpoint in us-west-2.
Client application traffic is successfully redirected to the new write-capable database instance in the secondary region.
This completes the disaster recovery failover path and restores full write functionality.

Anahtar Kavram

Cross-Region Disaster Recovery with Amazon RDS Read Replicas
Soru 77Soru

A company is running a web application on Amazon EC2 instances deployed across multiple Availability Zones in a single AWS Region. The application requires a shared file system that allows concurrent read and write access from all EC2 instances, while maintaining high availability and durability across the entire region. Which storage service should a Solutions Architect recommend?

Cevabı ve açıklamayı göster

Cevap: Amazon Elastic File System (Amazon EFS)

Cevap

Amazon Elastic File System (Amazon EFS)
The correct answer is Amazon Elastic File System (Amazon EFS) because it is a managed shared file system that natively replicates data across multiple Availability Zones within an AWS Region. It supports the Network File System (NFSv4) protocol, allowing hundreds of EC2 instances in different Availability Zones to concurrently read and write to the same storage system, thereby meeting the high availability and resilience requirements.

Adım Adım Çözüm

1
Analyze the application requirements.
The application requires a shared file storage solution that supports concurrent read/write operations from EC2 instances across multiple Availability Zones.
This rules out single-AZ block storage systems like standard EBS, as well as database-specific solutions or archival solutions.
2
Evaluate the capabilities of Amazon EFS.
Amazon EFS provides a serverless, shared file system that is natively designed to span multiple Availability Zones within a region and allows concurrent connections.
This aligns perfectly with the high availability and cross-AZ concurrent access requirements.

Anahtar Kavram

Shared file storage spanning multiple Availability Zones
Soru 78Soru

A financial company hosts an auditing application on AWS. The application stores large transaction logs that must be retained for compliance. In the event of a regional outage, the company needs to recover the application in a secondary AWS Region. The recovery solution must achieve a Recovery Time Objective (RTO) of 2020 minutes and a Recovery Point Objective (RPO) of 11 hour.

Which storage and disaster recovery configuration meets these requirements?

Cevabı ve açıklamayı göster

Cevap: Store the transaction logs in an Amazon S3 bucket in the primary Region. Configure S3 Cross-Region Replication (CRR) to replicate the logs to an S3 Standard bucket in the secondary Region, and deploy a Warm Standby environment in the secondary Region.

Cevap

Store the transaction logs in Amazon S3 and replicate them using Cross-Region Replication to a secondary Region with S3 Standard, and deploy a Warm Standby environment in the secondary Region.
The correct answer combines Amazon S3 Cross-Region Replication (CRR) and a Warm Standby DR pattern. S3 CRR replicates transaction logs to a secondary Region within minutes, satisfying the 1-hour RPO. A Warm Standby deployment maintains scaled-down but active compute resources in the secondary Region, allowing the system to be scaled up and serve traffic within 20 minutes, thus satisfying the 1-hour RPO and 20-minute RTO requirements.

Adım Adım Çözüm

1
Analyze RPO requirements
An RPO of 1 hour requires the storage layer to replicate data to the secondary Region in less than 1 hour.
Amazon S3 Cross-Region Replication (CRR) replicates objects within minutes, meeting the 1-hour RPO.
2
Analyze RTO requirements
An RTO of 20 minutes requires application infrastructure to be ready to handle traffic rapidly, which cannot be met by deploying resources from scratch or restoring backups dynamically.
A Warm Standby disaster recovery strategy provides a scaled-down but active copy of the infrastructure, allowing failover to complete well within the 20-minute limit.
3
Evaluate the database replication strategy
RDS Read Replicas do not support automatic cross-region failover, meaning manual promotion is required, which may not reliably fit the recovery process without pre-warmed infrastructure.
Correct database failover must be handled as part of the overall application recovery strategy, using multi-region replica promotion or manual orchestration within the Warm Standby framework.

Anahtar Kavram

Designing multi-region disaster recovery using S3 Cross-Region Replication and a Warm Standby architecture to meet strict RTO and RPO requirements.
Tahmini Süre:1m 30s
Soru 79Soru

A digital assets platform hosts a collaborative content creation application on Amazon EC2 instances distributed across three Availability Zones. The application requires a shared storage solution that supports concurrent read and write operations from all instances while maintaining high availability and durability. Additionally, the platform must archive finalized media assets. These archived assets must be stored with maximum durability, and the platform must guarantee that any archived asset can be retrieved within a Recovery Time Objective (RTO) of 5 minutes. Which combination of storage solutions meets these requirements?

Cevabı ve açıklamayı göster

Cevap: Use Amazon Elastic File System (Amazon EFS) with the Standard storage class for the shared application files. Store the archived media assets in Amazon S3 Glacier Flexible Retrieval and utilize Expedited retrievals.

Cevap

Use Amazon Elastic File System (Amazon EFS) with the Standard storage class for the shared application files, and store the archived media assets in Amazon S3 Glacier Flexible Retrieval utilizing Expedited retrievals.
The correct option provides a highly available, multi-AZ shared file storage solution using Amazon EFS Standard, which allows multiple EC2 instances to read and write concurrently. It also utilizes Amazon S3 Glacier Flexible Retrieval with Expedited retrievals, which typically complete in 1 to 5 minutes, satisfying the 5-minute RTO requirement.

Adım Adım Çözüm

1
Evaluate the shared storage requirement for multiple EC2 instances distributed across three Availability Zones.
Identify that Amazon EFS Standard provides a fully managed, shared file system that supports simultaneous read/write access across multiple Availability Zones, whereas EBS Multi-Attach is limited to a single Availability Zone.
To ensure high availability and concurrent access across multiple AZs, EFS Standard is the appropriate choice.
2
Evaluate the recovery time objective (RTO) for retrieving archived media assets.
Identify that Amazon S3 Glacier Flexible Retrieval with Expedited retrievals fulfills the RTO requirement of 5 minutes by retrieving data in 1 to 5 minutes.
Standard and Bulk retrievals, as well as Glacier Deep Archive, have retrieval times ranging from several hours to 12 hours, which fail to meet the 5-minute RTO.

Anahtar Kavram

Multi-AZ shared file systems using Amazon EFS and matching S3 Glacier retrieval tiers with strict recovery time objectives.
Tahmini Süre:1m 30s
Soru 80Soru

A logistics platform is designing an active-passive disaster recovery strategy for its tracking portal under the apex domain logistics-track.com. The primary application is hosted behind an Application Load Balancer (ALB) in the us-east-1 Region, while the secondary disaster recovery site is a static maintenance page hosted on Amazon S3 in the us-west-2 Region. The platform requires that users be directed automatically to the maintenance page if the primary application in us-east-1 becomes unavailable. Which Route 53 configuration should a solutions architect implement to meet these requirements with the least operational overhead?

Cevabı ve açıklamayı göster

Cevap: Create a primary Failover Alias record for logistics-track.com pointing to the ALB with Evaluate Target Health set to Yes. Create a secondary Failover Alias record pointing to the Amazon S3 bucket.

Cevap

Create a primary Failover Alias record for logistics-track.com pointing to the ALB with Evaluate Target Health set to Yes, and a secondary Failover Alias record pointing to the S3 bucket.
The correct configuration uses Route 53 Alias records because CNAME records are invalid at the zone apex (logistics-track.com). It leverages the Failover routing policy to route traffic to the primary ALB when healthy and fall back to the secondary S3 bucket when unhealthy. By setting Evaluate Target Health to Yes, Route 53 automatically monitors the health of the backend targets registered with the ALB, removing the operational overhead of setting up separate Route 53 health checks.

Adım Adım Çözüm

1
Determine the record type for the zone apex domain.
An Alias record must be used because standard DNS CNAME records cannot be created at the zone apex (logistics-track.com).
Alias records allow Route 53 to map the zone apex directly to selected AWS resources like ALBs and S3 buckets.
2
Select the appropriate routing policy for the active-passive disaster recovery requirement.
Failover routing policy is selected.
Failover routing is specifically designed for active-passive disaster recovery configurations where traffic is sent to a primary resource when healthy, and to a secondary resource when the primary is unhealthy.
3
Configure health checks for the primary destination.
Set Evaluate Target Health to Yes on the primary record.
Setting Evaluate Target Health to Yes allows Route 53 to use the health checks defined on the ALB's target groups, eliminating the need to create and manage custom Route 53 health checks manually.

Anahtar Kavram

Route 53 DNS Failover for Zone Apex using Alias Records
ÖncekiSayfa 4 / 20Sonraki
Design Resilient Architectures Alıştırma Soruları — AWS Certified Solutions Architect - Associate — Sayfa 4 | Examkin