Tüm alıştırma soruları

1462 soru

Soru 81Soru

A SaaS provider is migrating its core multi-tenant application to AWS and requires a PostgreSQL-compatible database. The database architecture must guarantee high availability within a single AWS Region, with a Recovery Time Objective (RTO) of less than 30 seconds and a Recovery Point Objective (RPO) of near zero (under 1 second). Which database configuration meets these requirements with the lowest operational overhead?

Cevabı ve açıklamayı göster

Cevap: Amazon Aurora PostgreSQL DB cluster with a Multi-AZ deployment containing a writer instance and a reader instance in a different Availability Zone

Cevap

Amazon Aurora PostgreSQL DB cluster with a Multi-AZ deployment containing a writer instance and a reader instance in a different Availability Zone
The correct configuration is the Amazon Aurora PostgreSQL DB cluster with a Multi-AZ deployment. Amazon Aurora utilizes a shared storage volume replicated across three Availability Zones. If the primary instance fails, Aurora automatically promotes a reader instance (Aurora Replica) in another Availability Zone to primary. This failover process typically takes less than 30 seconds, satisfying the RTO. Because the storage volume is shared and updated synchronously, the RPO is near zero.

Adım Adım Çözüm

1
Analyze RTO and RPO constraints.
The architecture requires an RTO of less than 30 seconds and an RPO of under 1 second (near zero).
This eliminates slow recovery mechanisms (such as snapshot restoration) and asynchronous replication strategies that depend on manual failover.
2
Compare RDS Multi-AZ DB instance failover time with the requirements.
Standard RDS Multi-AZ DB instance failover takes 60 to 120 seconds because it requires database recovery on the standby instance.
This failover duration exceeds the 30-second RTO threshold, eliminating standard RDS Multi-AZ options.
3
Evaluate Amazon Aurora Multi-AZ failover and replication capabilities.
Amazon Aurora automatically promotes an Aurora Replica in another Availability Zone in less than 30 seconds. The shared storage design ensures near-zero RPO without data loss.
Aurora meets both strict RTO and RPO limits out of the box with minimal operational management.

Anahtar Kavram

Amazon Aurora Multi-AZ failover and shared storage architecture
Tahmini Süre:1m 30s
Soru 82Soru

A company runs an internal reporting application on Amazon EC2 instances in a private subnet. The application must connect to an external third-party API service on the internet to retrieve data daily over HTTPS (TCP port 443443). A solutions architect has already deployed a NAT Gateway in a public subnet and configured the private subnet's route table to route internet traffic (0.0.0.0/00.0.0.0/0) to the NAT Gateway. The company requires using a custom Network Access Control List (NACL) on the private subnet to restrict outbound traffic to only this API service, whose public IP address is 203.0.113.50203.0.113.50. Which two configurations must be added to the custom NACL to allow this communication while maintaining the principle of least privilege? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: An outbound rule allowing TCP port 443443 to destination 203.0.113.50/32203.0.113.50/32; An inbound rule allowing TCP ports 1024655351024-65535 from source 203.0.113.50/32203.0.113.50/32

Cevap

An outbound rule allowing TCP port 443443 to destination 203.0.113.50/32203.0.113.50/32 and an inbound rule allowing TCP ports 1024655351024-65535 from source 203.0.113.50/32203.0.113.50/32
Because Network ACLs are stateless, they require explicit rules for both outbound request traffic and inbound response traffic. The outbound connection is initiated towards the external API's service port (TCP 443443), which requires an outbound rule allowing TCP port 443443 to the API's IP address 203.0.113.50/32203.0.113.50/32. The return traffic from the API is destined for the client's ephemeral port range (1024655351024-65535), which requires an inbound rule allowing TCP ports 1024655351024-65535 from the API's IP address 203.0.113.50/32203.0.113.50/32.

Adım Adım Çözüm

1
Analyze the direction of traffic and connection initiation.
The EC2 instances initiate outbound traffic to the API service on destination port 443443 (HTTPS). Therefore, a custom outbound NACL rule is needed to allow TCP port 443443 to the specific IP address 203.0.113.50/32203.0.113.50/32.
Outbound NACL rules must explicitly permit any outgoing requests.
2
Determine the return traffic path for stateless network filtering.
Because Network ACLs are stateless, return traffic from the API must be explicitly permitted by an inbound rule. The EC2 instances use client-side ephemeral ports (range 1024655351024-65535) to establish connections.
The incoming response packets from the API will be destined for the ephemeral ports of the EC2 instances, not port 443443.
3
Verify rule constraints and rule types.
Select the rules that specify the correct port directions and IP blocks. Avoid options using security groups, as Network ACL rules do not support them.
Security groups are stateful and work at the instance level, whereas Network ACLs are stateless and work at the subnet boundary using IP CIDRs only.

Anahtar Kavram

Stateless nature of Network ACLs requiring explicit ephemeral port inbound rules for outbound connections
Soru 83Soru

A media production company hosts a shared file repository on-premises for video editing. The company wants to migrate its storage to AWS to improve resiliency and high availability while maintaining low-latency access for on-premises editors. The design requirements include a Recovery Point Objective (RPO) of 15 minutes and a Recovery Time Objective (RTO) of 10 minutes for accessing archived footage. Which of the following solutions should a solutions architect recommend?

Cevabı ve açıklamayı göster

Cevap: Deploy an Amazon S3 File Gateway on-premises. Configure it to write data to an Amazon S3 bucket, and use an S3 Lifecycle policy to transition archived data to Amazon S3 Glacier Instant Retrieval.

Cevap

Deploying an Amazon S3 File Gateway on-premises, writing to an Amazon S3 bucket, and using an S3 Lifecycle policy to transition archived data to Amazon S3 Glacier Instant Retrieval.
The configuration using Amazon S3 File Gateway with S3 Glacier Instant Retrieval is correct because the gateway provides local caching for low-latency file access, while S3 Glacier Instant Retrieval provides millisecond retrieval times that comfortably satisfy the 10-minute RTO requirement.

Adım Adım Çözüm

1
Analyze the storage latency and access protocol requirements.
The application requires NFS/SMB file protocols with low local latency, which points to Amazon S3 File Gateway.
File Gateway caches active data locally for low latency and translates file protocols to S3 API calls.
2
Evaluate the Recovery Time Objective (RTO) for archived data.
The RTO is 10 minutes, which requires a storage class with immediate or near-immediate retrieval capabilities.
Standard S3 Glacier classes have retrieval delays of hours, whereas S3 Glacier Instant Retrieval offers millisecond access.
3
Determine the lifecycle strategy to transition archived data.
Define an S3 Lifecycle policy to transition older files to S3 Glacier Instant Retrieval.
This satisfies the 10-minute RTO while optimizing storage costs.

Anahtar Kavram

Designing a hybrid file storage architecture with low-latency local access and immediate retrieval of archived data using S3 File Gateway and S3 Glacier Instant Retrieval.
Tahmini Süre:2m 0s
Soru 84Soru

An enterprise is migrating a large-scale data analytics platform to AWS. The platform requires a hybrid network connection to synchronize transactional logs from an on-premises mainframe to multiple Amazon VPCs in the same Region. The synchronization process requires a minimum bandwidth of 3 Gbps3\text{ Gbps} and must be encrypted in transit. Due to tight project timelines, the solution must be deployed within a few days, ruling out the provisioning of a new AWS Direct Connect connection. Which network architecture will meet these requirements with the highest performance and scalability?

Cevabı ve açıklamayı göster

Cevap: Deploy an AWS Transit Gateway and attach the target VPCs. Establish an AWS Site-to-Site VPN connection to the Transit Gateway, enabling Equal-Cost Multi-Path (ECMP) routing on both the Transit Gateway and the customer gateway. Configure at least three active VPN tunnels to aggregate the required throughput.

Cevap

Deploy an AWS Transit Gateway and attach the target VPCs. Establish an AWS Site-to-Site VPN connection to the Transit Gateway, enabling Equal-Cost Multi-Path (ECMP) routing on both the Transit Gateway and the customer gateway. Configure at least three active VPN tunnels to aggregate the required throughput.
The correct architecture uses AWS Transit Gateway with ECMP enabled. Each Site-to-Site VPN tunnel supports up to 1.25 Gbps1.25\text{ Gbps} of throughput. By terminating the VPN connection on a Transit Gateway, you can enable ECMP to aggregate throughput across multiple active tunnels, allowing the application to reach the target 3 Gbps3\text{ Gbps} bandwidth within the required timeline.

Adım Adım Çözüm

1
Identify the throughput requirement and connection constraints.
The target throughput is 3 Gbps3\text{ Gbps}, which must be encrypted and deployed quickly without Direct Connect.
This rules out a standard single VPN tunnel since it is limited to 1.25 Gbps1.25\text{ Gbps}, and rules out Direct Connect due to deployment time constraints.
2
Select a technology capable of aggregating VPN throughput.
AWS Transit Gateway supports Equal-Cost Multi-Path (ECMP) routing over VPN attachments.
ECMP allows the aggregation of multiple VPN tunnels to scale the total bandwidth beyond the 1.25 Gbps1.25\text{ Gbps} limit of a single tunnel.
3
Calculate the number of tunnels required.
At least three VPN tunnels (3×1.25 Gbps=3.75 Gbps3 \times 1.25\text{ Gbps} = 3.75\text{ Gbps} capacity) are needed to safely exceed the 3 Gbps3\text{ Gbps} requirement.
This guarantees that the combined capacity of the ECMP-routed tunnels satisfies the required target throughput.

Anahtar Kavram

AWS Transit Gateway VPN ECMP throughput aggregation
Soru 85Soru

A healthcare provider is deploying a critical patient record application using Amazon RDS for MySQL. The database tier must withstand an Availability Zone (AZ) failure with zero data loss (RPO=0RPO = 0) and support automatic failover in less than 45 seconds45\text{ seconds} (RTO<45 sRTO < 45\text{ s}). The application also requires horizontal scaling of read operations to prevent reporting dashboards from affecting the write performance of the primary database instance. Which database configuration meets these requirements with the least operational complexity?

Cevabı ve açıklamayı göster

Cevap: Deploy an RDS for MySQL Multi-AZ DB cluster. Configure the reporting dashboards to use the reader endpoint of the cluster.

Cevap

Deploy an RDS for MySQL Multi-AZ DB cluster and configure the reporting dashboards to use the reader endpoint of the cluster.
Deploying an RDS for MySQL Multi-AZ DB cluster is correct because it uses synchronous replication across three Availability Zones to ensure zero data loss (RPO=0RPO = 0) and provides automatic failover in under 35 seconds (meeting the RTO<45 sRTO < 45\text{ s} requirement). Additionally, the cluster includes two readable standby instances that can be queried via the reader endpoint to scale reads without the operational complexity of provisioning separate read replicas.

Adım Adım Çözüm

1
Analyze the high availability and failover constraints.
The requirements dictate zero data loss (RPO=0RPO = 0) and automatic failover in less than 45 seconds (RTO<45 sRTO < 45\text{ s}), which rules out asynchronous replication methods and standard Multi-AZ DB instances (which take 60–120 seconds).
Identifying the recovery metrics helps narrow the architecture options to synchronous cluster-based deployments.
2
Analyze the read scaling and complexity constraints.
The reporting dashboards require read scaling that does not impact write operations, with the least operational complexity.
This points to a configuration that natively supports readable standby instances without requiring separate read replicas to be provisioned and managed.
3
Select the optimal database deployment option.
An Amazon RDS Multi-AZ DB cluster provides one writer and two readable standby instances across three AZs with synchronous replication, automatic failover under 35 seconds, and a built-in reader endpoint.
This satisfies all RTO, RPO, read scaling, and low operational complexity requirements.

Anahtar Kavram

Amazon RDS Multi-AZ DB clusters provide synchronous replication across three Availability Zones with readable standby instances and rapid automatic failover (typically under 35 seconds), satisfying strict RPO, RTO, and read-scaling requirements simultaneously.
Soru 86Soru

A global legal technology platform hosts sensitive litigation documents consisting of scanned court files. The documents must be stored with 99.999999999%99.999999999\% (11 nines) of durability. The platform must maintain a disaster recovery plan across two AWS regions (primary and secondary) with a Recovery Point Objective (RPO) of 15 minutes and a Recovery Time Objective (RTO) of 15 minutes for its storage tier. The files are frequently accessed during the first 30 days of active litigation, after which access drops significantly; however, any document must remain retrievable within milliseconds when requested. Which storage architecture meets these requirements with the lowest operational overhead?

Cevabı ve açıklamayı göster

Cevap: Store the litigation documents in an Amazon S3 bucket in the primary region. Configure S3 Cross-Region Replication (CRR) with S3 Replication Time Control (S3 RTC) enabled to replicate the documents to an S3 bucket in the secondary region. Apply an S3 Lifecycle policy to transition the documents to S3 Glacier Instant Retrieval after 30 days.

Cevap

Store the litigation documents in an Amazon S3 bucket in the primary region. Configure S3 Cross-Region Replication (CRR) with S3 Replication Time Control (S3 RTC) enabled to replicate the documents to an S3 bucket in the secondary region. Apply an S3 Lifecycle policy to transition the documents to S3 Glacier Instant Retrieval after 30 days.
The correct strategy uses S3 Cross-Region Replication (CRR) with S3 Replication Time Control (S3 RTC) to replicate objects to a secondary region within 15 minutes, satisfying the 15-minute RPO. Transitioning the objects to S3 Glacier Instant Retrieval after 30 days reduces costs while maintaining millisecond retrieval speeds, satisfying the RTO and immediate access requirement when a case is reopened.

Adım Adım Çözüm

1
Evaluate the durability and recovery point (RPO) constraints.
Amazon S3 provides 99.999999999%99.999999999\% (11 nines) of durability. To achieve a 15-minute RPO across regions, S3 Cross-Region Replication (CRR) with S3 Replication Time Control (S3 RTC) must be used, which guarantees replication of 99.99% of objects within 15 minutes.
Standard CRR does not guarantee a replication completion time, which could violate the RPO during peak load, while S3 RTC provides a SLA-backed replication timeframe.
2
Evaluate the recovery time (RTO) and access latency constraints.
The documents must be retrievable in milliseconds. S3 Glacier Instant Retrieval meets this requirement, whereas standard Glacier storage classes introduce hours of retrieval latency.
Court discovery workflows require rapid, millisecond access even for archived files, making Glacier Instant Retrieval the only cost-effective archive class that meets the latency target.
3
Determine the optimal cost optimization strategy.
An S3 Lifecycle policy can transition objects from S3 Standard to S3 Glacier Instant Retrieval after 30 days.
This automatically reduces storage costs for historical litigation documents while preserving the ability to retrieve them in milliseconds when a case is reopened.

Anahtar Kavram

Designing a multi-region resilient storage architecture using Amazon S3 Cross-Region Replication with Replication Time Control (S3 RTC) and cost-optimizing with S3 Glacier Instant Retrieval for millisecond access latency.
Tahmini Süre:2m 0s
Soru 87Soru

A financial technology firm is deploying a transaction auditing application on Amazon EC2 instances distributed across two Availability Zones in the eu-west-1 Region. The application requires a shared, POSIX-compliant file system to store transaction journals. The architecture must survive the complete loss of an Availability Zone with zero data loss (RPO = 0) and continue serving requests without manual intervention. Additionally, the journals must be replicated to the eu-central-1 Region with a Recovery Point Objective (RPO) of less than 15 minutes and a Recovery Time Objective (RTO) of less than 10 minutes. Which storage design meets these requirements while minimizing operational overhead?

Cevabı ve açıklamayı göster

Cevap: Deploy Amazon EFS using the Regional storage class in the primary region. Configure Amazon EFS Replication to replicate the file system to a destination EFS file system in the secondary region. During a regional failover, delete the replication association on the destination file system and mount it to the standby EC2 instances.

Cevap

Deploy Amazon EFS using the Regional storage class in the primary region, configure Amazon EFS Replication to the secondary region, and delete the replication association during a failover to make the destination file system writable.
The correct solution uses the Amazon EFS Regional storage class, which natively replicates data synchronously across multiple Availability Zones to ensure zero data loss during an AZ outage. To achieve cross-region disaster recovery, Amazon EFS Replication provides continuous asynchronous replication to a destination EFS file system in the secondary region. During a disaster recovery event, deleting the replication association changes the destination file system status from read-only to writeable, which can be accomplished in under a minute, meeting the 10-minute RTO.

Adım Adım Çözüm

1
Select a storage service that supports POSIX compliance, shared concurrent access across multiple EC2 instances, and automatically replicates data across multiple Availability Zones within the primary region.
Amazon EFS Regional storage class is selected, as it satisfies POSIX compliance, multi-instance mounting, and achieves an RPO of 0 during Availability Zone outages through synchronous multi-AZ replication.
This satisfies the requirement for zero data loss and automated failover in the event of a single Availability Zone loss.
2
Determine the cross-region replication method to meet the RPO of less than 15 minutes.
Configure Amazon EFS Replication to replicate data asynchronously to a destination EFS file system in the eu-central-1 Region.
EFS Replication continuously copies changes to the destination region and typically completes replication in under 15 minutes, which satisfies the RPO requirement.
3
Identify the failover procedure that satisfies the RTO of less than 10 minutes.
In the event of a disaster, delete the replication association on the destination EFS file system to make it read-write, and mount it to the standby EC2 instances.
EFS replica file systems are read-only while replication is active. Deleting the replication association is a fast control-plane operation that makes the destination file system writable immediately, meeting the 10-minute RTO.

Anahtar Kavram

Amazon EFS Regional replication and cross-region replication failover behavior
Soru 88Soru

An international logistics company uses a critical PostgreSQL-compatible transactional database on AWS. The application demands high availability within its primary AWS Region (euwest1eu-west-1) with a Recovery Time Objective (RTO) of less than 60 seconds60\text{ seconds} and a Recovery Point Objective (RPO) of 00 (no data loss) in the event of an Availability Zone outage. Additionally, the company requires a cross-region disaster recovery (DR) architecture in eucentral1eu-central-1 that supports an RPO of less than 5 seconds5\text{ seconds} and an RTO of less than 15 minutes15\text{ minutes}. Which combination of database configurations will satisfy these requirements? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: Deploy an Amazon Aurora PostgreSQL DB cluster with the primary writer instance in one Availability Zone and a reader instance in a different Availability Zone within the primary Region.; Create an Amazon Aurora Global Database and add a secondary DB cluster in the disaster recovery Region.

Cevap

Deploying an Amazon Aurora PostgreSQL DB cluster with writer and reader instances across different Availability Zones in the primary Region, and creating an Amazon Aurora Global Database with a secondary DB cluster in the disaster recovery Region.
The correct architecture combines an Amazon Aurora PostgreSQL DB cluster deployed across multiple Availability Zones in the primary Region (to achieve an RTO of less than 60 seconds and an RPO of 0 through automatic failover to a reader instance) with an Amazon Aurora Global Database secondary cluster (to achieve an RPO of less than 5 seconds and an RTO of less than 15 minutes through physical storage-level replication and managed failover).

Adım Adım Çözüm

1
Analyze the high availability (HA) requirements in the primary Region.
The RTO must be less than 60 seconds and the RPO must be 0.
An Aurora DB cluster with a reader instance in a different Availability Zone supports automatic failover in less than 30 seconds with 0 data loss due to Aurora's shared storage architecture.
2
Analyze the cross-region disaster recovery (DR) requirements.
The RPO must be less than 5 seconds and the RTO must be less than 15 minutes.
Amazon Aurora Global Databases replicate data at the physical storage layer with typical replication lag under 1 second and support managed failovers in under 1 minute.
3
Evaluate the architectural options against these combined requirements.
Deploying Aurora Multi-AZ with a reader instance and configuring an Aurora Global Database secondary cluster satisfies all parameters, whereas backups, single-node configurations, and DNS-level routing do not meet the RTO/RPO limits or multi-region database capabilities.

Anahtar Kavram

High availability is achieved locally using Multi-AZ deployments with synchronous replication (or shared storage architectures), whereas cross-region disaster recovery with low RPO/RTO requires low-latency asynchronous physical replication such as Amazon Aurora Global Databases.
Soru 89Soru

A software development company is migrating a collaborative code compilation platform to AWS. The platform runs on a fleet of Amazon EC2 instances distributed across multiple Availability Zones. The build workers require concurrent, shared access to a POSIX-compliant repository. The repository must support sub-millisecond latencies for file metadata operations and scale throughput dynamically to handle build bursts. Which two storage configurations should the solutions architect recommend to meet these requirements?

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

Cevabı ve açıklamayı göster

Cevap: Create an Amazon EFS file system configured with Elastic Throughput.; Provision an Amazon FSx for NetApp ONTAP file system in a Multi-AZ deployment.

Cevap

The solutions architect should recommend creating an Amazon EFS file system configured with Elastic Throughput and provisioning an Amazon FSx for NetApp ONTAP file system in a Multi-AZ deployment.
The solution requires a shared, POSIX-compliant storage system that can be accessed concurrently by EC2 instances across multiple Availability Zones with dynamic throughput scaling. Amazon EFS with Elastic Throughput meets these requirements by providing POSIX-compliant shared access that automatically scales to handle throughput spikes. Amazon FSx for NetApp ONTAP in a Multi-AZ deployment also supports concurrent multi-AZ access via NFS and provides high performance with sub-millisecond latencies.

Adım Adım Çözüm

1
Identify that the workload requires concurrent read/write shared access from multiple EC2 instances across different Availability Zones, pointing to a network-attached shared file system rather than block storage.
Candidate options must support shared POSIX-compliant file access across multiple Availability Zones.
Block storage like standard EBS is limited to a single Availability Zone and cannot be shared natively across zones.
2
Evaluate Amazon EFS with Elastic Throughput.
EFS supports multi-AZ POSIX-compliant shared file access and automatically scales throughput to meet unpredictable spike requirements.
Elastic Throughput dynamically scales based on workload activity without manual provisioning.
3
Evaluate Amazon FSx for NetApp ONTAP.
FSx for ONTAP provides Multi-AZ deployment options with low-latency POSIX-compliant NFS access and scales performance to handle bursty workloads.
It matches the performance requirements (sub-millisecond latency) and supports cross-AZ file sharing.
4
Evaluate and eliminate EBS options.
EBS volumes cannot span Availability Zones, gp3 does not support Multi-Attach, and io2 Multi-Attach requires a cluster-aware file system to prevent data corruption.
EBS is an AZ-scoped block storage service and standard file systems like ext4 lack write coordination.
5
Evaluate and eliminate S3 options.
S3 is object storage and AWS Transfer Family is for file transfer protocols, not mountable POSIX drives.
S3 does not natively provide POSIX file system capabilities.

Anahtar Kavram

Shared POSIX-compliant storage solutions that support concurrent multi-AZ access and scale throughput dynamically.
Soru 90Soru

A healthcare provider hosts a web application where medical imaging files must be stored. The storage solution must allow multiple web servers running on Amazon EC2 instances in different Availability Zones to read and write to the files simultaneously. In the event of an Availability Zone outage, the storage must remain available with a Recovery Time Objective (RTO) of zero. Which storage solution meets these requirements with the least configuration effort?

Cevabı ve açıklamayı göster

Cevap: Deploy an Amazon Elastic File System (Amazon EFS) file system with mount targets in each Availability Zone.

Cevap

Deploy an Amazon Elastic File System (Amazon EFS) file system with mount targets in each Availability Zone.
Deploying an Amazon Elastic File System (Amazon EFS) is correct because it is a regional storage service that supports concurrent read/write access from EC2 instances in different Availability Zones. Because it replicates data across multiple Availability Zones, it offers native resilience and maintains availability with an RTO of zero if a single Availability Zone experiences an outage.

Adım Adım Çözüm

1
Identify key requirements for file access and resiliency.
The requirements are simultaneous read/write access from multiple EC2 instances in different Availability Zones, and an RTO of zero during an AZ outage.
This determines that the target solution must support regional multi-AZ architectures and concurrent file-level access.
2
Evaluate the capabilities of the storage options.
Amazon EFS natively provides concurrent, POSIX-compliant file system access across multiple Availability Zones with built-in high availability.
Amazon EBS is restricted to a single Availability Zone, S3 Glacier introduces retrieval delays, and RDS is a structured database rather than a shared file system.

Anahtar Kavram

Amazon EFS provides highly available, regional shared file systems that support concurrent read and write access from EC2 instances in multiple Availability Zones.
Tahmini Süre:45s
Soru 91Soru

A company hosts a web application on Amazon EC2 instances behind an Application Load Balancer (ALB) in a single AWS Region. Users from multiple locations worldwide are experiencing high latency and inconsistent performance when accessing the application. The solutions architect needs to optimize the network routing to provide the lowest possible latency and most consistent performance for these global users. Which solution should the solutions architect recommend?

Cevabı ve açıklamayı göster

Cevap: Deploy AWS Global Accelerator in front of the Application Load Balancer to route user traffic over the AWS global private network.

Cevap

Deploy AWS Global Accelerator in front of the Application Load Balancer to route user traffic over the AWS global private network.
AWS Global Accelerator improves application performance and latency by routing user traffic through the nearest AWS edge location and over the congestion-free AWS private network backbone to the Application Load Balancer.

Adım Adım Çözüm

1
Identify the primary goal: The company wants to optimize the network path to provide the lowest latency and most consistent performance for global users accessing an application hosted in a single AWS Region.
Requires a service that routes traffic over the AWS private backbone rather than the public internet.
Routing traffic over the private AWS global network avoids internet congestion and reduces latency.
2
Evaluate AWS Global Accelerator against the requirements.
AWS Global Accelerator uses static IP addresses to ingest traffic at the closest edge location and routes it over the AWS global private network to the Application Load Balancer.
This matches the requirement to optimize performance and network paths for global users.

Anahtar Kavram

AWS Global Accelerator improves network performance and latency for global clients by routing traffic over the AWS private network backbone.
Soru 92Soru

A pharmaceutical company is designing a disaster recovery architecture for its genomic drug simulation datasets. The active datasets are stored in Amazon S3 in the `us-east-1` Region and are critical to clinical trial validation. Compliance mandates that these datasets must be replicated to a secondary AWS Region (`us-west-2`). The solution must guarantee a Recovery Point Objective (RPO) of 15 minutes15\text{ minutes} and a Recovery Time Objective (RTO) of 30 minutes30\text{ minutes} for read access to the replicated datasets in `us-west-2`. The replication mechanism must be asynchronous to prevent any performance impact on the primary simulation engines in `us-east-1`. Which configuration will meet these storage requirements?

Cevabı ve açıklamayı göster

Cevap: Configure Amazon S3 Cross-Region Replication (CRR) from the source bucket in `us-east-1` to the destination bucket in `us-west-2`, and enable Amazon S3 Replication Time Control (S3 RTC) on the replication rule.

Cevap

Configure Amazon S3 Cross-Region Replication (CRR) from the source bucket in `us-east-1` to the destination bucket in `us-west-2`, and enable Amazon S3 Replication Time Control (S3 RTC) on the replication rule.
Enabling Amazon S3 Replication Time Control (S3 RTC) on a Cross-Region Replication (CRR) rule ensures that 99.9%99.9\% of objects are replicated within 15 minutes15\text{ minutes}, directly satisfying the 1515-minute Recovery Point Objective (RPO). Since the replicated data is immediately accessible in the destination S3 bucket in the secondary region, it easily satisfies the 3030-minute Recovery Time Objective (RTO) for read access without affecting write performance at the source.

Adım Adım Çözüm

1
Analyze the Recovery Point Objective (RPO) requirement.
The requirement is an RPO of 15 minutes15\text{ minutes}, which means replicated data must be at most 15 minutes15\text{ minutes} behind the primary storage.
To guarantee replication lag of under 15 minutes15\text{ minutes} with an AWS SLA, Amazon S3 Replication Time Control (S3 RTC) must be used, which replicates 99.9%99.9\% of objects within 15 minutes15\text{ minutes}.
2
Analyze the Recovery Time Objective (RTO) requirement.
The RTO is 30 minutes30\text{ minutes} for read access in the failover region.
Active replication to a standard S3 bucket allows immediate read access via S3 APIs, which fits well within the 3030-minute RTO. Glacier Flexible Retrieval with Standard retrieval is ruled out due to its 33-to-55-hour retrieval delay.
3
Evaluate administrative overhead and workload compatibility.
Amazon S3 object storage is optimal for raw simulation datasets, and native S3 CRR requires minimal operational management compared to custom sync scripts or relational databases.
Native replication features minimize custom scripts, reduce operational complexity, and avoid misusing relational database services for object storage workloads.

Anahtar Kavram

Replication Time Control (S3 RTC) guarantees replication within 15 minutes15\text{ minutes} to meet tight RPO/RTO parameters for object storage.
Tahmini Süre:2m 0s
Soru 93Soru

A company needs to replicate large database backups from its on-premises data center to a VPC on AWS. The replication software requires a consistent network throughput of at least 2 Gbps2\text{ Gbps}. The company wants to establish a secure, encrypted hybrid connection over the public internet, avoiding the lead time of dedicated physical circuits. Which network architecture should a solutions architect recommend to meet these requirements?

Cevabı ve açıklamayı göster

Cevap: Create an AWS Site-to-Site VPN connection to an AWS Transit Gateway, enable Equal-Cost Multi-Path (ECMP) routing, and establish multiple VPN tunnels to aggregate bandwidth.

Cevap

Create an AWS Site-to-Site VPN connection to an AWS Transit Gateway, enable Equal-Cost Multi-Path (ECMP) routing, and establish multiple VPN tunnels to aggregate bandwidth.
The correct answer is to use an AWS Site-to-Site VPN connection attached to an AWS Transit Gateway with Equal-Cost Multi-Path (ECMP) routing enabled. An AWS Site-to-Site VPN tunnel has a maximum throughput capacity of 1.25 Gbps1.25\text{ Gbps}. To exceed this limit and achieve the required 2 Gbps2\text{ Gbps} throughput, Transit Gateway can load-balance traffic across multiple active tunnels using ECMP, aggregating the bandwidth of the tunnels.

Adım Adım Çözüm

1
Identify the bandwidth constraint and connection requirements.
The replication requires at least 2 Gbps2\text{ Gbps} of bandwidth, must be secure/encrypted, must run over the public internet, and needs to be set up without long lead times.
This rules out dedicated lines like AWS Direct Connect due to lead times, leaving Site-to-Site VPN as the primary hybrid connectivity option.
2
Analyze the throughput limitations of standard AWS VPN configurations.
A single AWS Site-to-Site VPN tunnel is logically capped at 1.25 Gbps1.25\text{ Gbps}. Terminating the VPN on a Virtual Private Gateway only allows active-passive routing, meaning the max throughput remains 1.25 Gbps1.25\text{ Gbps}.
To achieve 2 Gbps2\text{ Gbps}, the architecture must support active-active tunnel load balancing to aggregate bandwidth.
3
Select a routing component that supports bandwidth aggregation.
Attaching the Site-to-Site VPN to an AWS Transit Gateway allows enabling Equal-Cost Multi-Path (ECMP) routing. This allows the system to distribute traffic across multiple active tunnels simultaneously.
By using at least two active VPN tunnels with ECMP, the combined throughput can scale beyond 1.25 Gbps1.25\text{ Gbps} to meet the 2 Gbps2\text{ Gbps} requirement.

Anahtar Kavram

AWS Transit Gateway ECMP routing allows scaling Site-to-Site VPN throughput beyond the 1.25 Gbps1.25\text{ Gbps} limit of a single tunnel by load balancing traffic across multiple active tunnels.
Soru 94Soru

A solutions architect is designing a secure architecture for a financial application. The application's database runs on Amazon EC2 instances with Amazon EBS volumes, and it accesses an external API using an API key. The company's security policy mandates that:

1. All EBS volumes must be encrypted at rest, and the encryption keys must rotate annually without requiring manual data re-encryption or causing downtime.
2. The external API key must be stored securely, rotate automatically every 30 days, and not be exposed in plaintext in any configuration files.

Which combination of actions should the solutions architect take to meet these security requirements? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: Create an AWS KMS customer managed key to encrypt the EBS volumes, and enable automatic key rotation to rotate the key material annually without re-encrypting existing data.; Store the external API key in AWS Secrets Manager and configure automatic rotation every 30 days using an AWS Lambda function.

Cevap

Create an AWS KMS customer managed key to encrypt the EBS volumes and enable automatic rotation, and store the API key in AWS Secrets Manager with automatic rotation configured using an AWS Lambda function.
The correct combination requires using an AWS KMS customer managed key for EBS encryption with automatic key rotation enabled, which rotates keys annually without needing manual intervention or re-encrypting historical data. Additionally, storing the API key in AWS Secrets Manager and configuring automatic rotation via Lambda ensures the secret is rotated every 30 days securely without plaintext exposure.

Adım Adım Çözüm

1
Select the correct encryption strategy for Amazon EBS volumes.
Use an AWS KMS customer managed key with automatic key rotation enabled.
AWS KMS customer managed keys support automatic annual rotation. When rotated, KMS keeps the historical key material to decrypt older data, preventing the need to manually re-encrypt existing snapshots or volumes, which minimizes overhead and avoids downtime.
2
Select the correct management strategy for the external API key.
Store the secret key in AWS Secrets Manager and configure automatic 30-day rotation.
AWS Secrets Manager is the standard service for storing sensitive secrets. It integrates directly with AWS Lambda to automatically execute custom or template-based rotation schedules, keeping the credentials secure and eliminating plaintext storage.

Anahtar Kavram

Data encryption at rest using AWS KMS with automatic key rotation, and secure secret storage using AWS Secrets Manager with automated rotation.
Soru 95Soru

An application runs on Amazon EC2 instances within a private subnet (10.100.1.0/2410.100.1.0/24). The application must query an Amazon RDS PostgreSQL database located in a dedicated database subnet (10.100.2.0/2410.100.2.0/24). Additionally, the application must securely retrieve database credentials from AWS Secrets Manager without accessing the public internet. The solutions architect needs to configure network security controls to allow only the necessary traffic flows.

Which TWO configurations should the solutions architect implement to meet these requirements securely? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: Create an interface VPC endpoint for AWS Secrets Manager in the private subnet, and configure the RDS database security group to allow inbound traffic on port 54325432 from the security group of the EC2 instances.; Associate a security group with the Secrets Manager interface VPC endpoint that allows inbound TCP traffic on port 443443 from the security group of the EC2 instances.

Cevap

To securely allow this communication, the solutions architect must configure the RDS database security group to allow inbound traffic from the EC2 instances' security group on port 54325432, and configure a security group for the AWS Secrets Manager interface VPC endpoint that allows inbound HTTPS traffic on port 443443 from the EC2 instances' security group.
To establish secure, private connectivity, the solutions architect must configure the RDS database security group to allow inbound PostgreSQL traffic (port 54325432) directly from the EC2 instances' security group. For AWS Secrets Manager, an interface VPC endpoint must be created, and its associated security group must allow inbound HTTPS traffic (port 443443) from the EC2 instances' security group. These two settings ensure secure, least-privilege access.

Adım Adım Çözüm

1
Configure the database security group rule.
The RDS database security group accepts traffic on port 54325432 from the EC2 security group.
Security groups are stateful and allow return traffic automatically, so only an inbound rule is required on the database side.
2
Deploy an interface VPC endpoint for Secrets Manager.
An elastic network interface (ENI) is created in the private subnet, mapping Secrets Manager traffic to private IP addresses.
Secrets Manager only supports interface endpoints (AWS PrivateLink), and this prevents traffic from traversing the internet.
3
Configure the VPC endpoint security group.
The interface endpoint allows inbound HTTPS traffic on port 443443 from the EC2 security group.
Interface endpoints are protected by security groups, which must explicitly permit traffic from the calling client instances.

Anahtar Kavram

VPC network security involves configuring stateful security groups and stateless network ACLs. Security groups operate at the instance level and support rules referencing other security groups. Network ACLs operate at the subnet level, are stateless, and only support IP CIDR ranges.
Tahmini Süre:2m 0s
Soru 96Soru

A solutions architect is configuring security policies for a critical financial application. The application stores its transaction logs in an Amazon S3 bucket, encrypted at rest using an AWS KMS customer managed key. The solutions architect enables automatic key rotation for the customer managed key. Which two statements correctly describe the behavior of AWS KMS and the S3 bucket after the key is rotated? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: New transaction logs uploaded to the Amazon S3 bucket will be encrypted using the newly generated key material.; AWS KMS automatically retains the older key material to transparently decrypt historical transaction logs when requested.

Cevap

The correct statements are that new logs uploaded to the Amazon S3 bucket will be encrypted using the newly generated key material, and AWS KMS automatically retains the older key material to transparently decrypt historical logs when requested.
When automatic key rotation is enabled for a customer managed key, AWS KMS creates new key material and uses it for all future encryption operations (such as encrypting new S3 uploads). To allow historical data to be read, AWS KMS retains all older versions of the key material and automatically uses them when decrypting objects that were encrypted with those older versions.

Adım Adım Çözüm

1
Understand the mechanism of AWS KMS automatic key rotation for customer managed keys.
Automatic key rotation creates a new version of the backing key material but leaves the Key ID and Key ARN unchanged.
This allows applications to continue using the same key identifier without configuration or policy updates.
2
Determine how existing and new data are handled after key rotation.
New encryption requests use the new key material. Existing data is not re-encrypted. Older key material is retained by AWS KMS.
KMS must keep older key material to decrypt historical data that was encrypted with previous versions of the key.

Anahtar Kavram

AWS KMS Automatic Key Rotation Mechanics
Soru 97Soru

A financial services company is deploying a two-tier application inside a virtual private cloud (VPC). The application consists of backend processing Amazon EC2 instances running in Subnet A (172.16.1.0/24172.16.1.0/24) and a PostgreSQL database instance running in Subnet B (172.16.2.0/24172.16.2.0/24). The backend instances need to access the database on TCP port 54325432, but all other traffic between the subnets must be blocked. The company requires a defense-in-depth network security architecture using both Security Groups and Network ACLs (NACLs). Which TWO configuration steps should the solutions architect perform to meet these security requirements?

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

Cevabı ve açıklamayı göster

Cevap: Configure the database security group to allow inbound TCP traffic on port 54325432 from the security group of the backend processing instances.; Configure the Network ACL for Subnet B to allow inbound TCP traffic on port 54325432 from Subnet A (172.16.1.0/24172.16.1.0/24) and allow outbound TCP traffic on ephemeral ports (1024655351024-65535) to Subnet A (172.16.1.0/24172.16.1.0/24).

Cevap

Configuring the database security group to allow inbound TCP traffic on port 54325432 from the backend processing instances' security group, and configuring the Network ACL for Subnet B to allow inbound TCP traffic on port 54325432 from Subnet A and outbound TCP traffic on ephemeral ports (1024655351024-65535) to Subnet A.
The correct architecture uses a combination of a stateful security group on the database instance and a stateless Network ACL on Subnet B. The security group configuration must allow inbound traffic from the backend instances' security group on port 54325432, which automatically allows return traffic. The Network ACL configuration must allow inbound traffic from the backend subnet on port 54325432 and also explicitly allow outbound return traffic to the backend subnet on ephemeral ports because Network ACLs are stateless.

Adım Adım Çözüm

1
Evaluate the Security Group configuration needed for the database instance.
Determine that the database security group must allow inbound TCP port 54325432 traffic from the backend instances' security group. No outbound rule is required since security groups are stateful.
This establishes least-privilege control at the instance layer using stateful firewalls.
2
Evaluate the Network ACL configuration required for Subnet B.
Determine that Subnet B's Network ACL must allow inbound TCP port 54325432 traffic from Subnet A's CIDR (172.16.1.0/24172.16.1.0/24). Because Network ACLs are stateless, return traffic must also be permitted by adding an outbound rule for ephemeral ports (1024655351024-65535) targeting Subnet A's CIDR.
This establishes subnet-level security filtering using stateless firewalls.

Anahtar Kavram

Distinguishing between the stateful behavior of Security Groups and the stateless behavior of Network ACLs in Amazon VPC.
Tahmini Süre:2m 0s
Soru 98Soru

An enterprise is migrating a legacy reporting system to AWS. The backend processing servers run on Amazon EC2 instances in a private subnet. These instances must securely fetch configuration files from a private Amazon S3 bucket and connect to a third-party payment gateway API on the public internet. The solutions architect needs to design the network security controls to satisfy these requirements with minimum exposure and without incurring NAT Gateway data transfer costs for Amazon S3 traffic. Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: Create a Gateway VPC Endpoint for Amazon S3 and associate it with the route table of the private subnet.; Deploy a NAT Gateway in a public subnet, update the private subnet's route table to route 0.0.0.0/00.0.0.0/0 traffic to the NAT Gateway, and use a stateful security group on the EC2 instances to restrict outbound traffic to the payment gateway.

Cevap

The correct combination of actions is to create a Gateway VPC Endpoint for Amazon S3 and associate it with the private subnet's route table, and to deploy a NAT Gateway in a public subnet, update the private subnet's route table to route outbound traffic to the NAT Gateway, and restrict outbound traffic using a stateful security group on the EC2 instances.
The correct solution combines a Gateway VPC Endpoint for Amazon S3 and a NAT Gateway with a stateful security group. A Gateway VPC Endpoint routes S3 traffic privately within AWS without using a NAT Gateway, avoiding data processing costs. A NAT Gateway is deployed in a public subnet to allow private subnet EC2 instances to reach the external payment gateway, and a stateful security group on the instances restricts outbound traffic to the target API. Because security groups are stateful, return traffic is automatically permitted.

Adım Adım Çözüm

1
Identify a cost-effective method to privately connect to Amazon S3.
Determine that a Gateway VPC Endpoint for Amazon S3 is the optimal path since it does not incur NAT Gateway data processing charges.
This establishes private routing within the AWS network to S3, bypassing the internet.
2
Establish secure outbound internet egress for private EC2 instances.
Deploy a NAT Gateway in a public subnet and add a default route pointing to it in the private subnet's route table.
The EC2 instances must connect to a public payment gateway API, which requires NAT translation.
3
Apply firewall controls to restrict egress traffic to authorized endpoints.
Utilize stateful EC2 security groups to permit HTTPS outbound requests specifically to the payment gateway.
Security groups are stateful and operate at the instance level, securing the traffic without blocking the return packets.

Anahtar Kavram

VPC Network Security controls, specifically combining stateful security groups, stateless network ACLs, NAT Gateways for internet egress, and Gateway VPC Endpoints for secure, cost-effective S3 access.
Soru 99Soru

A company runs a critical application on Amazon EC2 instances in a private subnet within a VPC. The subnet has no route to the internet. The application must access AWS Key Management Service (AWS KMS) to decrypt sensitive configuration files. To comply with security policies, the traffic must not traverse the public internet, and access must be restricted using the principle of least privilege. The solutions architect deploys an interface VPC endpoint for AWS KMS. Which combination of security group configurations will meet these requirements?

Cevabı ve açıklamayı göster

Cevap: Configure the security group attached to the EC2 instances to allow outbound HTTPS (port 443) traffic to the security group of the interface VPC endpoint. Configure the security group attached to the interface VPC endpoint to allow inbound HTTPS traffic from the security group of the EC2 instances.

Cevap

Configure the security group attached to the EC2 instances to allow outbound HTTPS (port 443) traffic to the security group of the interface VPC endpoint, and configure the security group attached to the interface VPC endpoint to allow inbound HTTPS traffic from the security group of the EC2 instances.
The correct answer configuration relies on stateful security groups to establish a private connection. An Interface VPC Endpoint uses an Elastic Network Interface (ENI) within the VPC. To permit the EC2 instances to communicate with the endpoint, the instances' security group must allow outbound HTTPS (port 443) traffic targeting the endpoint's security group. Conversely, the endpoint's security group must allow inbound HTTPS traffic from the EC2 instances' security group.

Adım Adım Çözüm

1
Identify the type of VPC endpoint required for the target AWS service.
AWS KMS only supports Interface VPC Endpoints, which deploy Elastic Network Interfaces (ENIs) with private IP addresses from the subnet.
Determines whether to configure route tables (for Gateway endpoints) or security groups (for Interface endpoints).
2
Determine the direction of traffic between the application instances and the endpoint.
The application on the EC2 instances must initiate outbound HTTPS (port 443) requests to the KMS Interface VPC Endpoint ENI.
Defines the required rules for the security groups attached to both resources.
3
Configure security group rules following the principle of least privilege.
The EC2 instances' security group is configured with an outbound rule allowing port 443 to the endpoint's security group. The endpoint's security group is configured with an inbound rule allowing port 443 from the instances' security group.
Ensures that only authorized traffic from the application instances can access the private KMS endpoint, while blocking unauthorized access.

Anahtar Kavram

Interface VPC Endpoints (AWS PrivateLink) require security groups on the endpoint's network interfaces to control inbound traffic. Security groups are stateful, so configuring outbound rules on the client and inbound rules on the server/endpoint is sufficient.
Tahmini Süre:1m 30s
Soru 100Soru

An organization is deploying a microservices-based application where a backend service runs on Amazon EC2 instances in a private subnet. An integration proxy instance in the public subnet of the same VPC needs to forward incoming customer requests to these backend instances. The company's security policy requires that the backend instances must not be allowed to initiate any outbound connections to the internet or other subnets, but they must be able to receive requests from the integration proxy and return the responses. Which configuration should a solutions architect implement to meet these security requirements?

Cevabı ve açıklamayı göster

Cevap: Associate a security group with the backend EC2 instances that allows inbound traffic from the integration proxy's security group, and remove all outbound rules from this security group.

Cevap

Associate a security group with the backend EC2 instances that allows inbound traffic from the integration proxy's security group, and remove all outbound rules from this security group.
The correct option correctly leverages the stateful nature of security groups. In a VPC, security groups are stateful, meaning any inbound traffic allowed by an inbound rule is automatically permitted to flow out as return traffic, bypassing outbound rules. By removing all outbound rules from the backend security group, the instances are blocked from initiating any outbound connections (e.g., to the internet or other resources), satisfying the security policy while still allowing the instances to respond to incoming requests from the integration proxy.

Adım Adım Çözüm

1
Analyze the statefulness of security groups.
VPC security groups are stateful. This means that if an inbound request is permitted, the corresponding response is automatically allowed to flow out, regardless of any outbound security group rules.
To understand how return traffic will behave when outbound rules are modified.
2
Evaluate the requirement to prevent initiated outbound connections.
Removing all outbound rules from the security group ensures the EC2 instances cannot initiate any outbound sessions (e.g., to the internet or other internal resources).
To satisfy the least privilege security policy of preventing outbound-initiated connections.
3
Differentiate between security groups and Network ACLs (NACLs).
NACLs are stateless and apply at the subnet boundary. Restricting outbound traffic in a NACL (either completely or on ephemeral ports 10241024 to 6553565535) would block the response traffic of the allowed inbound connections, making it unsuitable for this scenario.
To rule out the incorrect NACL-based options.

Anahtar Kavram

Stateful vs Stateless VPC Security Controls
ÖncekiSayfa 5 / 74Sonraki
Tüm alıştırma soruları — AWS Certified Solutions Architect - Associate | Examkin