A gaming company has a web application that displays game scores. The application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The application stores data in an Amazon RDS for MySQL database. Users are experiencing long delays and interruptions caused by degraded database read performance. The company wants to improve the user experience. Which solution will meet this requirement?
-
A
Use an Amazon ElastiCache (Redis OSS) cache in front of the database.
-
B
Use Amazon RDS Proxy between the application and the database.
-
C
Migrate the application from EC2 instances to AWS Lambda functions.
-
D
Use an Amazon Aurora Global Database to create multiple read replicas across multiple AWS Regions.
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation (AWS Docs): ElastiCache provides an in-memory cache layer for frequently accessed queries, reducing latency and offloading read pressure from the database. "You can improve database performance by caching frequently accessed data using Amazon ElastiCache." - ElastiCache Overview
A company uses AWS Lambda functions in a private subnet in a VPC to run application logic. The Lambda functions must not have access to the public internet. Additionally, all data communication must remain within the private network. As part of a new requirement, the application logic needs access to an Amazon DynamoDB table. What is the MOST secure way to meet this new requirement?
-
A
Provision the DynamoDB table inside the same VPC that contains the Lambda functions.
-
B
Create a gateway VPC endpoint for DynamoDB to provide access to the table.
-
C
Use a network ACL to only allow access to the DynamoDB table from the VPC.
-
D
Use a security group to only allow access to the DynamoDB table from the VPC.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation (AWS Docs): You cannot "place" DynamoDB inside a VPC. Instead, you use a VPC endpoint. A Gateway VPC Endpoint for DynamoDB enables private connectivity between your VPC and DynamoDB without traversing the public internet. "Use a gateway VPC endpoint to privately connect your VPC to DynamoDB without requiring an internet gateway or NAT." - Gateway VPC Endpoints
A company has an online gaming application that has TCP and UDP multiplayer gaming capabilities. The company uses Amazon Route 53 to point the application traffic to multiple Network Load Balancers (NLBs) in different AWS Regions. The company needs to improve application performance and decrease latency for the online game in preparation for user growth. Which solution will meet these requirements?
-
A
Add an Amazon CloudFront distribution in front of the NLBs. Increase the Cache-Control: max-age parameter.
-
B
Replace the NLBs with Application Load Balancers (ALBs). Configure Route 53 to use latency-based routing.
-
C
Add AWS Global Accelerator in front of the NLBs. Configure a Global Accelerator endpoint to use the correct listener ports.
-
D
Add an Amazon API Gateway endpoint behind the NLBs. Enable API caching. Override method caching for the different stages.
Reveal answer details
Close answer details
Correct answerC
ExplanationAWS Global Accelerator is designed to improve the availability and performance of applications with global users by using the AWS global network. It provides static anycast IP addresses and routes user traffic over the AWS edge network to the optimal AWS Region and endpoint based on health, geography, and routing policies. Global Accelerator supports both TCP and UDP traffic and can have Network Load Balancers as endpoints. For latency-sensitive workloads such as multiplayer gaming, Global Accelerator reduces latency and jitter compared to internet-based routing and handles Regional failover quickly. CloudFront (Option A) is optimized for HTTP/HTTPS content caching and is not appropriate for arbitrary TCP/UDP gaming traffic. Application Load Balancers (Option B) do not support UDP traffic. API Gateway (Option D) is for HTTP APIs and is not suitable for raw TCP/UDP game traffic.
Question 4
Multiple choice
A company has a data ingestion workflow that consists of the following: 1. An Amazon Simple Notification Service (Amazon SNS) topic for notifications about new data deliveries 2. An AWS Lambda function to process the data and record metadata The company observes that the ingestion workflow fails occasionally because of network connectivity issues. When such a failure occurs, the Lambda function does not ingest the corresponding data unless the company manually reruns the job. Which combination of actions should a solutions architect take to ensure that the Lambda function ingests all data in the future? (Choose two.)
-
A
Deploy the Lambda function in multiple Availability Zones.
-
B
Create an Amazon Simple Queue Service (Amazon SQS) queue, and subscribe it to the SNS topic.
-
C
Increase the CPU and memory that are allocated to the Lambda function.
-
D
Increase provisioned throughput for the Lambda function.
-
E
Modify the Lambda function to read from an Amazon Simple Queue Service (Amazon SQS) queue.
Reveal answer details
Close answer details
A company is creating a mobile financial app that gives users the ability to sign up and store personal information. The app uses an Amazon DynamoDB table to store user details and preferences. The app generates a credit score report by using the data that is stored in DynamoDB. The app sends credit score reports to users once every month. The company needs to provide users with an option to remove their data and preferences. The app must delete customer data within one month of receiving a request to delete the data. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Create an AWS Lambda function to delete user information. Create an Amazon EventBridge rule that runs when a specified TTL expires. Configure the EventBridge rule to invoke the Lambda function.
-
B
Create a DynamoDB stream. Create an AWS Lambda function to delete user information. When a specified TTL expires, write user information to the DynamoDB stream from the DynamoDB table. Configure the DynamoDB stream to invoke the Lambda function to delete user information.
-
C
Enable TTL in DynamoDB. Set the expiration date as an attribute. Create an AWS Lambda function to set the TTL based on the expiration date value. Invoke the Lambda function when a user requests to delete personal data.
-
D
Enable TTL in DynamoDB. Create an AWS Lambda function to delete user information. Configure AWS Config to detect the DynamoDB state change when TTL expires and to invoke the Lambda function.
Reveal answer details
Close answer details
Correct answerC
ExplanationAmazon DynamoDB supports Time to Live (TTL), which automatically and asynchronously deletes expired items based on a timestamp attribute. TTL is ideal for automatic data expiration with very low operational overhead. In this scenario: When a user requests deletion, the system can calculate an expiration timestamp one month in the future. A Lambda function is used once per request to write or update the item's TTL attribute to that timestamp (Option C). DynamoDB TTL then automatically removes the item after the expiration time. Deletion typically occurs within 48 hours of the TTL timestamp, which satisfies the "within one month" requirement. This approach offloads the actual deletion to DynamoDB and avoids building complex orchestration or periodic cleanup jobs. Options A, B, and D add unnecessary components (EventBridge, streams, AWS Config, and Lambda-based deletion workflows) on top of TTL or custom logic, increasing operational overhead without providing additional value for the given requirement.
An ecommerce company is migrating its on-premises workload to the AWS Cloud. The workload consists of a web application and a backend Microsoft SQL Server database. The company expects a high volume of customers during a promotional event. The new AWS infrastructure must be highly available and scalable. Which solution will meet these requirements with the LEAST administrative overhead?
-
A
Migrate the web application to two EC2 instances across two Availability Zones behind an Application Load Balancer. Migrate the database to Amazon RDS for Microsoft SQL Server with read replicas in both Availability Zones.
-
B
Migrate the web application to an EC2 instance in an Auto Scaling group across two Availability Zones behind an Application Load Balancer. Migrate the database to two EC2 instances across separate Regions with database replication.
-
C
Migrate the web application to EC2 instances in an Auto Scaling group across two Availability Zones behind an Application Load Balancer. Migrate the database to Amazon RDS with a Multi-AZ deployment.
-
D
Migrate the web application to three EC2 instances across three Availability Zones behind an Application Load Balancer. Migrate the database to three EC2 instances across three Availability Zones.
Reveal answer details
Close answer details
Correct answerC
ExplanationThe requirements are high availability, scalability for traffic spikes, and least administrative overhead. Option C matches established AWS reference patterns: use an Application Load Balancer + Auto Scaling group for the web tier and a managed database service with Multi-AZ for the database tier. For the web application, placing EC2 instances in an Auto Scaling group across multiple Availability Zones allows the fleet to scale out automatically during the promotional event and to scale in afterward, preserving performance while controlling cost. The Application Load Balancer distributes requests across instances and AZs and removes unhealthy instances from rotation, improving availability. For the database, Amazon RDS Multi-AZ is the simplest managed HA solution for relational engines, including SQL Server. Multi-AZ provides synchronous replication to a standby instance in another Availability Zone and supports automatic failover. This reduces administrative effort because AWS handles replication, failover orchestration, backups, and underlying infrastructure maintenance within service capabilities. It also ensures database availability during instance or AZ-level disruptions. Option A is problematic because RDS for SQL Server does not use read replicas as the primary HA mechanism the way Aurora does, and focusing on replicas does not directly address HA in the simplest supported form. Option B and D rely on self-managed SQL Server on EC2, which requires significant operational overhead (patching, backups, replication setup, failover testing, monitoring, and recovery). Option B also suggests multi-Region replication, which adds complexity and is not required to meet "highly available and scalable" for a single-event scale scenario. Therefore, C provides scalable compute with managed load balancing and managed database high availability, meeting the requirements with the least operational burden.
A global company is migrating its workloads from an on-premises data center to AWS. The AWS environment includes multiple AWS accounts. IAM roles. AWS Config rules, and a VPC. The company wants an automated process to provision new accounts on demand when the company ' s business units require new accounts. Which solution will meet these requirements with LEAST effort?
-
A
Use AWS Control Tower to set up an organization in AWS Organizations. Use AWS Control Tower Account Factory for Terraform (AFT) to provision new AWS accounts.
-
B
Create an organization in AWS Organizations. Use the AWS CLI CreateAccount API action to provision new AWS accounts. Organize the business units with organizational units (OUs).
-
C
Create an AWS Lambda function that uses the AWS Organizations API to create new accounts. Invoke the Lambda function from an AWS CloudFormation template in AWS Service Catalog.
-
D
Create an organization in AWS Organizations. Use AWS Step Functions to orchestrate the account creation process. Send account creation requests to an Amazon API Gateway API endpoint to invoke an AWS Lambda function that creates new accounts.
Reveal answer details
Close answer details
A company stores data in a centralized S3 bucket in Account A. It needs to grant Account B access to this bucket. Both accounts belong to the company. Which solution meets this requirement?
-
A
Enable S3 Transfer Acceleration for Account B.
-
B
Enable cross-Region replication between accounts.
-
C
Use CloudFront with signed URLs to grant access.
-
D
Create a bucket policy granting Account B access to the bucket in Account A.
Reveal answer details
Close answer details
Correct answerD
ExplanationThe recommended and simplest method for granting cross-account access to an S3 bucket is to use a bucket policy that grants permission to the other AWS account. This provides direct, controlled, IAM-based access without duplication of data or use of distribution mechanisms like CloudFront. Transfer Acceleration and replication are unrelated to permissions.
A company generates SSL certificates from a third-party provider. The company imports the certificates into AWS Certificate Manager (ACM) to use with public web applications. A solutions architect must implement a solution to notify the company ' s security team 30 days before an imported certificate expires. The company already has an Amazon Simple Queue Service (Amazon SQS) queue. The company also has an Amazon Simple Notification Service (Amazon SNS) topic that has the security team ' s email address as a subscriber. Which solution will provide the security team with the required notification about certificates?
-
A
Create an AWS Lambda function to scan for expiring certificates. Program the Lambda function to list the certificates in a JSON message and to deliver the message to the SQS queue.
-
B
Create an AWS Lambda function to scan for expiring certificates. Program the Lambda function to list the certificates in a JSON message and to deliver the message to the SNS topic.
-
C
Create an Amazon EventBridge rule that specifies the ACM Certificate Approaching Expiration event type. Set the SQS queue as the rule ' s target.
-
D
Create an Amazon EventBridge rule that specifies the ACM Certificate Approaching Expiration event type. Set the SNS topic as the rule ' s target.
Reveal answer details
Close answer details
Correct answerD
ExplanationComprehensive and Detailed 250 to 300 words of Explanation (AWS documentation-based, no links): The requirement is an automated notification 30 days before an imported ACM certificate expires, delivered to the security team via an existing SNS topic with email subscription. The most operationally efficient approach is to use Amazon EventBridge with the managed event type for ACM certificate expiration. ACM publishes an event when a certificate is approaching expiration, and EventBridge can match that event and route it directly to a target service without custom polling logic. Option D uses an EventBridge rule for the ACM Certificate Approaching Expiration event and sets the SNS topic as the target. This directly delivers an alert to the existing notification channel (email via SNS) and requires minimal code and minimal ongoing maintenance. It also avoids building and scheduling a scanner that must enumerate certificates, calculate dates, handle pagination, and manage failures. Option C sends the event to SQS. While SQS is useful for decoupling and buffering, the requirement is to notify the security team, and SNS is already configured for email delivery. Using SQS would add an extra consumer component to read from the queue and publish notifications, which is additional operational overhead. Options A and B require a custom Lambda-based scanning solution. That introduces scheduling (for example, EventBridge schedule), logic to detect "30 days remaining," error handling, and ongoing maintenance. Since ACM already emits a purpose-built event for expiring certificates, polling is unnecessary and less efficient. Therefore, D is the best solution: it uses a native event from ACM, routes it through EventBridge, and notifies the security team through the existing SNS topic with the least operational effort.
Question 10
Multiple choice
A company needs a cloud-based solution for backup, recovery, and archiving while retaining encryption key material control. Which combination of solutions will meet these requirements? (Select TWO)
-
A
Create an AWS Key Management Service (AWS KMS) key without key material. Import the company ' s key material into the KMS key.
-
B
Create an AWS KMS encryption key that contains key material generated by AWS KMS.
-
C
Store the data in Amazon S3 Standard-Infrequent Access (S3 Standard-IA). Use S3 Bucket Keyswith AWS KMS keys.
-
D
Store the data in an Amazon S3 Glacier storage class. Use server-side encryption with customer-provided keys (SSE-C).
-
E
Store the data in AWS Snowball devices. Use server-side encryption with AWS KMS keys (SSE-KMS).
Reveal answer details
Close answer details
Correct answersA, D
ExplanationOption Aallows importing your own encryption keys into AWS KMS, ensuring control over key material. Option Duses S3 Glacier with SSE-C, where the customer controls the encryption keys, meeting compliance needs. Option Buses AWS-managed key material, violating the requirement for key material control. Option C and Eare not fully compliant with the control requirement.
Question 11
Single choice
A company recently signed a contract with an AWS Managed Service Provider (MSP) Partner for help with an application migration initiative. A solutions architect needs ta share an Amazon Machine Image (AMI) from an existing AWS account with the MSP Partner's AWS account. The AMI is backed by Amazon Elastic Block Store (Amazon EBS) and uses an AWS Key Management Service (AWS KMS) customer managed key to encrypt EBS volume snapshots. What is the MOST secure way for the solutions architect to share the AMI with the MSP Partner's AWS account?
-
A
Make the encrypted AMI and snapshots publicly available. Modify the key policy to allow the MSP Partner's AWS account to use the key.
-
B
Modify the launchPermission property of the AMI. Share the AMI with the MSP Partner's AWS account only. Modify the key policy to allow the MSP Partner's AWS account to use the key.
-
C
Modify the launchPermission property of the AMI. Share the AMI with the MSP Partner's AWS account only. Modify the key policy to trust a new KMS key that is owned by the MSP Partner for encryption.
-
D
Export the AMI from the source account to an Amazon S3 bucket in the MSP Partner's AWS account, Encrypt the S3 bucket with a new KMS key that is owned by the MSP Partner. Copy and launch the AMI in the MSP Partner's AWS account.
Reveal answer details
Close answer details
Question 12
Single choice
A developer creates a web application that runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are in an Auto Scaling group. The developer reviews the deployment and notices some suspicious traffic to the application. The traffic is malicious and is coming from a single public IP address. A solutions architect must block the public IP address. Which solution will meet this requirement?
-
A
Create a security group rule to deny all inbound traffic from the suspicious IP address. Associate the security group with the ALB.
-
B
Implement Amazon Detective to monitor traffic and to block malicious activity from the internet. Configure Detective to integrate with the ALB.
-
C
Implement AWS Resource Access Manager (AWS RAM) to manage traffic rules and to block malicious activity from the internet. Associate AWS RAM with the ALB.
-
D
Add the malicious IP address to an IP set in AWS WAF. Create a web ACL. Include an IP set rule with the action set to BLOCK. Associate the web ACL with the ALB.
Reveal answer details
Close answer details
Correct answerD
ExplanationWhen an application is fronted by an Application Load Balancer (ALB) and malicious traffic is detected from a specific IP, the correct way to block the IP is by using AWS WAF (Web Application Firewall). With AWS WAF, you can create an IP Set to include the offending IP address or range. Then create a Web ACL (Access Control List) with a rule set to BLOCK requests from that IP set. Finally, associate the Web ACL with the ALB. Security groups (Option A) cannot deny specific IPs because they are stateful and allow-only rules. Amazon Detective (Option B) is a security analysis and investigation tool; it doesn't block traffic. AWS RAM (Option C) is for resource sharing across accounts, not for blocking IPs. This approach aligns with AWS's Security Pillar of the Well-Architected Framework and is fully managed, with minimal operational effort. References: Using AWS WAF with an Application Load Balancer Block IPs with AWS WAF
Question 13
Single choice
A company has set up hybrid connectivity between an on-premises data center and AWS by using AWS Site-to-Site VPN. The company is migrating a workload to AWS. The company sets up a VPC that has two public subnets and two private subnets. The company wants to monitor the total packet loss and round-trip-time (RTT) between the data center and AWS. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Use Amazon CloudWatch Network Monitor to set up Internet Control Message Protocol (ICMP) probe monitoring from each subnet to the on-premises destination.
-
B
Create an Amazon EC2 instance in each subnet. Create a scheduled job to send Internet Control Message Protocol (ICMP) packets to the on-premises destination.
-
C
Create an AWS Lambda function in each subnet. Write a script to perform Internet Control Message Protocol (ICMP) connectivity checks.
-
D
Create an AWS Batch job in each subnet. Write a script to perform Internet Control Message Protocol (ICMP) connectivity checks.
Reveal answer details
Close answer details
Correct answerA
ExplanationThe requirement is to monitor network metrics such as total packet loss and round-trip time (RTT) between on-premises and AWS over Site-to-Site VPN with minimal operational overhead. AWS CloudWatch Network Monitor (formerly known as VPC Network Manager) provides a managed solution to monitor connectivity, including packet loss and latency, between AWS and on-premises networks. This solution does not require managing any additional infrastructure like EC2 instances or Lambda functions and thus reduces operational overhead significantly. CloudWatch Network Monitor leverages AWS-managed probes and integrates natively with CloudWatch dashboards and alarms, enabling automated, centralized monitoring of network health. This aligns with the AWS Well-Architected Framework's operational excellence pillar by minimizing manual intervention and enabling proactive detection of network issues. Option B, C, and D involve creating custom probes with EC2, Lambda, or Batch jobs, which increases complexity, cost, and maintenance effort. They also require scheduling, script management, and additional monitoring infrastructure. References: AWS Well-Architected Framework - Operational Excellence Pillar (https://d1.awsstatic.com/whitepapers) /architecture/AWS_Well-Architected_Framework.pdf) Amazon CloudWatch Network Monitor (https://docs.aws.amazon.com/vpc/latest/networkmanager/monitor.) html) AWS Site-to-Site VPN Monitoring (https://docs.aws.amazon.com/vpn/latest/s2svpn/monitoring-cloudwatch.) html)
Question 14
Single choice
A company is migrating some workloads to AWS. However, many workloads will remain on premises. The on-premises workloads require secure and reliable connectivity to AWS with consistent, low-latency performance. The company has deployed the AWS workloads across multiple AWS accounts and multiple VPCs. The company plans to scale to hundreds of VPCs within the next year. The company must establish connectivity between each of the VPCs and from the on-premises environment to each VPC. Which solution will meet these requirements?
-
A
Use an AWS Direct Connect connection to connect the on-premises environment to AWS. Configure VPC peering to establish connectivity between VPCs.
-
B
Use multiple AWS Site-to-Site VPN connections to connect the on-premises environment to AWS. Create a transit gateway to establish connectivity between VPCs.
-
C
Use an AWS Direct Connect connection with a Direct Connect gateway to connect the on-premises environment to AWS. Create a transit gateway to establish connectivity between VPCs. Associate the transit gateway with the Direct Connect gateway.
-
D
Use an AWS Site-to-Site VPN connection to connect the on-premises environment to AWS. Configure VPC peering to establish connectivity between VPCs.
Reveal answer details
Close answer details
Correct answerC
ExplanationThe optimal solution for scalable and resilient hybrid networking is to use AWS Direct Connect with a Direct Connect gateway for secure, low-latency access to AWS, and an AWS Transit Gateway to manage connectivity among hundreds of VPCs. By associating the Transit Gateway with the Direct Connect gateway, you enable transitive routing between on-premises and all VPCs, while minimizing network complexity and maintaining high performance. VPC peering does not scale well, and VPNs don't offer the same performance or consistency.
Question 15
Single choice
A company has an on-premises SFTP file transfer solution. The company is migrating to the AWS Cloud to scale the file transfer solution and to optimize costs by using Amazon S3. The company ' s employees will use their credentials for the on-premises Microsoft Active Directory (AD) to access the new solution. The company wants to keep the current authentication and file access mechanisms. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Configure an S3 File Gateway. Create SMB file shares on the file gateway that use the existing Active Directory to authenticate
-
B
Configure an Auto Scaling group with Amazon EC2 instances to run an SFTP solution Configure the group to scale up at 60% CPU utilization.
-
C
Create an AWS Transfer Family server with SFTP endpoints Choose the AWS Directory Service option as the identity provider Use AD Connector to connect the on-premises Active Directory.
-
D
Create an AWS Transfer Family SFTP endpoint. Configure the endpoint to use the AWS Directory Service option as the identity provider to connect to the existing Active Directory.
Reveal answer details
Close answer details
Correct answerC
ExplanationAWS Transfer Family: This service provides fully managed support for file transfers directly into and out of Amazon S3 using the SFTP, FTPS, and FTP protocols. SFTP Endpoints: Set up an AWS Transfer Family server and configure SFTP endpoints to handle the file transfers. This service is scalable and managed, reducing operational overhead compared to running an SFTP solution on EC2 instances. Integration with Active Directory: Choose the AWS Directory Service option as the identity provider for the Transfer Family server. Use AD Connector to link the on-premises Active Directory with AWS, allowing employees to use their existing AD credentials to access the SFTP service. Operational Efficiency: This solution leverages managed services for both file transfer and identity management, ensuring minimal changes to the current authentication mechanisms and reducing operational overhead. References: AWS Transfer Family AWS Directory Service and AD Connector
Question 16
Single choice
A website uses EC2 instances with Auto Scaling and EFS. How can the company optimize costs?
-
A
Reconfigure the Auto Scaling group to set a desired number of instances. Turn off scheduled scaling.
-
B
Create a new launch template version that uses larger EC2 instances.
-
C
Reconfigure the Auto Scaling group to use a target tracking scaling policy.
-
D
Replace the EFS volume with instance store volumes.
Reveal answer details
Close answer details
Correct answerC
ExplanationOption Censures dynamic scaling based on demand using a target tracking scaling policy, optimizing costs. Option Aresults in over-provisioning, leading to higher costs. Option Bincreases costs by using larger instances. Option Dis not feasible as instance store volumes are ephemeral and unsuitable for shared storage like EFS.
Question 17
Single choice
A company wants to deploy its containerized application workloads to a VPC across three Availability Zones. The company needs a solution that is highly available across Availability Zones. The solution must require minimal changes to the application. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Use Amazon ECS. Configure Amazon ECS Service Auto Scaling to use target tracking scaling. Set the minimum capacity to 3. Set the task placement strategy type to spread with an Availability Zone attribute.
-
B
Use Amazon EKS self-managed nodes. Configure Application Auto Scaling to use target tracking scaling. Set the minimum capacity to 3.
-
C
Use Amazon EC2 Reserved Instances. Launch three EC2 instances in a spread placement group. Configure an Auto Scaling group to use target tracking scaling. Set the minimum capacity to 3.
-
D
Use an AWS Lambda function. Configure the Lambda function to connect to a VPC. Configure Application Auto Scaling to use Lambda as a scalable target. Set the minimum capacity to 3.
Reveal answer details
Close answer details
Correct answerA
ExplanationAmazon ECS is the lowest-overhead choice because it avoids the control-plane and node-management work of EKS or raw EC2 while still supporting highly available multi-AZ placement. AWS ECS guidance notes that the service scheduler canspread tasks across Availability Zones, and target tracking scaling is a standard way to scale ECS services based on demand. Setting a minimum capacity of 3 ensures at least one task can remain in each Availability Zone, improving resilience. The EC2 and EKS options require more infrastructure management, and Lambda is not the right fit for generic containerized application workloads. Therefore, ECS with spread placement across AZs and service auto scaling is the best answer.
Question 18
Single choice
A company needs to connect its on-premises data center network to a new VPC. The data center network has a 100 Mbps symmetrical internet connection. An application that is running on premises will transfer multiple gigabytes of data each day. The application will use an Amazon Data Firehose delivery stream for processing. What should a solutions architect recommend for maximum performance?
-
A
Create a VPC peering connection between the on-premises network and the VPC. Configure routing for the on-premises network to use the VPC peering connection.
-
B
Procure an AWS Snowball Edge Storage Optimized device. After several days ' worth of data has accumulated, copy the data to the device and ship the device to AWS for expedited transfer to Firehose. Repeat as needed.
-
C
Create an AWS Site-to-Site VPN connection between the on-premises network and the VPC. Configure BGP routing between the customer gateway and the virtual private gateway. Use the VPN connection to send the data from on premises to Firehose.
-
D
Use AWS PrivateLink to create an interface VPC endpoint for Firehose in the VPC. Set up a 1 Gbps AWS Direct Connect connection between the on-premises network and AWS. Use the PrivateLink endpoint to send the data from on premises to Firehose.
Reveal answer details
Close answer details
Correct answerD
ExplanationAWS Direct Connect provides a dedicated network connection from on-premises to AWS, offering greater bandwidth and more consistent performance than internet-based connections or VPN. AWS PrivateLink enables secure, private connectivity to supported AWS services such as Kinesis Data Firehose over Direct Connect, bypassing the public internet and providing the highest throughput and lowest latency possible. This is the recommended solution for consistently transferring large volumes of data with maximum reliability and performance. Reference Extract from AWS Documentation / Study Guide: " AWS Direct Connect and AWS PrivateLink provide private, high-throughput connectivity between on-premises and AWS services, bypassing the public internet and ensuring maximum performance for large data transfers. " Source: AWS Certified Solutions Architect - Official Study Guide, Hybrid Networking section.
Question 19
Single choice
A company wants to design a microservices architecture for an application. Each microservice must perform operations that can be completed within 30 seconds. The microservices need to expose RESTful APIs and must automatically scale in response to varying loads. The APIs must also provide client access control and rate limiting to maintain equitable usage and service availability. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Use Amazon Elastic Container Service (Amazon ECS) on Amazon EC2 to host each microservice. Use Amazon API Gateway to manage the RESTful API requests.
-
B
Deploy each microservice as a set of AWS Lambda functions. Use Amazon API Gateway to manage the RESTful API requests.
-
C
Host each microservice on Amazon EC2 instances in Auto Scaling groups behind an Elastic Load Balancing (ELB) load balancer. Use the ELB to manage the RESTful API requests.
-
D
Deploy each microservice on Amazon Elastic Beanstalk. Use Amazon CloudFront to manage the RESTful API requests.
Reveal answer details
Close answer details
Question 20
Single choice
A solutions architect is designing the architecture for a company website that is composed of static content. The company ' s target customers are located in the United States and Europe. Which architecture should the solutions architect recommend to MINIMIZE cost?
-
A
Store the website files on Amazon S3 in the us-east-2 Region. Use an Amazon CloudFront distribution with the price class configured to limit the edge locations in use.
-
B
Store the website files on Amazon S3 in the us-east-2 Region. Use an Amazon CloudFront distribution with the price class configured to maximize the use of edge locations.
-
C
Store the website files on Amazon S3 in the us-east-2 Region and the eu-west-1 Region. Use an Amazon CloudFront geolocation routing policy to route requests to the closest Region to the user.
-
D
Store the website files on Amazon S3 in the us-east-2 Region and the eu-west-1 Region. Use an Amazon CloudFront distribution with an Amazon Route 53 latency routing policy to route requests to the closest Region to the user.
Reveal answer details
Close answer details
Correct answerA
ExplanationThe question focuses on minimizing costs while serving static content to users in the US and Europe. Option Auses a single S3 bucket and configures CloudFront to limit edge locations, reducing costs by using fewer edge locations while still improving performance. Option Bmaximizes edge locations, which increases costs unnecessarily. Options C and Dinvolve storing data in multiple regions, which increases storage and operational costs.Thus, Option A is the most cost-effective solution.
Question 21
Single choice
A company has a three-tier web application. An Application Load Balancer (ALB) is in front of Amazon EC2 instances that are in the ALB target group. An Amazon S3 bucket stores documents. The company requires the application to meet a recovery time objective (RTO) of 60 seconds. Which solution will meet this requirement?
-
A
Replicate S3 objects to a second AWS Region. Create a second ALB and a minimum set of EC2 instances in the second Region. Ensure that the EC2 instances are shut down until they are needed. Configure Amazon Route 53 to fail over to the second Region by using an IP-based routing policy.
-
B
Use AWS Backup to take hourly backups of the EC2 instances. Back up the S3 data to a second AWS Region. Use AWS CloudFormation to deploy the entire infrastructure in the second Region when needed.
-
C
Create daily snapshots of the EC2 instances in a second AWS Region. Use the snapshots to recreate the instances in the second Region. Back up the S3 data to the second Region. Perform a failover by modifying the application DNS record when needed.
-
D
Replicate S3 objects to a second AWS Region. Create a second ALB and a minimum set of EC2 instances in the second Region. Ensure that the EC2 instances in the second Region are running. Configure Amazon Route 53 to fail over to the secondary Region based on health checks.
Reveal answer details
Close answer details
Correct answerD
ExplanationTo achieve a 60-second RTO, pre-warming the DR environment (including running EC2 instances and Route 53 health checks) is essential. Active/passive failover using Route 53 with health checks ensures fast redirection when the primary Region becomes unavailable. S3 cross-region replication ensures document availability. References: AWS Disaster Recovery - Active-Passive Strategy with Route 53 and Health Checks
Question 22
Multiple choice
A company uses a Microsoft SQL Server database. The applications currently connect using SQL Server protocols. The company wants to migrate to Amazon Aurora PostgreSQL with minimal changes to application code. Which combination of steps will meet these requirements? (Select TWO.)
-
A
Use AWS SCT to rewrite SQL queries in the applications.
-
B
Enable Babelfish on Aurora PostgreSQL to run SQL Server queries.
-
C
Migrate the database schema and data using AWS SCT and AWS DMS.
-
D
Use Amazon RDS Proxy to connect the applications to Aurora PostgreSQL.
-
E
Use AWS DMS to rewrite SQL queries in the applications.
Reveal answer details
Close answer details
Correct answersB, C
ExplanationAmazon Aurora PostgreSQL with Babelfish allows Aurora to understand SQL Server T-SQL and the SQL Server wire protocol. This enables applications to continue using SQL Server drivers, minimizing code changes (Option B). Migration of schema and data is performed using AWS Schema Conversion Tool (SCT) and AWS Database Migration Service (DMS) (Option C), which is the AWS-recommended migration pattern for heterogeneous database migrations. AWS DMS (Option E) does not rewrite application SQL. RDS Proxy (Option D) does not translate SQL Server protocols. Option A requires rewriting application queries, which contradicts the "minimal changes" requirement.
Question 23
Single choice
A company runs an on-premises application on a Kubernetes cluster. The company recently added millions of new customers. The company ' s existing on-premises infrastructure is unable to handle the large number of new customers. The company needs to migrate the on-premises application to the AWS Cloud. The company will migrate to an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. The company does not want to manage the underlying compute infrastructure for the new architecture on AWS. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Use a self-managed node to supply compute capacity. Deploy the application to the new EKS cluster.
-
B
Use managed node groups to supply compute capacity. Deploy the application to the new EKS cluster.
-
C
Use AWS Fargate to supply compute capacity. Create a Fargate profile. Use the Fargate profile to deploy the application.
-
D
Use managed node groups with Karpenter to supply compute capacity. Deploy the application to the new EKS cluster.
Reveal answer details
Close answer details
Correct answerC
ExplanationAWS Fargate is a serverless compute engine for containers that works with Amazon EKS. With Fargate, you do not need to provision or manage EC2 instances or clusters. You simply define and deploy your pods, and Fargate automatically launches the required compute resources. This results in the lowest operational overhead because AWS manages the infrastructure. Fargate profiles allow you to specify which pods run on Fargate. AWS Documentation Extract: "AWS Fargate is a serverless, pay-as-you-go compute engine that lets you focus on building applications without managing servers. With Amazon EKS and Fargate, you only need to define your application's pods; Fargate provisions and manages the required compute resources for you." (Source: Amazon EKS documentation, AWS Fargate integration) Other options: A: Self-managed nodes require you to manage EC2 instances. B: Managed node groups reduce some overhead, but you are still responsible for patching and managing the EC2 instances. D: Managed node groups with Karpenter automate scaling but do not remove the need to manage underlying instances. References: AWS Certified Solutions Architect - Official Study Guide, EKS and Fargate Section.
Question 24
Single choice
A company runs container applications by using Amazon Elastic Kubernetes Service (Amazon EKS) and the Kubernetes Horizontal Pod Autoscaler. The workload is not consistent throughout the day. A solutions architect notices that the number of nodes does not automatically scale out when the existing nodes have reached maximum capacity in the cluster, which causes performance issues. Which solution will resolve this issue with the LEAST administrative overhead?
-
A
Scale out the nodes by tracking the memory usage.
-
B
Use the Kubernetes Cluster Autoscaler to manage the number of nodes in the cluster.
-
C
Use an AWS Lambda function to resize the EKS cluster automatically.
-
D
Use an Amazon EC2 Auto Scaling group to distribute the workload.
Reveal answer details
Close answer details
Correct answerB
ExplanationThe Kubernetes Horizontal Pod Autoscaler (HPA) scales pods, not nodes. When the cluster runs out of node capacity, the HPA cannot schedule more pods. On Amazon EKS, AWS recommends using the Kubernetes Cluster Autoscaler to automatically adjust the number of nodes in the cluster's underlying Auto Scaling group based on pending pods. Cluster Autoscaler watches for pods that cannot be scheduled because of insufficient resources and then scales out nodes automatically with minimal administrative overhead. It also scales in nodes when they are underutilized. Why others are not correct: A: Just tracking memory usage does not automatically scale nodes or integrate with Kubernetes scheduling. C: A custom Lambda-based resizer is unnecessary undifferentiated heavy lifting compared to the native Cluster Autoscaler. D: An Auto Scaling group is already typically used under EKS, but by itself it does not respond to pod scheduling pressure without Cluster Autoscaler.
Question 25
Single choice
A company wants to enhance its ecommerce order-processing application that is deployed on AWS. The application must process each order exactly once without affecting the customer experience during unpredictable traffic surges. Which solution will meet these requirements?
-
A
Create an Amazon Simple Queue Service (Amazon SQS) FIFO queue. Put all the orders in the SQS queue. Configure an AWS Lambda function as the target to process the orders.
-
B
Create an Amazon Simple Notification Service (Amazon SNS) standard topic. Publish all the orders to the SNS standard topic. Configure the application as a notification target.
-
C
Create a flow by using Amazon AppFlow. Send the orders to the flow. Configure an AWS Lambda function as the target to process the orders.
-
D
Configure AWS X-Ray in the application to track the order requests. Configure the application to process the orders by pulling the orders from Amazon CloudWatch.
Reveal answer details
Close answer details
Correct answerA
ExplanationAmazon SQS FIFO queues guarantee the order of message delivery and ensure that each message is delivered exactly once. Paired with AWS Lambda, this creates a scalable, fault-tolerant architecture that processes each order in order and prevents duplicates, which is critical for ecommerce workflows. References: AWS Documentation - Amazon SQS FIFO Queues and Exactly-Once Processing
Question 26
Single choice
An analytics company wants to deploy a custom extract, transform, and load ETL solution as a containerized application on AWS. The application requires high-performance access to files that are in a centralized repository. File processing can take up to 1 hour to finish. Which solution will meet these requirements?
-
A
Deploy an AWS Lambda function from a container image. Create and attach an Amazon EFS file system to the function.
-
B
Deploy containers on Amazon ECS with the Amazon EC2 launch type. Configure the EC2 instances to use instance store volumes.
-
C
Deploy containers on Amazon ECS with the AWS Fargate launch type. Mount an Amazon EFS file system to the containers.
-
D
Create an Amazon S3 Express One Zone bucket to store the files. Deploy an AWS Lambda function from a container image. Process files from the S3 Express One Zone bucket.
Reveal answer details
Close answer details
Correct answerC
ExplanationAmazon ECS on AWS Fargate with Amazon EFS is the best match because it combines managed container orchestration with shared persistent storage. AWS documentation explains that Amazon EFS volumes can be used with Amazon ECS so tasks can access the same persistent file system regardless of where they run. AWS also notes that EFS volumes are useful for horizontally scaled containerized applications that need shared storage, low latency, and high throughput. Lambda is a poor fit here because Lambda invocations have a maximum timeout of 15 minutes, while the question states processing can take up to 1 hour. Instance store volumes on ECS EC2 are local to the host and do not provide the centralized persistent repository the workload needs. Fargate plus EFS best satisfies performance, duration, and operational efficiency.
Question 27
Single choice
A company is migrating an online marketplace application from a mainframe system to an Auto Scaling group of Amazon EC2 instances. The EC2 instances access an Amazon Aurora cluster. The application requires a scalable, persistent caching solution to store the results of in-progress transactions and SQL queries.
Which solution will meet these requirements?
-
A
Use an Amazon ElastiCache (Redis OSS) cluster to serve transaction and query results.
-
B
Use an Amazon CloudFront distribution with an Amazon S3 bucket as the origin to cache the transactions. Add an Amazon EC2 instance store volume to the EC2 instances for query result caching.
-
C
Use an Amazon ElastiCache (Memcached) cluster to serve transaction and query results.
-
D
Use an Amazon ElastiCache (Redis OSS) cluster to cache the transactions. Add an Amazon EC2 instance store volume to the EC2 instances for query result caching.
Reveal answer details
Close answer details
Correct answerA
ExplanationWhy Option A is Correct: ElastiCache for Redis: Provides persistent, scalable caching for in-progress transactions and SQL queries. Redis supports data durability and advanced features, making it suitable for transactional workloads. Integration with Aurora: Easily integrates with the Aurora cluster to improve query performance. Why Other Options Are Not Ideal: Option B: CloudFront and S3 are unsuitable for transactional caching. EC2 instance store volumes are ephemeral and lack persistence. Option C: Memcached does not offer persistence or advanced transactional support, unlike Redis. Option D: Combining Redis with EC2 instance store is unnecessary; Redis alone meets all caching requirements. References: Amazon ElastiCache:AWS Documentation - ElastiCache
Question 28
Single choice
A company recently migrated to AWS and wants to implement a solution to protect the traffic that flows in and out of the production VPC. The company had an inspection server in its on-premises data center. The inspection server performed specific operations such as traffic flow inspection and traffic filtering. The company wants to have the same functionalities in the AWS Cloud. Which solution will meet these requirements?
-
A
Use Amazon GuardDuty for traffic inspection and traffic filtering in the production VPC.
-
B
Use Traffic Mirroring to mirror traffic from the production VPC for traffic inspection and filtering.
-
C
Use AWS Network Firewall to create the required rules for traffic inspection and traffic filtering for the production VPC.
-
D
Use AWS Firewall Manager to create the required rules for traffic inspection and traffic filtering for the production VPC.
Reveal answer details
Close answer details
Question 29
Single choice
A company is designing a new ecommerce application for a high-traffic retail website. The application needs to process a large volume of customer orders. The application must scale to handle spikes in order volume during peak shopping events. Which solution will meet these requirements?
-
A
Use a single large Amazon EC2 instance to run processing logic and to store order information. Run a relational database on the same EC2 instance.
-
B
Use a single Amazon EC2 instance to run processing logic. Control the flow of orders into the EC2 instance by using an Amazon SQS queue. Use an Amazon S3 bucket to store order information.
-
C
Use an Amazon API Gateway HTTP API and an AWS Lambda function to process orders. Use Amazon DynamoDB in on-demand mode to store order information.
-
D
Use an Application Load Balancer ALB to distribute order processing traffic across multiple Amazon EC2 instances that run processing logic. Use Amazon Aurora with multiple reader nodes as the database.
Reveal answer details
Close answer details
Correct answerC
ExplanationFor spiky retail order traffic, a serverless architecture is a strong fit because it scales automatically without pre-provisioning servers. API Gateway can receive the order requests, Lambda can process them on demand, and DynamoDB on-demand mode can absorb unpredictable bursts without capacity planning. This design is more elastic than the EC2-based answers and avoids the single-instance bottlenecks in A and B. Option D is scalable, but it involves more infrastructure management and reader nodes do not directly solve write-heavy order-ingestion spikes. Therefore, API Gateway plus Lambda plus DynamoDB on-demand is the most resilient and scalable solution for this high-traffic event-driven workload.
Question 30
Single choice
A company hosts its applications in multiple private and public subnets in a VPC. The applications in the private subnets need to access an API. The API is available on the internet and is hosted in the company ' s on-premises data center. A solutions architect needs to establish connectivity for applications in the private subnets. Which solution will meet these requirements MOST cost-effectively?
-
A
Create a transit gateway to connect the VPC to the on-premises network. Use the transit gateway to route API calls from the private subnets to the on-premises data center.
-
B
Create a NAT gateway in the public subnet of the VPC. Use the NAT gateway to allow the private subnets to access the API over the internet.
-
C
Establish an AWS PrivateLink connection to connect the VPC to the on-premises network. Use PrivateLink to make API calls from the private subnets to the on-premises data center.
-
D
Implement an AWS Site-to-Site VPN connection between the VPC and the on-premises data center. Use the VPN connection to make API calls from the private subnets to the on-premises data center.
Reveal answer details
Close answer details
Correct answerD
ExplanationAWS Site-to-Site VPN is a cost-effective way to securely connect your on-premises data center with AWS resources. In this scenario: Applications in private subnetsrequire access to the API hosted in the on-premises data center. ASite-to-Site VPN connectionis a secure and cost-efficient option to route traffic between the VPC and on-premises resources. Transit GatewayandPrivateLinkare not cost-effective for this use case. NAT Gatewayonly provides internet access for private subnets, which is not suitable for reaching an on-premises resource. References: AWS Site-to-Site VPN
Question 31
Single choice
A company is developing an application using Amazon Aurora MySQL. The team will frequently make schema changes to test new features without affecting production. After testing, changes must be promoted to production with minimal downtime. Which solution meets these requirements?
-
A
Create a staging Aurora cluster based on the existing cluster. Test schema changes on the staging cluster.
-
B
Create a read replica, modify its schema, and then promote it to primary.
-
C
Create an Aurora MySQL blue/green deployment. Make schema changes in the staging environment and switch traffic after testing.
-
D
Replicate the Aurora database to DynamoDB, apply schema changes, and switch the application to DynamoDB.
Reveal answer details
Close answer details
Correct answerC
ExplanationAurora blue/green deployments are specifically designed for safe schema changes, zero-downtime updates, and production isolation. The staging (green) environment can receive schema changes without affecting production (blue). After validation, you perform a fast, minimally disruptive switchover that updates production. Read replicas (Option B) do not allow schema changes. Creating an independent staging cluster (Option A) does not provide automated, low-downtime cutover. DynamoDB (Option D) is not compatible with MySQL schemas.
Question 32
Single choice
A company's application integrates with multiple software-as-a-service (SaaS) sources for data collection. The company runs Amazon EC2 instances to receive the data and to upload the data to an Amazon S3 bucket for analysis. The same EC2 instance that receives and uploads the data also sends a notification to the user when an upload is complete. The company has noticed slow application performance and wants to improve the performance as much as possible. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Create an Auto Scaling group so that EC2 instances can scale out. Configure an S3 event notification to send events to an Amazon Simple Notification Service (Amazon SNS) topic when the upload to the S3 bucket is complete.
-
B
Create an Amazon AppFlow flow to transfer data between each SaaS source and the S3 bucket. Configure an S3 event notification to send events to an Amazon Simple Notification Service (Amazon SNS) topic when the upload to the S3 bucket is complete.
-
C
Create an Amazon EventBridge (Amazon CloudWatch Events) rule for each SaaS source to send output data. Configure the S3 bucket as the rule's target. Create a second EventBridge (Cloud Watch Events) rule to send events when the upload to the S3 bucket is complete. Configure an Amazon Simple Notification Service (Amazon SNS) topic as the second rule's target.
-
D
Create a Docker container to use instead of an EC2 instance. Host the containerized application on Amazon Elastic Container Service (Amazon ECS). Configure Amazon CloudWatch Container Insights to send events to an Amazon Simple Notification Service (Amazon SNS) topic when the upload to the S3 bucket is complete.
Reveal answer details
Close answer details
Question 33
Single choice
A company is creating an application. The company stores data from tests of the application in multiple on-premises locations. The company needs to connect the on-premises locations to VPCs in an AWS Region in the AWS Cloud. The number of accounts and VPCs will increase during the next year. The network architecture must simplify the administration of new connections and must provide the ability to scale. Which solution will meet these requirements with the LEAST administrative overhead?
-
A
Create a peering connection between the VPCs. Create a VPN connection between the VPCs and the on-premises locations.
-
B
Launch an Amazon EC2 instance. On the instance, include VPN software that uses a VPN connection to connect all VPCs and on-premises locations.
-
C
Create a transit gateway. Create VPC attachments for the VPC connections. Create VPNattachments for the on-premises connections.
-
D
Create an AWS Direct Connect connection between the on-premises locations and a central VPC. Connect the central VPC to other VPCs by using peering connections.
Reveal answer details
Close answer details
Correct answerC
ExplanationAWS Transit Gateway simplifies network connectivity by acting as a hub that can connect VPCs and on-premises networks through VPN or Direct Connect. It provides scalability and reduces administrative overhead by eliminating the need to manage complex peering relationships as the number of accounts and VPCs grows. References: AWS Documentation - Transit Gateway
Question 34
Single choice
A company wants to standardize its Amazon Elastic Block Store (Amazon EBS) volume encryption strategy. The company also wants to minimize the cost and configuration effort required to operate the volume encryption check. Which solution will meet these requirements?
-
A
Write API calls to describe the EBS volumes and to confirm the EBS volumes are encrypted. Use Amazon EventBridge to schedule an AWS Lambda function to run the API calls.
-
B
Write API calls to describe the EBS volumes and to confirm the EBS volumes are encrypted. Run the API calls on an AWS Fargate task.
-
C
Create an AWS Identity and Access Management (IAM) policy that requires the use of tags on EBS volumes. Use AWS Cost Explorer to display resources that are not properly tagged. Encrypt the untagged resources manually.
-
D
Create an AWS Config rule for Amazon EBS to evaluate if a volume is encrypted and to flag the volume if it is not encrypted.
Reveal answer details
Close answer details
Correct answerD
ExplanationAWS Config is a service that enables you to assess, audit, and evaluate the configurations of your AWS resources. By creating a Config rule, you can automatically check whether your Amazon EBS volumes are encrypted and flag those that are not, with minimal cost and configuration effort. AWS Config Rule: AWS Config provides managed rules that you can use to automatically check the compliance of your resources against predefined or custom criteria. In this case, you wouldcreate a rule to evaluate EBS volumes and determine if they are encrypted. If a volume is not encrypted, the rule will flag it, allowing you to take corrective action. Operational Overhead: This approach significantly reduces operational overhead because once the rule is in place, it continuously monitors your EBS volumes for compliance, and there's no need for manual checks or custom scripting. Why Not Other Options?: Option A (Lambda with API calls and EventBridge): While this can work, it involves writing and maintaining custom code, which increases operational overhead compared to using a managed AWS Config rule. Option B (API calls on Fargate): Running API calls on Fargate is more complex and costly compared to using AWS Config, which provides a simpler, managed solution. Option C (IAM policy with Cost Explorer): This option does not directly enforce encryption compliance and involves manual intervention, making it less efficient and more prone to errors. References: AWS Config Rules-Overview of AWS Config rules and how they can be used to evaluate resource configurations. Amazon EBS Encryption-Information on how to manage and enforce encryption for EBS volumes.
Question 35
Single choice
A company operates multiple VPCs in a single AWS account. Account users need temporary access to Amazon S3 buckets. The S3 buckets are private and have no public endpoints. The solution must follow the principle of least privilege for access to each environment and must avoid distributing permanent access keys. Which solution will meet these requirements?
-
A
Create a gateway VPC endpoint for Amazon S3 in each VPC. Attach an endpoint policy that allows only environment-scoped IAM roles to access the S3 buckets.
-
B
Configure the S3 buckets to use SSE-S3. Create bucket policies that allow access only from the VPC CIDR blocks.
-
C
Define separate S3 access points for each environment. Allow users to assume a role associated with the access points. Use the default Amazon S3 endpoints.
-
D
Route S3 traffic through a NAT gateway. Configure bucket policies that allow traffic only from the NAT gateway's public IP addresses.
Reveal answer details
Close answer details
Correct answerA
ExplanationAWS documentation states that the most secure method for granting private S3 access from VPCs is to use gateway VPC endpoints for Amazon S3. Endpoint policies enforce least privilege by allowing only specific IAM roles access to specific S3 buckets. Because users can obtain temporary credentials through IAM roles, no permanent access keys must be distributed. S3 bucket policies based on CIDR ranges (Option B) are less secure because CIDR-based access is broader and can grant unintended access. Access points (Option C) still rely on public S3 endpoints unless combined with VPC-only access, which is not stated here. Option D exposes S3 to public internet egress and depends on public IPs, violating least-privilege principles.
Question 36
Single choice
A company wants to migrate an on-premises video processing application to AWS. Processing times range from 5-30 minutes. The application must run multiple jobs in parallel. The application processes videos that users upload to an Amazon S3 bucket. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Configure the S3 bucket to send S3 event notifications to an Amazon SQS standard queue. Deploy the application on an Amazon ECS cluster. Configure automatic scaling for AWS Fargate tasks based on the SQS queue size.
-
B
Configure the S3 bucket to send S3 event notifications to an Amazon SQS FIFO queue. Deploy the application on Amazon EC2 instances. Create an Auto Scaling group to scale based on the SQS queue size.
-
C
Configure the S3 bucket to send S3 event notifications to an Amazon SQS standard queue. Deploy the application as an AWS Lambda function. Configure the Lambda function to poll the SQS queue.
-
D
Configure the S3 bucket to send S3 event notifications to an Amazon SNS topic. Deploy the application as an AWS Lambda function. Configure the SNS topic to invoke the Lambda function.
Reveal answer details
Close answer details
Correct answerA
ExplanationThe correct answer isAbecause the application processes videos for5-30 minutes, must runmultiple jobs in parallel, and should have theleast operational overhead.Amazon ECS with AWS Fargateis a managed container solution that removes the need to provision and manage EC2 instances while still supporting longer-running parallel jobs. UsingAmazon SQS standard queuesdecouples the upload event from processing and provides a scalable buffer for incoming work. With this design, Amazon S3 sends object-created notifications to the SQS queue whenever users upload videos. ECS services or tasks on Fargate can then consume messages from the queue and process videos independently. Auto scaling based onSQS queue depthensures the system increases task count when more videos arrive and decreases capacity when demand drops. This provides elasticity and efficient parallel processing with minimal infrastructure management. Option B is incorrect because EC2-based scaling introduces more operational overhead than Fargate. Option C is incorrect because AWS Lambda has a maximum execution duration and is not appropriate for jobs that can run up to 30 minutes. Option D is also incorrect for the same reason; Lambda is not the best fit for this processing duration, and SNS does not provide the same durable queued work pattern as SQS for controlled parallel processing. AWS best practices recommend usingevent-driven queues with containerized workersfor medium-duration processing jobs that need concurrency and minimal management. Therefore,S3 + SQS + ECS on Fargate with queue-based scalingis the best solution.
Question 37
Single choice
A company is planning to migrate multiple workloads to Amazon EC2 instances and needs to determine an appropriate AWS account structure. The workloads must be isolated from one another and belong to separate business units. The company needs to be able to perform chargeback to the business units by using a consolidated monthly view. Which solution will meet these requirements with the LEAST administrative overhead?
-
A
Create a separate standalone AWS account for each business unit. Create a script to call AWS Cost Explorer APIs from each account to perform chargeback.
-
B
Create a single organization in AWS Organizations. Create a member account for each business unit. Use the bill from the organization management account to perform chargeback.
-
C
Create a single AWS account for all the business units. Assign tags to the EC2 instances that correspond with the business units. Activate the tags for cost allocation to perform chargeback by using AWS Cost Explorer.
-
D
Create a separate organization in AWS Organizations for each business unit. Use the bill in each organization management account to perform chargeback.
Reveal answer details
Close answer details
Correct answerB
ExplanationAWS Organizations is the best fit because it providesaccount-level isolationandconsolidated billingacross member accounts. AWS documentation states that the management account receives a single bill that combines usage from all member accounts, which directly supports a consolidated monthly chargeback view. Creating a member account per business unit also satisfies the isolation requirement better than sharing one account with tags. Separate organizations per unit would add unnecessary overhead and remove the simplicity of a single consolidated management structure. Therefore, a single AWS Organization with one member account per business unit is the cleanest and lowest-overhead design. (docs.aws.amazon.com)
Question 38
Single choice
A company has an Amazon S3 data lake that is governed by AWS Lake Formation. The company wants to create a visualization in Amazon QuickSight by joining the data in the data lake with operational data that is stored in an Amazon Aurora MySQL database. The company wants to enforce column-level authorization so that the company ' s marketing team can access only a subset of columns in the database. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Use Amazon EMR to ingest the data directly from the database to the QuickSight SPICE engine. Include only the required columns.
-
B
Use AWS Glue Studio to ingest the data from the database to the S3 data lake. Attach an IAM policy to the QuickSight users to enforce column-level access control. Use Amazon S3 as the data source in QuickSight.
-
C
Use AWS Glue Elastic Views to create a materialized view for the database in Amazon S3. Create an S3 bucket policy to enforce column-level access control for the QuickSight users. Use Amazon S3 as the data source in QuickSight.
-
D
Use a Lake Formation blueprint to ingest the data from the database to the S3 data lake. Use Lake Formation to enforce column-level access control for the QuickSight users. Use Amazon Athena as the data source in QuickSight.
Reveal answer details
Close answer details
Correct answerD
ExplanationAWS Lake Formation provides centralized data access control, including fine-grained (column-level) permissions for data stored in S3 and accessed through services like Amazon Athena. Using a Lake Formation blueprint to ingest data from Aurora MySQL into the data lake keeps ingestion and governance integrated. When QuickSight uses Athena as the data source, Athena enforces Lake Formation's column-level permissions automatically. This allows the marketing team to see only the authorized subset of columns without custom access-control logic. Options A, B, and C rely on manually limiting columns at ingestion time or using IAM or S3 bucket policies, which do not provide true column-level authorization for SQL queries and require significantly more manual work and maintenance.
Question 39
Single choice
A company uses Amazon EC2 instances and Amazon Elastic Block Store (Amazon EBS) volumes to run an application. The company creates one snapshot of each EBS volume every day. The company needs to prevent users from accidentally deleting the EBS volume snapshots. The solution must not change the administrative rights of a storage administrator user. Which solution will meet these requirements with the LEAST administrative effort?
-
A
Create an IAM role that has permission to delete snapshots. Attach the role to a new EC2 instance. Use the AWS CLI from the new EC2 instance to delete snapshots.
-
B
Create an IAM policy that denies snapshot deletion. Attach the policy to the storage administrator user.
-
C
Add tags to the snapshots. Create tag-level retention rules in the Recycle Bin for EBS snapshots. Configure rule lock settings for the retention rules.
-
D
Take EBS snapshots by using the EBS direct APIs. Copy the snapshots to an Amazon S3 bucket. Configure S3 Versioning and Object Lock on the bucket.
Reveal answer details
Close answer details
Correct answerC
ExplanationAmazon EBS Snapshots Recycle Bin enables you to specify retention rules for EBS snapshots based on tags. When snapshots are deleted, they are retained in the Recycle Bin for a specified duration, preventing accidental deletion. Tag-level rules allow selective protection without changing IAM roles or user permissions. References: AWS Documentation - Amazon EBS Snapshots and Recycle Bin
Question 40
Single choice
A company is setting up a development environment on AWS for a team of developers. The team needs to access multiple Amazon S3 buckets to store project data. The team also needs to use Amazon EC2 to run development instances. The company needs to ensure that the developers have access only to specific Amazon S3 buckets and EC2 instances. Access permissions must be assigned according to each developer ' s role on the team. The company wants to minimize the use of permanent credentials and to ensure access is securely managed according to the principle of least privilege. Which solution will meet these requirements?
-
A
Create IAM roles that have administrative-level permissions for Amazon S3 and Amazon EC2. Require developers to sign in by using Amazon Cognito to access Amazon S3 and Amazon EC2.
-
B
Create IAM roles that have fine-grained permissions for Amazon S3 and Amazon EC2. Configure AWS IAM Identity Center to manage credentials for the developers.
-
C
Create IAM users that have programmatic access to Amazon S3 and Amazon EC2. Generate individual access keys for each developer to access Amazon S3 and Amazon EC2.
-
D
Create a VPC endpoint for Amazon S3. Require developers to access Amazon EC2 instances and Amazon S3 buckets through a bastion host.
Reveal answer details
Close answer details
Correct answerB
ExplanationThe most secure and manageable way to provide developers with temporary, least-privilege access is by using AWS IAM Identity Center (formerly AWS SSO). IAM Identity Center allows assigning IAM roles with scoped permissions based on the developer's team role. This ensures no permanent credentials are required and minimizes risk. Option B enables role-based access with centralized identity and access management, making it the most secure and scalable solution for managing developer permissions.
Question 41
Single choice
A company is building an application on AWS. The application uses multiple AWS Lambda functions to retrieve sensitive data from a single Amazon S3 bucket for processing. The company must ensure that only authorized Lambda functions can access the data. The solution must comply with the principle of least privilege. Which solution will meet these requirements?
-
A
Grant full S3 bucket access to all Lambda functions through a shared IAM role.
-
B
Configure the Lambda functions to run within a VPC. Configure a bucket policy to grant access based on the Lambda functions' VPC endpoint IP addresses.
-
C
Create individual IAM roles for each Lambda function. Grant the IAM roles access to the S3 bucket. Assign each IAM role as the Lambda execution role for its corresponding Lambda function.
-
D
Configure a bucket policy granting access to the Lambda functions based on their function ARNs.
Reveal answer details
Close answer details
Correct answerC
ExplanationEach Lambda function should have its own execution role containing only the S3 permissions that the specific function requires. Lambda automatically assumes its configured execution role when the function runs. Separate roles allow the company to restrict access by bucket, prefix, and permitted S3 actions instead of granting every function the same broad permissions. A shared role with full bucket access violates least privilege because a compromised or incorrectly configured function could access all sensitive data. Placing Lambda functions inside a VPC does not itself establish authorization to S3, and permissions should not be based on endpoint IP addresses. When a Lambda function directly calls Amazon S3, S3 evaluates the IAM role credentials used for the request rather than treating the Lambda function ARN as the requesting principal. Individual least-privilege execution roles are therefore correct.
Question 42
Single choice
A company has several on-premises Internet Small Computer Systems Interface (iSCSI) network storage servers The company wants to reduce the number of these servers by moving to the AWS Cloud. A solutions architect must provide low-latency access to frequently used data and reduce the dependency on on-premises servers with a minimal number of infrastructure changes. Which solution will meet these requirements?
-
A
Deploy an Amazon S3 File Gateway
-
B
Deploy Amazon Elastic Block Store (Amazon EBS) storage with backups to Amazon S3
-
C
Deploy an AWS Storage Gateway volume gateway that is configured with stored volumes
-
D
Deploy an AWS Storage Gateway volume gateway that is configured with cached volumes.
Reveal answer details
Close answer details
Correct answerD
ExplanationStorage Gateway Volume Gateway (Cached Volumes): This configuration allows you to store your primary data in Amazon S3 while retaining frequently accessed data locally in a cache for low-latency access. Low-Latency Access: Frequently accessed data is cached locally on-premises, providing low-latency access while the less frequently accessed data is stored cost-effectively in Amazon S3. Implementation: Deploy a Storage Gateway appliance on-premises or in a virtual environment. Configure it as a volume gateway with cached volumes. Create volumes and configure your applications to use these volumes. Minimal Infrastructure Changes: This solution integrates seamlessly with existing on-premises infrastructure, requiring minimal changes and reducing dependency on on-premises storage servers. References: AWS Storage Gateway Volume Gateway Volume Gateway Cached Volumes
Question 43
Single choice
A company is developing a social media application that must scale to meet demand spikes and handle ordered processes. Which AWS services meet these requirements?
-
A
ECS with Fargate, RDS, and SQS for decoupling.
-
B
ECS with Fargate, RDS, and SNS for decoupling.
-
C
DynamoDB, Lambda, DynamoDB Streams, and Step Functions.
-
D
Elastic Beanstalk, RDS, and SNS for decoupling.
Reveal answer details
Close answer details
Correct answerA
ExplanationOption Acombines ECS with Fargate for scalability, RDS for relational data, and SQS for decoupling with message ordering (FIFO queues). Option Buses SNS, which does not maintain message order. Option Cis suitable for serverless workflows but not relational data. Option Drelies on Elastic Beanstalk, which offers less flexibility for scaling.
Question 44
Single choice
A company has an application that uses a MySQL database that runs on an Amazon EC2 instance. The instance currently runs in a single Availability Zone. The company requires a fault-tolerant database solution that provides a recovery time objective (RTO) and a recovery point objective (RPO) of 2 minutes or less. Which solution will meet these requirements?
-
A
Migrate the MySQL database to Amazon RDS. Create a read replica in a second Availability Zone. Create a script that detects availability interruptions and promotes the read replica when needed.
-
B
Migrate the MySQL database to Amazon RDS for MySQL. Configure the new RDS for MySQL database to use a Multi-AZ deployment.
-
C
Create a second MySQL database in a second Availability Zone. Use native MySQL commands to sync the two databases every 2 minutes. Create a script that detects availability interruptions and promotes the second MySQL database when needed.
-
D
Create a copy of the EC2 instance that runs the MySQL database. Deploy the copy in a second Availability Zone. Create a Network Load Balancer. Add both instances as targets.
Reveal answer details
Close answer details
Correct answerB
ExplanationAmazon RDS Multi-AZ deployments provide automatic failover for relational databases such as MySQL, ensuring high availability and durability. The feature maintains synchronous replication between a primary DB instance and a standby in a separate Availability Zone. AWS guarantees that failover typically completes within minutes, ensuring an RTO and RPO of less than 2 minutes. Option A requires manual promotion of replicas, which cannot meet the strict RTO/RPO requirement. Option C depends on custom scripts and manual synchronization, introducing operational risk. Option D creates active-active EC2-based databases, which do not provide synchronous replication or automated failover. Therefore, Multi-AZ RDS (B) is the managed, resilient, and operationally efficient solution that meets the business requirements. References: - Amazon RDS User Guide - Multi-AZ deployments-AWS Well-Architected Framework -Reliability Pillar: High availability and disaster recovery
Question 45
Single choice
A company runs a database on Amazon Aurora in the us-east-1 Region. The company has a disaster recovery requirement that the database be available in another Region. Which solution meets this requirement with minimal disruption to the database operations?
-
A
Perform an Aurora Multi-AZ deployment.
-
B
Deploy Aurora cross-Region read replicas.
-
C
Create Amazon EBS volume snapshots for Aurora and copy them to another Region.
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationThe requirement is explicitly for database availability inanother AWS Region, so the correct solution isAurora cross-Region read replicas. AWS documentation states that cross-Region Aurora Replicas create a replica of the primary DB cluster in another Region using engine-native replication, which provides a low-disruption disaster recovery option. Multi-AZ and standard Aurora Replicas improve availability or scalingwithin a Region, not across Regions. EBS snapshots are not how Aurora disaster recovery is typically delivered and would involve more operational disruption and slower recovery. Therefore, cross-Region Aurora Replicas are the best match for cross-Region DR with minimal change to operations.
Question 46
Single choice
A company has deployed a multi-tier web application to support a website. The architecture includes an Application Load Balancer (ALB) in public subnets, two Amazon Elastic Container Service (Amazon ECS) tasks in the public subnets, and a PostgreSQL cluster that runs on Amazon EC2 instances in private subnets. The EC2 instances that host the PostgreSQL database run shell scripts that need to access an external API to retrieve product information. A solutions architect must design a solution to allow the EC2 instances to securely communicate with the external API without increasing operational overhead. Which solution will meet these requirements?
-
A
Assign public IP addresses to the EC2 instances in the private subnets. Configure security groups to allow outbound internet access.
-
B
Configure a NAT gateway in the public subnets. Update the route table for the private subnets to route traffic to the NAT gateway.
-
C
Configure a VPC peering connection between the private subnets and a public subnet that has access to the external API.
-
D
Deploy an interface VPC endpoint to securely connect to the external API.
Reveal answer details
Close answer details
Correct answerB
ExplanationEC2 instances in private subnets cannot access the internet unless there is a NAT gateway or a NAT instance configured. "To enable instances in a private subnet to connect to the internet or other AWS services, you can use a NAT gateway or NAT instance." - NAT Gateways - Amazon VPC In this use case: EC2 instances are in private subnets They need to call external APIs (internet access) The most operationally efficient and secure method is to place a NAT Gateway in a public subnet and update the route table for private subnets to route internet-bound traffic through it. Incorrect Options: A: Private subnets don't support public IPs. C: VPC peering doesn't help reach the public internet. D: Interface endpoints are for private connectivity to AWS services, not external APIs. References: NAT Gateway Documentation VPC Best Practices
Question 47
Single choice
A company hosts an application in an Amazon EC2 Auto Scaling group. The company has observed that during periods of high demand, new instances take too long to join the Auto Scaling group and serve the increased demand. The company determines that the root cause of the issue is the long boot time of the instances in the Auto Scaling group. The company needs to reduce the time required to launch new instances to respond to demand. Which solution will meet this requirement?
-
A
Increase the maximum capacity of the Auto Scaling group by 50%.
-
B
Create a warm pool for the Auto Scaling group. Use the default specification for the warm pool size.
-
C
Increase the health check grace period for the Auto Scaling group by 50%.
-
D
Create a scheduled scaling action. Set the desired capacity equal to the maximum capacity of the Auto Scaling group.
Reveal answer details
Close answer details
Correct answerB
ExplanationA warm pool is an Auto Scaling feature that keeps instances in a pre-initialized state so they can quickly join the active group when scaling is required. This reduces the time needed for instance bootstrapping and makes new capacity available almost instantly. Option A only increases capacity limits but does not address slow boot times. Option C merely extends grace periods without solving the delay. Option D forces overprovisioning, which is wasteful and not aligned with cost optimization. Using a warm pool (B) directly addresses the problem by reducing response time to scaling events. References: - Amazon EC2 Auto Scaling User Guide - Warm pools for scaling faster-AWS Well-Architected Framework - Performance Efficiency Pillar: Optimizing responsiveness
Question 48
Multiple choice
A company is performing a security review of its Amazon EMR API usage. The company ' s developers use an integrated development environment (IDE) that is hosted on Amazon EC2 instances. The IDE is configured to authenticate users to AWS by using access keys. Traffic between the company ' s EC2 instances and EMR cluster uses public IP addresses. A solutions architect needs to improve the company ' s overall security posture. The solutions architect needs to reduce the company ' s use of long-term credentials and to limit the amount of communication that uses public IP addresses. Which combination of steps will MOST improve the security of the company ' s architecture? (Select TWO.)
-
A
Set up a gateway endpoint to the EMR cluster.
-
B
Set up interface VPC endpoints to connect to the EMR cluster.
-
C
Set up a private NAT gateway to connect to the EMR cluster.
-
D
Set up IAM roles for the developers to use to connect to the Amazon EMR API.
-
E
Set up AWS Systems Manager Parameter Store to store access keys for each developer.
Reveal answer details
Close answer details
Question 49
Single choice
A solutions architect is developing a VPC architecture that includes multiple subnets. The architecture will host applications that use Amazon EC2 instances and Amazon RDS DB instances. The architecture consists of six subnets in two Availability Zones. Each Availability Zone includes a public subnet, a private subnet, and a dedicated subnet for databases. Only EC2 instances that run in the private subnets can have access to the RDS databases. Which solution will meet these requirements?
-
A
Create a new route table that excludes the route to the public subnets' CIDR blocks. Associate the route table with the database subnets.
-
B
Create a security group that denies inbound traffic from the security group that is assigned to instances in the public subnets. Attach the security group to the DB instances.
-
C
Create a security group that allows inbound traffic from the security group that is assigned to instances in the private subnets. Attach the security group to the DB instances.
-
D
Create a new peering connection between the public subnets and the private subnets. Create a different peering connection between the private subnets and the database subnets.
Reveal answer details
Close answer details
Question 50
Multiple choice
A company runs a high-traffic web application that has a three-tier architecture consisting of a web layer, an application layer, and a database layer. The web layer and application layer run on Amazon EC2 instances behind an Application Load Balancer (ALB). The application layer is stateless and supports automatic scaling. The database layer uses Amazon RDS for MySQL in a Multi-AZ configuration and relies on a relational architecture. The company is preparing for a large marketing event that is expected to drive a sharp increase in read traffic. The company must ensure that the application remains highly available and responsive under load. The company wants to scale the application ' s architecture components but does not want to modify the application. Which combination of solutions will meet these requirements? (Select THREE.)
-
A
Deploy an Amazon CloudFront distribution. Specify the web layer as the origin.
-
B
Enable automatic scaling for EC2 instances in the application layer.
-
C
Migrate the database to Amazon Aurora. Configure Aurora Auto Scaling and Aurora Replicas.
-
D
Set up an Amazon ElastiCache (Redis OSS) cluster in front of the database.
-
E
Replace the ALB with a Network Load Balancer (NLB).
-
F
Migrate the database to an Amazon DynamoDB table.
Reveal answer details
Close answer details
Correct answersA, B, C
ExplanationThe correct answers areA, B, and Cbecause the company needs to handle a sharp increase inread traffic, maintainhigh availability, and avoidapplication changes. These three options improve scaling at different layers of the architecture while remaining aligned with the current application design. A. Amazon CloudFronthelps reduce load on the web tier by caching content closer to users at edge locations. This improves responsiveness and reduces the number of requests that must reach the origin web servers during the marketing event. It is a common way to scale web traffic without changing the application. B. Auto Scaling for the application layeris also appropriate because the application layer is already described asstatelessand supports automatic scaling. Adding or removing EC2 instances based on demand helps the application remain responsive under high load. C. Amazon Aurora with Aurora Replicas and Aurora Auto Scalingis the best way to scale the relational database layer for read-heavy workloads. Aurora Replicas can offload read traffic from the writer instance, and Aurora Auto Scaling can automatically adjust replica capacity based on demand. This preserves the relational architecture while improving read scalability and availability. OptionDcan reduce database read pressure, but adding ElastiCache effectively requires the application to use the cache, which conflicts with the requirement to avoid modifying the application. OptionEis incorrect because replacing the ALB with an NLB does not solve the application's scaling or read-traffic bottlenecks. OptionFis incorrect because migrating from a relational database to DynamoDB would require a major redesign. So the best combination isCloudFront,Auto Scaling for the stateless application tier, andAurora with read scaling features.
Question 51
Single choice
A company is moving a legacy data processing application to the AWS Cloud. The application needs to run on Amazon EC2 instances behind an Application Load Balancer (ALB). The application must handle incoming traffic spikes and continue to work in the event of an application fault in one Availability Zone. The company requires that a Web Application Firewall (WAF) must be attached to the ALB. Which solution will meet these requirements?
-
A
Deploy the application to EC2 instances in an Auto Scaling group that is in a single Availability Zone. Use an ALB to distribute traffic. Use AWS WAF.
-
B
Deploy the application to EC2 instances in an Auto Scaling group across multiple Availability Zones. Use an ALB to distribute traffic. Use AWS WAF.
-
C
Deploy the application to EC2 instances in Auto Scaling groups across multiple AWS Regions. Use Route 53 latency routing. Attach AWS WAF to Route 53.
-
D
Deploy the application to EC2 instances in an Auto Scaling group across multiple Availability Zones. Use a Network Load Balancer (NLB). Use AWS WAF.
Reveal answer details
Close answer details
Correct answerB
ExplanationThis design includes: ALB: Supports AWS WAF integration. Auto Scaling Group: Automatically scales based on load. Multi-AZ Deployment: Increases resiliency and availability. AWS WAF: Can be attached to ALB for application-layer protection. "ALB is integrated with AWS WAF. You can deploy your EC2 instances in an Auto Scaling group across multiple Availability Zones to ensure high availability." - High Availability with Auto Scaling and ALB Why not others? A: Single AZ = not resilient C: AWS WAF cannot attach to Route 53 D: NLB is not supported by AWS WAF References: AWS WAF Supported Services Auto Scaling with Load Balancers
Question 52
Single choice
A company wants to use Amazon S3 to back up its on-premises file storage solution. The company ' s on-premises file storage solution supports NFS, and the company wants its new solution to support NFS. The company wants to archive the backup files after 5 days. If the company needs archived files for disaster recovery, the company is willing to wait a few days for the retrieval of those files. Which solution meets these requirements MOST cost-effectively?
-
A
Deploy an AWS Storage Gateway file gateway that is associated with an S3 bucket. Move the files from the on-premises file storage solution to the file gateway. Create an S3 Lifecycle rule to move the files to S3 Standard-Infrequent Access S3 Standard-IA after 5 days.
-
B
Deploy an AWS Storage Gateway volume gateway that is associated with an S3 bucket. Move the files from the on-premises file storage solution to the volume gateway. Create an S3 Lifecycle rule to move the files to S3 Glacier Deep Archive after 5 days.
-
C
Deploy an AWS Storage Gateway tape gateway that is associated with an S3 bucket. Move the files from the on-premises file storage solution to the tape gateway. Create an S3 Lifecycle rule to move the files to S3 Standard-Infrequent Access S3 Standard-IA after 5 days.
-
D
Deploy an AWS Storage Gateway file gateway that is associated with an S3 bucket. Move the files from the on-premises file storage solution to the file gateway. Create an S3 Lifecycle rule to move the files to S3 Glacier Deep Archive after 5 days.
Reveal answer details
Close answer details
Correct answerD
ExplanationS3 File Gateway is the right gateway type because the on-premises workload needsNFS-based file accesswhile storing data in Amazon S3. AWS documentation states that File Gateway exposes NFS and SMB shares backed by S3 objects. For the archive requirement, the company is willing to wait days for retrieval, which aligns withS3 Glacier Deep Archive, AWS's lowest-cost archival storage class for long-term retention. A lifecycle policy can transition the data automatically after 5 days. Volume Gateway is block-oriented, not NFS file-based, and Tape Gateway is intended for backup applications that use virtual tapes rather than standard NFS file shares. Therefore, File Gateway plus an S3 lifecycle transition to Glacier Deep Archive is the most cost-effective design.
Question 53
Single choice
A news company that has reporters all over the world is hosting its broadcast system on AWS. The reporters send live broadcasts to the broadcast system. The reporters use software on their phones to send live streams through the Real Time Messaging Protocol (RTMP). A solutions architect must design a solution that gives the reporters the ability to send the highest quality streams The solution must provide accelerated TCP connections back to the broadcast system. What should the solutions architect use to meet these requirements?
-
A
-
B
-
C
-
D
Amazon EC2 instances and AWS Elastic IP addresses
Reveal answer details
Close answer details
Correct answerB
ExplanationAWS Global Accelerator: This service provides a global fixed entry point to your applications and optimizes the path to your application through the AWS global network, reducing latency and improving performance. Accelerated TCP Connections: Global Accelerator uses the AWS global network to route traffic to the nearest edge location, improving the performance and reliability of your live streams. It provides static IP addresses that act as a fixed entry point to your application, simplifying DNS management. High-Quality Streams: By leveraging Global Accelerator, reporters can send live streams with the highest quality and low latency. This service automatically reroutes traffic to the nearest available AWS Region, ensuring consistent performance even during traffic spikes or failures. Operational Efficiency: Using Global Accelerator simplifies the network setup and provides an optimized path for live streams without the need for complex configurations, making it an efficient solution for real-time streaming applications. References: AWS Global Accelerator How Global Accelerator Works
Question 54
Single choice
An international company needs to share data from an Amazon S3 bucket to employees who are located around the world. The company needs a secure solution to provide employees with access to the S3 bucket. The employees are already enrolled in AWS IAM Identity Center. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Create a help desk application to generate an Amazon S3 presigned URL for each employee. Configure the presigned URLs to have short expirations. Instruct employees to contact the company help desk to receive a presigned URL to access the S3 bucket.
-
B
Create a group for Amazon S3 access in IAM Identity Center. Add the employees who require access to the S3 bucket to the group. Create an IAM policy to allow Amazon S3 access from the group. Instruct employees to use the AWS access portal to access the AWS Management Console and navigate to the S3 bucket.
-
C
Create an Amazon S3 File Gateway. Create one share for data uploads and a second share for data downloads. Set up an SFTP service on an Amazon EC2 instance. Mount the shares to the EC2 instance. Instruct employees to use the SFTP server.
-
D
Configure AWS Transfer Family SFTP endpoints. Select the custom identity provider option. Use AWS Secrets Manager to manage the user credentials. Instruct employees to use Transfer Family SFTP.
Reveal answer details
Close answer details
Question 55
Multiple choice
A company wants to improve the availability and performance of its hybrid application. The application consists of a stateful TCP-based workload hosted on Amazon EC2 instances in different AWS Regions and a stateless UDP-based workload hosted on premises. Which combination of actions should a solutions architect take to improve availability and performance? (Select TWO.)
-
A
Create an accelerator using AWS Global Accelerator. Add the load balancers as endpoints.
-
B
Create an Amazon CloudFront distribution with an origin that uses Amazon Route 53 latency-based routing to route requests to the load balancers.
-
C
Configure two Application Load Balancers in each Region. The first will route to the EC2 endpoints. and the second will route lo the on-premises endpoints.
-
D
Configure a Network Load Balancer in each Region to address the EC2 endpoints. Configure a Network Load Balancer in each Region that routes to the on-premises endpoints.
-
E
Configure a Network Load Balancer in each Region to address the EC2 endpoints. Configure an Application Load Balancer in each Region that routes to the on-premises endpoints.
Reveal answer details
Close answer details
Correct answersA, D
ExplanationFor improving availability and performance of the hybrid application, the following solutions are optimal: AWS Global Accelerator (Option A): Global Accelerator provides high availability and improves performance by using the AWS global network to route user traffic to the nearest healthy endpoint (across AWS Regions). By adding the Network Load Balancers as endpoints, Global Accelerator ensures that traffic is routed efficiently to the closest endpoint, improving both availability and performance. Network Load Balancer (Option D): Thestateful TCP-based workloadhosted on Amazon EC2 instances and thestateless UDP-based workloadhosted on-premises are best served by Network Load Balancers (NLBs). NLBs are designed to handle TCP and UDP traffic with ultra-low latency and can route traffic to both EC2 and on-premises endpoints. Option B (CloudFront and Route 53): CloudFront is better suited for HTTP/HTTPS workloads, not for TCP /UDP-based applications. Option C (ALB): Application Load Balancers do not support the stateless UDP-based workload, making NLBs the better choice for both TCP and UDP. References: AWS Global Accelerator Network Load Balancer
Question 56
Single choice
A company runs a custom application on Amazon EC2 On-Demand Instances. The application has frontend nodes that must run 24/7. The backend nodes only need to run for short periods depending on the workload. Frontend nodes accept jobs and place them in queues. Backend nodes asynchronously process jobs from the queues, and jobs can be restarted. The company wants to scale infrastructure based on workload, using the most cost-effective option. Which solution meets these requirements MOST cost-effectively?
-
A
Use Reserved Instances for the frontend nodes. Use AWS Fargate for the backend nodes.
-
B
Use Reserved Instances for the frontend nodes. Use Spot Instances for the backend nodes.
-
C
Use Spot Instances for the frontend nodes. Use Reserved Instances for the backend nodes.
-
D
Use Spot Instances for the frontend nodes. Use AWS Fargate for the backend nodes.
Reveal answer details
Close answer details
Correct answerB
ExplanationAWS documentation states that workloads running 24/7 should use Reserved Instances or Savings Plans for the lowest cost. Therefore, the frontend nodes, which always run, should use Reserved Instances. The backend nodes process asynchronous, restartable jobs, which makes them ideal for EC2 Spot Instances, the most cost-effective compute option for interruption-tolerant workloads. Fargate (Options A and D) is significantly more expensive for large compute usage. Spot Instances cannot be used for critical frontend nodes (Option C).
Question 57
Single choice
A company is using an AWS Lambda function in a VPC. The Lambda function needs to access dependencies that exceed the size of the Lambda layer quota. The data that the Lambda function retrieves must be encrypted in transit. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Store the dependencies in an Amazon Elastic File System (Amazon EFS) file system. Mount the file system to the Lambda function. Retrieve the dependencies from the file system.
-
B
Store the dependencies on an Amazon EC2 instance that has an instance store volume and web server software. Use HTTPS API calls to retrieve the dependencies each time the Lambda function runs.
-
C
Store the dependencies on an Amazon EC2 instance that hosts an NFS file server. Read the files from the EC2 instance each time the Lambda function runs.
-
D
Store the dependencies in two separate Lambda layers. Redesign the application to have two Lambda functions that use different Lambda layers.
Reveal answer details
Close answer details
Correct answerA
ExplanationLambda supports mounting an Amazon EFS file system inside your function to store larger dependencies beyond the 250 MB layer quota. EFS automatically encrypts data in transit using TLS. "You can configure your Lambda function to mount an Amazon EFS file system, enabling your function to access large amounts of data or large dependencies." "Amazon EFS automatically encrypts all data at rest and in transit." - Lambda with Amazon EFS This is the least operational overhead approach.
Question 58
Single choice
A company is migrating a new application from an on-premises data center to a new VPC in the AWS Cloud. The company has multiple AWS accounts and VPCs that share many subnets and applications. The company wants to have fine-grained access control for the new application. The company wants to ensure that all network resources across accounts and VPCs that are granted permission to access the new application can access the application.
Which solution will meet these requirements?
-
A
Set up a VPC peering connection for each VPC that needs access to the new application VPC. Update route tables in each VPC to enable connectivity.
-
B
Deploy a transit gateway in the account that hosts the new application. Share the transit gateway with each account that needs to connect to the application. Update route tables in the VPC that hosts the new application and in the transit gateway to enable connectivity.
-
C
Use an AWS PrivateLink endpoint service to make the new application accessible to other VPCs. Control access to the application by using an endpoint policy.
-
D
Use an Application Load Balancer (ALB) to expose the new application to the internet. Configure authentication and authorization processes to ensure that only specified VPCs can access the application.
Reveal answer details
Close answer details
Correct answerC
ExplanationAWS PrivateLinkis the most suitable solution for providing fine-grained access control while allowing multiple VPCs, potentially across multiple accounts, to access the new application. This approach offers the following advantages: Fine-grained control: Endpoint policies can restrict access to specific services or principals. No need for route table updates: Unlike VPC peering or transit gateways, AWS PrivateLink does not require complex route table management. Scalable architecture: PrivateLink scales to support traffic from multiple VPCs. Secure connectivity: Ensures private connectivity over the AWS network, without exposing resources to the internet. Why Other Options Are Not Ideal: Option A: VPC peering is not scalable when connecting multiple VPCs or accounts. Route table management becomes complex as the number of VPCs increases.Not scalable. Option B: While transit gateways provide scalable VPC connectivity, they are not ideal for fine-grained access control. Transit gateways allow connectivity but do not inherently restrict access to specific applications.Not ideal for fine-grained access control. Option D: Exposing the application through an ALB over the internet is not secure and does not align with the requirement to use private network resources.Security risk. References: AWS PrivateLink:AWS Documentation - PrivateLink AWS Networking Services Comparison:AWS Whitepaper - Networking Services
Question 59
Single choice
A company is designing an IPv6 application that is hosted on Amazon EC2 instances in a private subnet within a VPC. The application will store user-uploaded content in Amazon S3 buckets. The application will save each S3 object ' s URL link and metadata in Amazon DynamoDB. The company must not use public internet connections to transmit user-uploaded content or metadata. Which solution will meet these requirements?
-
A
Implement a gateway VPC endpoint for Amazon S3 and an interface VPC endpoint for Amazon DynamoDB.
-
B
Implement interface VPC endpoints for both Amazon S3 and Amazon DynamoDB.
-
C
Implement gateway VPC endpoints for both Amazon S3 and Amazon DynamoDB.
-
D
Implement a gateway VPC endpoint for Amazon DynamoDB and an interface VPC endpoint for Amazon S3.
Reveal answer details
Close answer details
Correct answerA
ExplanationAmazon S3 uses gateway VPC endpoints, which enable private, secure access to S3 without traversing the internet, compatible with IPv6. Amazon DynamoDB uses interface VPC endpoints (powered by AWS PrivateLink) for private connectivity within the VPC. Therefore, for secure private communication without public internet, the correct solution is to implement a gateway VPC endpoint for S3 and an interface VPC endpoint for DynamoDB. Option B is incorrect because S3 does not support interface endpoints; Option C is incorrect because DynamoDB does not support gateway endpoints. Option D reverses the correct endpoint types. References: VPC Endpoints for Amazon S3 (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-s3.html) VPC Endpoints for DynamoDB (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-dynamodb.) html) AWS Well-Architected Framework - Security Pillar (https://d1.awsstatic.com/whitepapers/architecture) /AWS_Well-Architected_Framework.pdf)
Question 60
Single choice
A company is deploying an application in three AWS Regions using an Application Load Balancer. Amazon Route 53 will be used to distribute traffic between these Regions. Which Route 53 configuration should a solutions architect use to provide the MOST high-performing experience?
-
A
Create an A record with a latency policy.
-
B
Create an A record with a geolocation policy.
-
C
Create a CNAME record with a failover policy.
-
D
Create a CNAME record with a geoproximity policy.
Reveal answer details
Close answer details
Correct answerA
ExplanationLatency-based routing in Amazon Route 53 is designed to route users to the Region that provides the lowest network latency, based on Amazon's measurements of latency between AWS Regions and users' networks. For applications deployed in multiple Regions, this provides the highest performance experience for global users. Therefore, creating an A record with a latency routing policy is the correct choice. Geolocation (Option B) routes based on user location, which may not always correspond to the lowest latency. Failover (Option C) is for active-passive architectures, not performance optimization. Geoproximity (Option D) is more complex and focused on directing traffic based on geographic bias rather than measured latency.
Question 61
Single choice
A company is migrating its databases to Amazon RDS for PostgreSQL. The company is migrating its applications to Amazon EC2 instances. The company wants to optimize costs for long-running workloads. Which solution will meet this requirement MOST cost-effectively?
-
A
Use On-Demand Instances for the Amazon RDS for PostgreSQL workloads. Purchase a 1 year Compute Savings Plan with the No Upfront option for the EC2 instances.
-
B
Purchase Reserved Instances for a 1 year term with the No Upfront option for the Amazon RDS for PostgreSQL workloads. Purchase a 1 year EC2 Instance Savings Plan with the No Upfront option for the EC2 instances.
-
C
Purchase Reserved Instances for a 1 year term with the Partial Upfront option for the Amazon RDS for PostgreSQL workloads. Purchase a 1 year EC2 Instance Savings Plan with the Partial Upfront option for the EC2 instances.
-
D
Purchase Reserved Instances for a 3 year term with the All Upfront option for the Amazon RDS for PostgreSQL workloads. Purchase a 3 year EC2 Instance Savings Plan with the All Upfront option for the EC2 instances.
Reveal answer details
Close answer details
Question 62
Single choice
A solutions architect has created an AWS Lambda function that makes queries to an Amazon Aurora MySQL DB instance. When the solutions architect performs a test, the DB instance shows an error for too many connections. Which solution will meet these requirements with the LEAST operational effort?
-
A
Create a read replica for the DB instance. Query the replica DB instance instead of the primary DB instance.
-
B
Migrate the data to an Amazon DynamoDB database.
-
C
Configure the Amazon Aurora MySQL DB instance for Multi-AZ deployment.
-
D
Create a proxy in Amazon RDS Proxy. Query the proxy instead of the DB instance.
Reveal answer details
Close answer details
Correct answerD
ExplanationAWS RDS Proxy is a fully managed, highly available database proxy that allows applications to pool and share database connections efficiently. In serverless architectures like Lambda, rapid invocations can open numerous concurrent connections to Aurora, potentially overwhelming the database and causing "too many connections" errors. By using Amazon RDS Proxy, the solution: Pools database connections. Maintains warm connections that can be reused. Supports IAM authentication and Secrets Manager integration. Requires minimal application change and low operational effort. This directly supports the Performance Efficiency pillar of the AWS Well-Architected Framework, ensuring the application scales without overloading the DB. References: Amazon RDS Proxy Documentation Lambda + RDS Best Practices
Question 63
Single choice
A company needs a solution to integrate transaction data from several Amazon DynamoDB tables into an existing Amazon Redshift data warehouse. The solution must maintain the provisioned throughput of DynamoDB. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Create an Amazon S3 bucket. Configure DynamoDB to export to the bucket on a regular schedule. Use an Amazon Redshift COPY command to read from the S3 bucket.
-
B
Use an Amazon Redshift COPY command to read directly from each DynamoDB table.
-
C
Create an Amazon S3 bucket. Configure an AWS Lambda function to read from the DynamoDB tables and write to the S3 bucket on a regular schedule. Use Amazon Redshift Spectrum to access the data in the S3 bucket.
-
D
Use Amazon Athena Federated Query with a DynamoDB connector and an Amazon Redshift connector to read directly from the DynamoDB tables.
Reveal answer details
Close answer details
Correct answerA
ExplanationDynamoDB export to Amazon S3 (via point-in-time exports or table backups) "does not consume read capacity" and has no impact on table performance. Once data is in S3, Amazon Redshift can ingest efficiently with COPY from S3, which is the standard, parallel, high-throughput load path with minimal management. Direct COPY from DynamoDB (B) performs a table scan that can consume provisioned throughput, risking throttling. Building Lambda pipelines (C) adds custom code and scheduling overhead. Athena federated queries (D) are ad hoc analytics, not optimized for bulk, recurring warehouse loads. Therefore, exporting to S3 and loading with Redshift COPY maintains DynamoDB throughput and minimizes operational burden. References: DynamoDB - "Export to S3 (no RCU consumption)" Amazon Redshift - "COPY from Amazon S3 (parallel load)" AWS Big Data best practices - "Stage data in S3 for Redshift loads."
Question 64
Single choice
A company is migrating a legacy application from an on-premises data center to AWS. The application relies on hundreds of cron Jobs that run between 1 and 20 minutes on different recurring schedules throughout the day. The company wants a solution to schedule and run the cron jobs on AWS with minimal refactoring. The solution must support running the cron jobs in response to an event in the future. Which solution will meet these requirements?
-
A
Create a container image for the cron jobs. Use Amazon EventBridge Scheduler to create a recurring schedule. Run the cron job tasks as AWS Lambda functions.
-
B
Create a container image for the cron jobs. Use AWS Batch on Amazon Elastic Container Service (Amazon ECS) with a scheduling policy to run the cron jobs.
-
C
Create a container image for the cron jobs. Use Amazon EventBridge Scheduler to create a recurring schedule Run the cron job tasks on AWS Fargate.
-
D
Create a container image for the cron jobs. Create a workflow in AWS Step Functions that uses a Wait state to run the cron jobs at a specified time. Use the RunTask action to run the cron job tasks on AWS Fargate.
Reveal answer details
Close answer details
Correct answerC
ExplanationThis solution is the most suitable for running cron jobs on AWS with minimal refactoring, while also supporting the possibility of running jobs in response to future events. Container Image for Cron Jobs: By containerizing the cron jobs, you can package the environment and dependencies required to run the jobs, ensuring consistency and ease of deployment across different environments. Amazon EventBridge Scheduler: EventBridge Scheduler allows you to create a recurring schedule that can trigger tasks (like running your cron jobs) at specific times or intervals. It provides fine-grained control over scheduling and integrates seamlessly with AWS services. AWS Fargate: Fargate is a serverless compute engine for containers that removes the need to manage EC2 instances. It allows you to run containers without worrying about the underlying infrastructure. Fargate is ideal for running jobs that can vary in duration, like cron jobs, as it scales automatically based on the task ' s requirements. Why Not Other Options?: Option A (Lambda): While AWS Lambda could handle short-running cron jobs, it has limitations in terms of execution duration (maximum of 15 minutes) and might not be suitable for jobs that run up to 20 minutes. Option B (AWS Batch on ECS): AWS Batch is more suitable for batch processing and workloads that require complex job dependencies or orchestration, which might be more than what is needed for simple cron jobs. Option D (Step Functions with Wait State): While Step Functions provide orchestration capabilities, this approach would introduce unnecessary complexity and overhead compared to the straightforward scheduling with EventBridge and running on Fargate. References: Amazon EventBridge Scheduler-Details on how to schedule tasks using Amazon EventBridge Scheduler. AWS Fargate-Information on how to run containers in a serverless manner using AWS Fargate.
Question 65
Single choice
A company is designing an application. The application uses an AWS Lambda function to receive information through Amazon API Gateway and to store the information in an Amazon Aurora PostgreSQL database. During the proof-of-concept stage, the company has to increase the Lambda quotas significantly to handle the high volumes of data that the company needs to load into the database. A solutions architect must recommend a new design to improve scalability and minimize the configuration effort. Which solution will meet these requirements?
-
A
Refactor the Lambda function code to Apache Tomcat code that runs on Amazon EC2 instances. Connect the database by using native Java Database Connectivity (JDBC) drivers.
-
B
Change the platform from Aurora to Amazon DynamoDProvision a DynamoDB Accelerator (DAX) cluster. Use the DAX client SDK to point the existing DynamoDB API calls at the DAX cluster.
-
C
Set up two Lambda functions. Configure one function to receive the information. Configure the other function to load the information into the database. Integrate the Lambda functions by using Amazon Simple Notification Service (Amazon SNS).
-
D
Set up two Lambda functions. Configure one function to receive the information. Configure the other function to load the information into the database. Integrate the Lambda functions by using an Amazon Simple Queue Service (Amazon SQS) queue.
Reveal answer details
Close answer details
Question 66
Single choice
A company hosts a video streaming web application in a VPC. The company uses a Network Load Balancer (NLB) to handle TCP traffic for real-time data processing. There have been unauthorized attempts to access the application. The company wants to improve application security with minimal architectural change to prevent unauthorized attempts to access the application. Which solution will meet these requirements?
-
A
Implement a series of AWS WAF rules directly on the NLB to filter out unauthorized traffic.
-
B
Recreate the NLB with a security group to allow only trusted IP addresses.
-
C
Deploy a second NLB in parallel with the existing NLB configured with a strict IP address allow list.
-
D
Use AWS Shield Advanced to provide enhanced DDoS protection and prevent unauthorized access attempts.
Reveal answer details
Close answer details
Question 67
Single choice
A company runs its legacy web application on AWS. The web application server runs on an Amazon EC2 instance in the public subnet of a VPC. The web application server collects images from customers and stores the image files in a locally attached Amazon Elastic Block Store (Amazon EBS) volume. The image files are uploaded every night to an Amazon S3 bucket for backup. A solutions architect discovers that the image files are being uploaded to Amazon S3 through the public endpoint. The solutions architect needs to ensure that traffic to Amazon S3 does not use the public endpoint.
Which solution will meet these requirements?
-
A
Create a gateway VPC endpoint for the S3 bucket that has the necessary permissions for the VPC. Configure the subnet route table to use the gateway VPC endpoint.
-
B
Move the S3 bucket inside the VPC. Configure the subnet route table to access the S3 bucket through private IP addresses.
-
C
Create an Amazon S3 access point for the Amazon EC2 instance inside the VPC. Configure the web application to upload by using the Amazon S3 access point.
-
D
Configure an AWS Direct Connect connection between the VPC that has the Amazon EC2 instance and Amazon S3 to provide a dedicated network path.
Reveal answer details
Close answer details
Correct answerA
ExplanationTo route S3 traffic privately from within a VPC, AWS provides Gateway VPC Endpoints for Amazon S3. These allow private connectivity to S3 without traversing the public internet or requiring an Internet Gateway. From AWS Documentation: "A gateway endpoint enables you to privately connect your VPC to supported AWS services such as Amazon S3 and DynamoDB without requiring an Internet Gateway, NAT device, or public IP." (Source: Amazon VPC User Guide - Gateway Endpoints) Why A is correct: Gateway VPC endpoints route S3 traffic internally within the AWS network. Improves security and data privacy while reducing exposure to the public internet. Requires only a simple route table modification and IAM policy configuration. Why other options are incorrect: B: S3 is a regional service; you cannot "move" it inside a VPC. C: Access points do not change the routing path; still uses S3 endpoints. D: AWS Direct Connect is for hybrid environments, not intra-AWS private connectivity. References: Amazon VPC User Guide - "Gateway Endpoints for Amazon S3" AWS Well-Architected Framework - Security Pillar AWS Networking Best Practices
Question 68
Single choice
A company runs an application on Amazon EC2 instances across multiple Availability Zones in the same AWS Region. The EC2 instances share an Amazon Elastic File System (Amazon EFS) volume that is mounted on all the instances. The EFS volume stores a variety of files such as installation media, third-party files, interface files, and other one-time files. The company accesses some EFS files frequently and needs to retrieve the files quickly. The company accesses other files rarely. The EFS volume is multiple terabytes in size. The company needs to optimize storage costs for Amazon EFS. Which solution will meet these requirements with the LEAST effort?
-
A
Move the files to Amazon S3. Set up a lifecycle policy to move the files to S3 Glacier Flexible Retrieval.
-
B
Apply a lifecycle policy to the EFS files to move the files to EFS Infrequent Access.
-
C
Move the files to Amazon Elastic Block Store (Amazon EBS) Cold HDD Volumes (sc1).
-
D
Move the files to Amazon S3. Set up a lifecycle policy to move the rarely-used files to S3 Glacier Deep Archive.
Reveal answer details
Close answer details
Correct answerB
ExplanationAmazon EFS offers an Infrequent Access (IA) storage class, which can be managed via EFS lifecycle policies. Frequently accessed files remain in the Standard storage class, while infrequently accessed files are automatically moved to the IA class, significantly reducing storage costs with minimal effort and no application changes. Reference Extract: " EFS lifecycle management automatically transitions files that are not accessed for a set period to the EFS Infrequent Access (IA) storage class, reducing storage costs. " Source: AWS Certified Solutions Architect - Official Study Guide, EFS and Lifecycle Management section.
Question 69
Single choice
A company has an application that runs only on Amazon EC2 Spot Instances. The instances run in an Amazon EC2 Auto Scaling group with scheduled scaling actions. However, the capacity does not always increase at the scheduled times, and instances terminate many times a day. A solutions architect must ensure that the instances launch on time and have fewer interruptions. Which action will meet these requirements?
-
A
Specify the capacity-optimized allocation strategy for Spot Instances. Add more instance types to the Auto Scaling group.
-
B
Specify the capacity-optimized allocation strategy for Spot Instances. Increase the size of the instances in the Auto Scaling group.
-
C
Specify the lowest-price allocation strategy for Spot Instances. Add more instance types to the Auto Scaling group.
-
D
Specify the lowest-price allocation strategy for Spot Instances. Increase the size of the instances in the
Reveal answer details
Close answer details
Correct answerA
ExplanationSpot Instances can be interrupted when AWS needs the capacity back. To reduce interruptions and improve availability, AWS provides the capacity-optimized allocation strategy. Capacity-optimized strategy launches Spot Instances from the most available Spot capacity pools instead of the lowest-priced ones, reducing interruption rates. By adding multiple instance types (e.g., using Instance Type Flexibility), the Auto Scaling group can launch instances in a broader set of pools, improving the chance that capacity is available. Scheduled scaling actions combined with a diverse set of instances under the capacity-optimized strategy ensure higher resilience and better timing for instance launches. This approach directly supports the Resiliency design principle in the AWS Well-Architected Framework. References: Best Practices for EC2 Spot Instances Capacity-Optimized Allocation Strategy
Question 70
Single choice
A company stores 5 PB of archived data on physical tapes. The company needs to preserve the data for another 10 years. The data center that stores the tapes has a 10 Gbps Direct Connect connection to an AWS Region. The company wants to migrate the data to AWS within the next 6 months.
Which solution will meet these requirements?
-
A
Read the data from the tapes on premises. Use local storage to stage the data. Use AWS DataSync to migrate the data to Amazon S3 Glacier Flexible Retrieval storage.
-
B
Use an on-premises backup application to read the data from the tapes. Use the backup application to write directly to Amazon S3 Glacier Deep Archive storage.
-
C
Order multiple AWS Snowball Edge devices. Copy the physical tapes to virtual tapes on the Snowball Edge devices. Ship the Snowball Edge devices to AWS. Create an S3 Lifecycle policy to move the tapes to Amazon S3 Glacier Instant Retrieval storage.
-
D
Configure an on-premises AWS Storage Gateway Tape Gateway. Create virtual tapes in the AWS Cloud. Use backup software to copy the physical tapes to the virtual tapes. Move the virtual tapes to Amazon S3 Glacier Deep Archive storage.
Reveal answer details
Close answer details
Correct answerD
ExplanationAnalysis: The company 's requirements are to migrate 5 PB of data from physical tapes to AWS within 6 months, preserve the data for 10 years, and ensure cost efficiency.AWS Storage Gateway Tape Gatewayis purpose-built for such use cases, as it seamlessly integrates with backup applications and provides virtual tape storage in Amazon S3 Glacier Deep Archive. Why Option D is Correct: Tape Gateway: Enables the migration of physical tapes to virtual tapes. Virtual tapes are stored in Amazon S3 and can later be archived in Amazon S3 Glacier Deep Archive for long-term storage. Cost Efficiency: Amazon S3 Glacier Deep Archive is the lowest-cost storage class for long-term data preservation. Operational Simplicity: Tape Gateway integrates with existing on-premises backup software, reducing the need for additional tools or manual processes. Scalability: Can handle the migration of large datasets, such as 5 PB, within the required timeframe. Why Other Options Are Not Ideal: Option A: AWS DataSync is not designed for reading data directly from physical tapes. Staging the data on local storage adds unnecessary complexity and cost.Not suitable. Option B: Using backup applications to write directly to S3 Glacier Deep Archive may not leverage AWS-native services optimally. Tape Gateway simplifies the workflow significantly.Less efficient. Option C: Snowball Edge is ideal for environments without high-bandwidth connectivity. However, the company already has a 10 Gbps Direct Connect, making Tape Gateway a better choice.Not cost-effective. References: AWS Storage Gateway - Tape Gateway:AWS Documentation - Tape Gateway Amazon S3 Glacier Deep Archive:AWS Documentation - Glacier Deep Archive
Question 71
Multiple choice
A company has an application that uses an Amazon RDS for PostgreSQL database. The company is developing an application feature that will store sensitive information for an individual in the database. During a security review of the environment, the company discovers that the RDS DB instance is not encrypting data at rest. The company needs a solution that will provide encryption at rest for all the existing data and for any new data that is entered for an individual. Which combination of steps should the company take to meet these requirements? Select TWO.
-
A
Create a snapshot of the DB instance. Enable encryption on the snapshot. Use the encrypted snapshot to create a new DB instance. Adjust the application configuration to use the new DB instance.
-
B
Create a snapshot of the DB instance. Create an encrypted copy of the snapshot. Use the encrypted snapshot to create a new DB instance. Adjust the application configuration to use the new DB instance.
-
C
Modify the configuration of the DB instance by enabling encryption. Create a snapshot of the DB instance. Use the snapshot to create a new DB instance. Adjust the application configuration to use the new DB instance.
-
D
Use AWS KMS to create a new default AWS managed aws/rds key. Select this key as the encryption key for operations with Amazon RDS.
-
E
Use AWS KMS to create a new customer managed key. Select this key as the encryption key for operations with Amazon RDS.
Reveal answer details
Close answer details
Correct answersB, E
ExplanationYou cannot encrypt an existing unencrypted RDS DB instance in place. AWS guidance for encrypting an existing RDS PostgreSQL instance is totake a snapshot, create an encrypted copy of that snapshot, and restore a new DB instance from the encrypted snapshot. AWS also documents that encryption uses AWS KMS keys and that customer managed keys are the appropriate choice when you want explicit control over the key used for the new encrypted instance. That makesBthe required migration step andEthe correct key-management step. Option C is invalid because encryption cannot simply be turned on for the existing instance, and option D is not how you create a new AWS-managed default key.
Question 72
Single choice
A company has a production Amazon RDS for MySQL database. The company needs to create a new application that will read frequently changing data from the database with minimal impact on the database ' s overall performance. The application will rarely perform the same query more than once. What should a solutions architect do to meet these requirements?
-
A
Set up an Amazon ElastiCache cluster. Query the results in the cluster.
-
B
Set up an Application Load Balancer (ALB). Query the results in the ALB.
-
C
Set up a read replica for the database. Query the read replica.
-
D
Set up querying of database snapshots. Query the database snapshots.
Reveal answer details
Close answer details
Correct answerC
ExplanationAmazon RDS read replicas provide a way to offload read traffic from the primary database, allowing read-intensive applications to query the replica without impacting the performance of the production (write) database. This is especially effective for workloads that involve frequently changing data but do not benefit from caching, since queries are rarely repeated. Reference Extract from AWS Documentation / Study Guide: " Read replicas allow you to elastically scale out beyond the capacity constraints of a single DB instance for read-heavy database workloads. " Source: AWS Certified Solutions Architect - Official Study Guide, RDS Read Replica section.
Question 73
Single choice
An ecommerce company runs Its application on AWS. The application uses an Amazon Aurora PostgreSQL cluster in Multi-AZ mode for the underlying database. During a recent promotionalcampaign, the application experienced heavy read load and write load. Users experienced timeout issues when they attempted to access the application. A solutions architect needs to make the application architecture more scalable and highly available. Which solution will meet these requirements with the LEAST downtime?
-
A
Create an Amazon EventBndge rule that has the Aurora cluster as a source. Create an AWS Lambda function to log the state change events of the Aurora cluster. Add the Lambda function as a target for the EventBndge rule Add additional reader nodes to fail over to.
-
B
Modify the Aurora cluster and activate the zero-downtime restart (ZDR) feature. Use Database Activity Streams on the cluster to track the cluster status.
-
C
Add additional reader instances to the Aurora cluster Create an Amazon RDS Proxy target group for the Aurora cluster.
-
D
Create an Amazon ElastiCache for Redis cache. Replicate data from the Aurora cluster to Redis by using AWS Database Migration Service (AWS DMS) with a write-around approach.
Reveal answer details
Close answer details
Correct answerC
ExplanationThis solution directly addresses the scalability and high availability requirements with minimal downtime. Additional Reader Instances: Adding more reader instances to the Aurora cluster will distribute the read load, improving the performance of the application under heavy read traffic. Aurora reader instances automatically replicate the data from the writer instance, enabling you to scale out read operations. Amazon RDS Proxy: RDS Proxy improves database availability by managing database connections more efficiently and providing a connection pool. This reduces the overhead on the Aurora cluster during peak loads, further enhancing performance and availability without requiring changes to the application code. Why Not Other Options?: Option A (EventBridge and Lambda): This doesn't directly address the performance and availability issues. Logging state changes and adding reader nodes on failure events doesn't provide proactive scalability. Option B (Zero-Downtime Restart and Activity Streams): Zero-Downtime Restart (ZDR) is useful for minimizing downtime during maintenance but doesn't directly improve scalability. Database Activity Streams are more for security monitoring than for performance enhancement. Option D (ElastiCache for Redis): While adding a caching layer can help with read performance, it introduces complexity and may not be necessary if additional reader instances can handle the load. References: Amazon Aurora Scaling-Information on scaling Aurora clusters with reader instances. Amazon RDS Proxy-Details on how RDS Proxy can improve database performance and availability.
Question 74
Single choice
A manufacturing company runs an order processing application in its VPC. The company wants to securely send messages from the application to an external Salesforce system that uses Open Authorization (OAuth). A solutions architect needs to integrate the company ' s order processing application with the external Salesforce system. Which solution will meet these requirements?
-
A
Create an Amazon Simple Notification Service (Amazon SNS) topic in a fanout configuration that pushes data to an HTTPS endpoint. Configure the order processing application to publish messages to the SNS topic.
-
B
Create an Amazon Simple Notification Service (Amazon SNS) topic in a fanout configuration that pushes data to an Amazon Data Firehose delivery stream that has a HTTP destination. Configure the order processing application to publish messages to the SNS topic.
-
C
Create an Amazon EventBridge rule and configure an Amazon EventBridge API destination partner Configure the order processing application to publish messages to Amazon EventBridge.
-
D
Create an Amazon Managed Streaming for Apache Kafka (Amazon MSK) topic that has an outbound MSK Connect connector. Configure the order processing application to publish messages to the MSK topic.
Reveal answer details
Close answer details
Correct answerC
ExplanationAmazonEventBridgeAPI destinations allow you to send data from AWS to external systems, like Salesforce, using HTTP APIs, including those secured with OAuth. This provides a secure and scalable solution for sending messages from the order processing application to Salesforce. Option A and B (SNS): SNS is not ideal for OAuth-secured external APIs and lacks the necessary OAuth integration. Option D (MSK): Amazon MSK is a Kafka-based streaming solution, which is overkill for simple message forwarding to Salesforce. References: Amazon EventBridge API Destinations
Question 75
Single choice
A company hosts an application that allows authorized users to upload and download documents. The application uses Amazon EC2 instances and an Amazon Elastic File System (Amazon EFS) file system. The company plans to deploy the application into a second AWS Region. The company will launch a new EFS file system and a new set of EC2 instances in the second Region. A solutions architect must develop a highly available and fault-tolerant solution to establish two-way synchronization across the Regions. Which solution will meet these requirements?
-
A
Create an Amazon EFS VPC endpoint for the original EFS file system in the second Region. Mount both the original and the new EFS file system to the new set of EC2 instances in the second Region. Configure an rsync cron job to run every 5 minutes.
-
B
Set up EFS replication between the two EFS file systems. Set the new file system as the source. Set the original file system in the first Region as the destination. Turn off overwrite protection for the destination file system.
-
C
Set up one AWS DataSync agent in each Region. Configure Amazon EFS VPC endpoints, EFS transfer locations, and EFS transfer tasks with opposite directions on the two DataSync agents.
-
D
Mount the EFS file system in the second Region to the new set of EC2 instances in the second Region. Use AWS Transfer Family to establish SFTP access to the EFS file system in the original Region. Configure an rsync cron job to run every 5 minutes.
Reveal answer details
Close answer details
Correct answerC
ExplanationAWS DataSync provides managed, incremental, parallelized transfers between EFS file systems across Regions, supporting scheduled or continuously running tasks with automatic change detection, encryption in transit, and integrity verification. You can configure two tasks in opposite directions (bi-directional) to achieve two-way synchronization with high availability using agents in each Region and EFS locations connected via VPC endpoints. Native EFS replication (B) is one-way (read-only target) and not intended for active/active two-way sync. Options A and D rely on custom rsync and cross-Region mounts or SFTP, which introduce operational overhead, latency, and fail to provide resilient, managed synchronization. DataSync minimizes operational burden while delivering fault-tolerant, scalable, cross-Region EFS sync. References: AWS DataSync - EFS-to-EFS transfers, scheduling, incremental sync Amazon EFS -replication overview (one-way), multi-Region patterns Well-Architected Reliability - use managed data transfer services.
Question 76
Multiple choice
A company is building new learning management applications on AWS. The company is using Amazon Elastic Container Service (Amazon ECS) on Amazon EC2 to host the applications. The company must ensure that container images are secure. Company administrators must receive notifications of any security vulnerabilities in the images. Which combination of solutions will meet these requirements? (Select TWO.)
-
A
Modify the ECS cluster properties to use privileged mode. Enable host-based logging.
-
B
Use the AWS Config conformance pack for Amazon ECS. Use AWS Config to notify administrators if any security vulnerabilities are detected.
-
C
Configure AWS WAF to invoke an Amazon CloudWatch alarm when a new security vulnerability is detected.
-
D
Use Amazon Inspector to scan container images in Amazon Elastic Container Registry (Amazon ECR).
-
E
Use AWS Systems Manager Parameter Store to encrypt container images.
Reveal answer details
Close answer details
Correct answersB, D
ExplanationTo ensure container images are secure and to notify administrators about vulnerabilities, the solution needs (1) a vulnerability scanning capability for container images and (2) a notification mechanism that alerts when findings occur. Amazon Inspector provides automated security assessments and can scan container images stored in Amazon ECR to identify software vulnerabilities and unintended network exposure patterns, producing findings that can be acted upon. Therefore, D addresses the core requirement of detecting vulnerabilities in container images. To notify administrators with minimal custom work, AWS Config can help by evaluating resources against desired configurations and integrating with notifications through AWS services (for example, via Amazon SNS using Config rules/conformance packs). Using the AWS Config conformance pack for Amazon ECS helps establish a managed set of compliance checks aligned to ECS-related best practices. While Inspector is the system that detects vulnerabilities, Config can be used to enforce and monitor governance controls around the container environment and can trigger notifications when noncompliance is detected. In exam patterns, pairing an Inspector detection capability with a managed governance/notification framework like Config is a common "two-part" answer. The other options do not meet the requirement: A (privileged mode) can increase risk rather than improve image security; logging does not equal vulnerability detection. C is unrelated because AWS WAF protects web applications at the edge and does not scan container images for CVEs. E is incorrect because Parameter Store stores configuration data and secrets; it does not encrypt container images (ECR encryption at rest is handled by AWS-managed mechanisms and KMS integration, not Parameter Store). So D provides scanning and B supports managed compliance/notification controls with low operational overhead.
Question 77
Single choice
A company runs compute workloads across multiple private subnets across multiple VPCs. Sometimes the company opens shell access to Amazon EC2 instances in the private subnets to troubleshoot issues. The current design uses NAT gateways. The company wants to reduce costs. However, the company does not support the following: - Using public IP addresses - Installing agents on instances - Permitting inbound internet access Which solution will meet these requirements MOST cost-effectively?
-
A
Create an EC2 Instance Connect Endpoint in each VPC. Grant IAM permissions for administrators to connect to instances by using SSH. Decommission all NAT gateways.
-
B
Use AWS Systems Manager Session Manager to connect to instances.
-
C
Deploy auto scaling bastion hosts behind a Network Load Balancer in each VPC. Restrict inbound access by source IP.
-
D
Create an AWS Client VPN configuration. Create routes across each VPC. Decommission all NAT gateways except one. Target the remaining NAT gateway for outbound traffic from all VPCs.
Reveal answer details
Close answer details
Correct answerA
ExplanationEC2 Instance Connect Endpoint is the correct answer because it allows secure SSH access to private EC2 instances without public IP addresses, bastion hosts, NAT gateways, or inbound internet access. This directly satisfies the company's restrictions and supports cost reduction by allowing the NAT gateways to be decommissioned if they are only used for this troubleshooting access pattern. Session Manager is not valid because the company does not support installing agents, and Session Manager requires the SSM Agent and Systems Manager connectivity. Bastion hosts require additional EC2 infrastructure and inbound access controls. Client VPN adds VPN management and does not remove the need for routing design across all VPCs as cleanly as EC2 Instance Connect Endpoint.
Question 78
Single choice
A company uses AWS WAF to protect its web applications. A solutions architect configures a web ACL that uses several rules, including a rule that inspects the HTTP request body for malicious content. The solutions architect notices that the web ACL is not inspecting large HTTP POST requests properly. As a result, suspicious activities are not being detected. Some large HTTP POST requests are more than 8 MB in size. The solutions architect must ensure that the web ACL inspects the large HTTP POST requests properly. Which solution will meet this requirement?
-
A
Create two custom AWS WAF rules. Configure one rule to block all oversized requests. Configure the second rule with a higher priority to allow large requests from legitimate hosts.
-
B
Enable AWS Shield Advanced. Reconfigure the web ACL to block oversized requests by using Shield Advanced.
-
C
Verify that the Content-Type header is correctly set in the HTTP requests that AWS WAF rules inspect.
-
D
Create an AWS Lambda function to preprocess the large requests before AWS rules inspect the requests.
Reveal answer details
Close answer details
Correct answerA
ExplanationAWS WAF has limits on how much of an HTTP request body it can inspect. When requests exceed the inspectable size, AWS WAF treats the body as oversize relative to the configured inspection limits, which can lead to rules not evaluating the entire body content. If suspicious payloads are embedded beyond the inspected portion of a large POST request (for example, > 8 MB), WAF cannot reliably detect them purely through body inspection rules. Given this constraint, the most effective way to "ensure" proper protection is to implement an oversize handling strategy using AWS WAF rule logic: block oversized requests by default and then explicitly allow oversized requests only from known legitimate sources. Option A accomplishes this by adding a rule that blocks oversize requests (so attackers cannot bypass inspection by sending very large bodies) and a higher-priority allow rule to permit large requests from trusted hosts (for example, specific known partners, internal CIDRs, or authenticated upstream systems). This design reduces the attack surface and provides deterministic behavior for requests that cannot be fully inspected. Option B is incorrect because Shield Advanced is for DDoS protection and does not extend WAF's request-body inspection size. Option C is unrelated: Content-Type can influence application parsing, but it will not overcome WAF body-size inspection limitations. Option D is not a practical fit for AWS WAF inspection because WAF evaluates requests at the edge/service layer; it does not natively "call Lambda to rewrite the request body" before WAF evaluates it. Any preprocessing would require a different architectural pattern (such as handling uploads out-of-band), which is beyond the scope and would add operational complexity. Therefore, A is the correct approach: implement explicit oversized request handling by blocking by default and allowing only vetted large requests.
Question 79
Single choice
A company is designing a solution to capture customer activity on the company ' s web applications. The company wants to analyze the activity data to make predictions. Customer activity on the web applications is unpredictable and can increase suddenly. The company requires a solution that integrates with other web applications. The solution must include an authorization step. Which solution will meet these requirements?
-
A
Deploy a Gateway Load Balancer (GWLB) in front of an Amazon Elastic Container Service (Amazon ECS) container instance. Store the data in an Amazon Elastic File System (Amazon EFS) file system. Configure the applications to pass an authorization header to the GWLB.
-
B
Deploy an Amazon API Gateway endpoint in front of an Amazon Kinesis data stream. Store the data in an Amazon S3 bucket. Use an AWS Lambda function to handle authorization.
-
C
Deploy an Amazon API Gateway endpoint in front of an Amazon Data Firehose delivery stream. Store the data in an Amazon S3 bucket. Use an API Gateway Lambda authorizer to handle authorization.
-
D
Deploy a Gateway Load Balancer (GWLB) in front of an Amazon Elastic Container Service (Amazon Use an AWS Lambda function to handle authorization.
Reveal answer details
Close answer details
Correct answerC
ExplanationThe requirements specify capturing unpredictable and sudden spikes in customer activity, integrating easily with other web applications, and including authorization. Amazon API Gateway with Lambda authorizer provides a secure, scalable entry point with flexible authorization mechanisms including token validation. Amazon Kinesis Data Firehose is a fully managed service to reliably load streaming data into destinations such as Amazon S3, which fits well for capturing streaming customer activity data. API Gateway integrates natively with Firehose for direct ingestion. This combination supports unpredictable traffic, smooth scaling, and simple authorization. Option B uses Kinesis Data Streams, which requires more management than Firehose and is less optimized for direct API integration. Options A and D use Gateway Load Balancer and ECS containers plus EFS, which add complexity and are less suited for unpredictable traffic with integrated authorization. References: Amazon API Gateway (https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html) Amazon API Gateway Lambda authorizers (https://docs.aws.amazon.com/apigateway/latest/developerguide) /apigateway-use-lambda-authorizer.html) Amazon Kinesis Data Firehose (https://docs.aws.amazon.com/firehose/latest/dev/what-is-this-service.html) AWS Well-Architected Framework - Operational Excellence Pillar (https://d1.awsstatic.com/whitepapers) /architecture/AWS_Well-Architected_Framework.pdf)
Question 80
Single choice
A company has a static website that is hosted on Amazon CloudFront in front of Amazon S3. The static website uses a database backend. The company notices that the website does not reflect updates that have been made in the website ' s Git repository. The company checks the continuous integration and continuous delivery (CI/CD) pipeline between the Git repository and Amazon S3. The company verifies that the webhooks are configured properly and that the CI/CD pipeline Is sending messages that indicate successful deployments. A solutions architect needs to implement a solution that displays the updates on the website. Which solution will meet these requirements?
-
A
Add an Application Load Balancer.
-
B
Add Amazon ElastiCache for Redis or Memcached to the database layer of the web application.
-
C
Invalidate the CloudFront cache.
-
D
Use AWS Certificate Manager (ACM) to validate the website ' s SSL certificate.
Reveal answer details
Close answer details
Correct answerC
ExplanationAmazon CloudFront is a content delivery network (CDN) service that caches copies of your content at edge locations around the world. This helps improve performance by serving content from the edge nearest to the user. However, when the content in Amazon S3 (your origin) is updated, those updates may not immediately reflect on the website if they are cached at the CloudFront edge locations. The issue described in the question suggests that the CI/CD pipeline is functioning correctly, and updates are being deployed to S3. However, since CloudFront caches this content, the edge locations may still be serving outdated content, causing the updates to not be reflected on the website. To resolve this issue, you need to invalidate the CloudFront cache. By invalidating the cache, CloudFront will remove the outdated content and retrieve the latest version from the S3 origin. AWS documentation on this process: CloudFront cache invalidation allows you to clear items from the cache so that CloudFront retrieves the latest version from the origin. You can create invalidation requests via the AWS Management Console, AWS CLI, or SDKs. AWS CloudFront Documentation Why the other options are incorrect: A. Add an Application Load Balancer: ALBs are used to distribute incoming application traffic and are not relevant to caching or serving content from CloudFront. B. Add Amazon ElastiCache for Redis or Memcached: This would help in caching database queries but has no relation to static website content hosted on CloudFront and S3. D. Use AWS Certificate Manager (ACM): ACM is used for managing SSL/TLS certificates and is unrelated to the issue of content not being updated on CloudFront.
Question 81
Single choice
A company wants to store a large amount of data as objects for analytics and long-term archiving. Resources from outside AWS need to access the data. The external resources need to access the data with unpredictable frequency. However, the external resource must have immediate access when necessary. The company needs a cost-optimized solution that provides high durability and data security. Which solution will meet these requirements?
-
A
Store the data in Amazon S3 Standard. Apply S3 Lifecycle policies to transition older data to S3 Glacier Deep Archive.
-
B
Store the data in Amazon S3 Intelligent-Tiering.
-
C
Store the data in Amazon S3 Glacier Flexible Retrieval. Use expedited retrieval to provide immediate access when necessary.
-
D
Store the data in Amazon Elastic File System (Amazon EFS) Infrequent Access (IA). Use lifecycle policies to archive older files.
Reveal answer details
Close answer details
Correct answerB
ExplanationAmazon S3 Intelligent-Tiering is designed for data with unknown or changing access patterns. It automatically moves data between frequent and infrequent access tiers based on usage. This tier offers immediate access to all objects, regardless of which tier they are stored in, while optimizing storage costs. S3 Intelligent-Tiering also provides the same high durability, availability, and security as other S3 storage classes and supports access from external resources using standard S3 APIs. Lifecycle policies and Glacier classes are more suitable for archival when infrequent access is predictable, but retrieval from Glacier classes is not immediate and incurs extra charges and delays. Reference Extract from AWS Documentation / Study Guide: " S3 Intelligent-Tiering is designed to optimize costs by automatically moving data between two access tiers when access patterns change. Data is always available and immediately accessible, making it ideal for unknown or unpredictable access patterns. " Source: AWS Certified Solutions Architect - Official Study Guide, S3 Storage Classes section.
Question 82
Single choice
An ecommerce company runs an application that uses an Amazon DynamoDB table in a single AWS Region. The company wants to deploy the application to a second Region. The company needs to support multi-active replication with low latency reads and writes to the existing DynamoDB table in both Regions. Which solution will meet these requirements in the MOST operationally efficient way?
-
A
Create a DynamoDB global secondary index (GSI) for the existing table. Create a new table in the second Region. Convert the existing DynamoDB table to a global table. Specify the new table as the secondary table.
-
B
Enable Amazon DynamoDB Streams for the existing table. Create a new table in the second Region. Create a new application that uses the DynamoDB Streams Kinesis Adapter and the Amazon Kinesis Client Library (KCL). Configure the new application to read data from the DynamoDB table in the first Region and to write the data to the new table in the second Region.
-
C
Convert the existing DynamoDB table to a global table. Choose the appropriate second Region to achieve active-active write capabilities in both Regions.
-
D
Enable Amazon DynamoDB Streams for the existing table. Create a new table in the second Region. Create an AWS Lambda function in the first Region that reads data from the table in the first Region and writes the data to the new table in the second Region. Set a DynamoDB stream as the input trigger for the Lambda function.
Reveal answer details
Close answer details
Correct answerC
ExplanationConverting the existing DynamoDB table to aglobal tableprovides active-active replication and low-latency reads and writes in both Regions. DynamoDB global tables are specifically designed for multi-Region and multi-active use cases. Option A:GSIs do not provide multi-Region replication or active-active capabilities. Option B and D:Using DynamoDB Streams and custom replication is less operationally efficient than global tables and introduces additional complexity. References: DynamoDB Global Tables
Question 83
Single choice
A solutions architect creates an Auto Scaling group for a memory-intensive application. The solutions architect wants to scale up and scale down based on memory usage. Which solution will meet this requirement?
-
A
Install and configure the AWS Systems Manager Agent (SSM Agent). Create a step scaling policy that has step adjustments based on the memory usage trend.
-
B
Install and configure the Amazon CloudWatch agent. Create a target tracking policy to scale based on the mem_used_percent CloudWatch metric.
-
C
Install and configure the AWS Systems Manager Agent (SSM Agent). Create a target tracking policy to scale based on the mem_used_percent Amazon CloudWatch metric.
-
D
Install and configure the Amazon CloudWatch agent. Create a scheduled scaling policy to scale based on the memory usage trend.
Reveal answer details
Close answer details
Correct answerB
ExplanationThe Amazon CloudWatch agent is required to collect memory utilization metrics (as memory metrics are not reported by default). A target tracking policy is the simplest and most effective way to scale based on a custom metric such as mem_used_percent. Reference Extract: " Install the CloudWatch agent to collect memory metrics, and create a target tracking scaling policy using these custom metrics. " Source: AWS Certified Solutions Architect - Official Study Guide, Monitoring and Scaling section.
Question 84
Single choice
A company provides a trading platform to customers. The platform uses an Amazon API Gateway REST API, AWS Lambda functions, and an Amazon DynamoDB table. Each trade that the platform processes invokes a Lambda function that stores the trade data in Amazon DynamoDB. The company wants to ingest trade data into a data lake in Amazon S3 for near real-time analysis. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Use Amazon DynamoDB Streams to capture the trade data changes. Configure DynamoDB Streams to invoke a Lambda function that writes the data to Amazon S3.
-
B
Use Amazon DynamoDB Streams to capture the trade data changes. Configure DynamoDB Streams to invoke a Lambda function that writes the data to Amazon Data Firehose. Write the data from Data Firehose to Amazon S3.
-
C
Enable Amazon Kinesis Data Streams on the DynamoDB table to capture the trade data changes. Configure Kinesis Data Streams to invoke a Lambda function that writes the data to Amazon S3.
-
D
Enable Amazon Kinesis Data Streams on the DynamoDB table to capture the trade data changes. Configure a data stream to be the input for Amazon Data Firehose. Write the data from Data Firehose to Amazon S3.
Reveal answer details
Close answer details
Correct answerA
ExplanationDynamoDB Streams: Captures real-time changes in DynamoDB tables and allows integration with Lambda for processing the changes. Minimal Operational Overhead: Using a Lambda function directly to write data to S3 ensures simplicity and reduces the complexity of the pipeline. Amazon DynamoDB Streams Documentation
Question 85
Single choice
A company is building a new application that will run on Amazon EC2 instances in one AWS Region. The EC2 instances will use Amazon EBS volumes. The business continuity plan requires the ability to fail over to a secondary Region. The failover must have a recovery time objective (RTO) of 4 hours and a recovery point objective (RPO) of 1 hour. Which solution will meet these requirements MOST cost-effectively?
-
A
Deploy the application on a smaller number of EC2 instances in the secondary Region. Configure the secondary Region to synchronize with the primary Region.
-
B
Refactor the application to use an active-active strategy across both Regions. Use Amazon Route 53 and health checks to route requests to the lowest-latency Region.
-
C
Use AWS Backup to create a backup plan for the EC2 instances that includes cross-Region backups to the secondary Region. Restore the EC2 instances in the secondary Region in case of failover.
-
D
Deploy a similar number of EC2 instances in the secondary Region. Use AWS DataSync to transfer the data on the EBS volumes from the primary Region to the secondary Region.
Reveal answer details
Close answer details
Correct answerC
ExplanationAWS Backup is the most cost-effective solution because the application can use a backup-and-restore disaster recovery strategy instead of maintaining continuously running compute resources in the secondary Region. The backup plan can protect the EC2 instances and their attached EBS volumes, create recovery points at least once every hour to satisfy the one-hour RPO, and copy the backups to the secondary Region. During a Regional failure, the company can restore the EC2 instances and EBS data within the four-hour RTO. An active-active architecture or a fully provisioned secondary environment would provide faster recovery but would incur significantly higher ongoing costs. AWS DataSync is intended for transferring files and objects and is not the appropriate managed service for backing up and restoring complete EC2 workloads and EBS volumes.
Question 86
Single choice
A city ' s weather forecast team is using Amazon DynamoDB in the data tier for an application. The application has several components. The analysis component of the application requires repeated reads against a large dataset. The application has started to temporarily consume all the read capacity in the DynamoDB table and is negatively affecting other applications that need to access the same data. Which solution will resolve this issue with the LEAST development effort?
-
A
Use DynamoDB Accelerator (DAX).
-
B
Use Amazon CloudFront in front of DynamoDB.
-
C
Create a DynamoDB table with a local secondary index (LSI).
-
D
Use Amazon ElastiCache in front of DynamoDB.
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation (AWS Docs): DynamoDB Accelerator (DAX) is a fully managed, in-memory cache specifically for DynamoDB. It reduces read load and latency without requiring code changes (only SDK config). This is the least development effort. "Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available in-memory cache for DynamoDB that delivers microsecond read performance and requires minimal application changes." - Amazon DAX
Question 87
Multiple choice
A company hosts an internal web application on a single Amazon EC2 instance in a private subnet. The company is running NAT software on an EC2 instance for outbound internet access from the application. To improve fault tolerance and help ensure high availability, the company needs a more resilient architecture for both the application and its outbound connectivity. Which combination of actions will meet these requirements? (Select TWO.)
-
A
Launch a standby NAT instance in a different Availability Zone. Update the route tables if the primary instance becomes unavailable.
-
B
Attach a Network Load Balancer in front of the web application. Configure Amazon CloudWatch alarms to attempt to recover the instance.
-
C
Deploy EC2 instances in an Auto Scaling group across multiple Availability Zones. Place the EC2 instances behind an Application Load Balancer.
-
D
Replace the NAT instance with a single NAT gateway in one Availability Zone. Associate the NAT gateway with all private subnets across the VPC.
-
E
Provision a NAT gateway in each Availability Zone. Update the private subnet route tables to use the local NAT gateway.
Reveal answer details
Close answer details
Correct answersC, E
ExplanationDeploying the web servers in an Auto Scaling group across multiple Availability Zones removes the single-instance failure point. An Application Load Balancer distributes requests across healthy instances and Availability Zones, while Auto Scaling replaces unhealthy instances and adjusts capacity when required. For resilient outbound connectivity, each Availability Zone should have its own NAT gateway, and each private subnet should route internet-bound traffic to the NAT gateway in the same Availability Zone. This design prevents a NAT gateway or Availability Zone failure from interrupting outbound connectivity for every private subnet. It also avoids unnecessary cross-AZ traffic charges. A standby NAT instance requires custom monitoring and route-table failover automation. A single NAT gateway remains an Availability Zone-level dependency. Recovering one EC2 application instance does not provide the same availability as running multiple instances across Availability Zones.
Question 88
Single choice
A company currently runs a Linux-based application in a self-managed Docker container that runs on Amazon EC2 instances. The application runs a lightweight data processing tool that always completes its job within 3 minutes. The company wants an alternative deployment solution for the application to reduce infrastructure management overhead. The company is willing to make any required changes to the image. Which solution will meet this requirement with the LEAST operational overhead?
-
A
Deploy the application as an AWS Lambda function that uses the container image.
-
B
Deploy the application on Amazon EKS with the AWS Fargate launch type.
-
C
Deploy the application on Amazon ECS with the AWS Fargate launch type.
-
D
Deploy the application as a custom Amazon Machine Image (AMI) by using AWS Batch.
Reveal answer details
Close answer details
Correct answerA
ExplanationThe correct answer isAbecause the application is alightweight data processing toolthat always completes within3 minutes, which fits well within the execution model ofAWS Lambda. Lambda is a fully managed compute service that eliminates the need to provision or manage servers, clusters, operating systems, or container hosts. Since the company is willing to make any required changes to the image, packaging the workload as aLambda container imageis the option with the least operational overhead. Lambda is well suited for short-lived, event-driven, or on-demand processing jobs. It automatically scales, charges only for execution time, and removes nearly all infrastructure administration. Compared with container orchestration services, Lambda requires less setup, less monitoring of infrastructure, and no task or cluster capacity planning. Option B is incorrect becauseAmazon EKS with Fargatestill requires Kubernetes management constructs and introduces more operational complexity than Lambda. Option C is simpler than EKS, butAmazon ECS with Fargatestill involves managing task definitions, services, and networking, which is more overhead than Lambda for a brief processing job. Option D is incorrect because using a custom AMI with AWS Batch introduces more compute management and is unnecessary for a very short, lightweight workload. AWS guidance favorsserverless serviceswhen the workload is short-lived and infrastructure management should be minimized. Because this job always completes quickly and the company wants the least operational overhead,AWS Lambda with a container imageis the best solution.
Question 89
Single choice
A company wants to migrate its on-premises application to AWS. The application produces output files that vary in size from tens of gigabytes to hundreds of terabytes. The application data must be stored in a standard file system structure. The company wants a solution that scales automatically. is highly available, and requires minimum operational overhead. Which solution will meet these requirements?
-
A
Migrate the application to run as containers on Amazon Elastic Container Service (Amazon ECS). Use Amazon S3 for storage.
-
B
Migrate the application to run as containers on Amazon Elastic Kubernetes Service (Amazon EKS). Use Amazon Elastic Block Store (Amazon EBS) for storage.
-
C
Migrate the application to Amazon EC2 instances in a Multi-AZ Auto Scaling group. Use Amazon Elastic File System (Amazon EFS) for storage.
-
D
Migrate the application to Amazon EC2 instances in a Multi-AZ Auto Scaling group. Use Amazon Elastic Block Store (Amazon EBS) for storage.
Reveal answer details
Close answer details
Question 90
Single choice
A company wants to publish a private website for its on-premises employees. The website consists of several HTML pages and image files. The website must be available only through HTTPS and must be available only to on-premises employees. A solutions architect plans to store the website files in an Amazon S3 bucket. Which solution will meet these requirements?
-
A
Create an S3 bucket policy to deny access when the source IP address is not the public IP address of the on-premises environment Set up an Amazon Route 53 alias record to point to the S3 bucket. Provide the alias record to the on-premises employees to grant the employees access to the website.
-
B
Create an S3 access point to provide website access. Attach an access point policy to deny access when the source IP address is not the public IP address of the on-premises environment. Provide the S3 access point alias to the on-premises employees to grant the employees access to the website.
-
C
Create an Amazon CloudFront distribution that includes an origin access control (OAC) that is configured for the S3 bucket. Use AWS Certificate Manager for SSL. Use AWS WAF with an IP set rule that allows access for the on-premises IP address. Set up an Amazon Route 53 alias record to point to the CloudFront distribution.
-
D
Create an Amazon CloudFront distribution that includes an origin access control (OAC) that is configured for the S3 bucket. Create a CloudFront signed URL for the objects in the bucket. Set up an Amazon Route 53 alias record to point to the CloudFront distribution. Provide the signed URL to the on-premises employees to grant the employees access to the website.
Reveal answer details
Close answer details
Correct answerC
ExplanationThis solution usesCloudFrontto serve the website securely over HTTPS usingAWS Certificate Manager (ACM)for SSL certificates.Origin Access Control (OAC)ensures that only CloudFront can access the S3 bucket directly.AWS WAFwith an IP set rule restricts access to the website, allowing only the on-premises IP address.Route 53is used to create an alias record pointing to the CloudFront distribution. This setup ensures secure, private access to the website with low administrative overhead. Option A and B: S3 bucket policies and access points do not provide HTTPS support, nor do they offer the same level of security as CloudFront with WAF. Option D: Signed URLs are more suitable for temporary, expiring access rather than a permanent solution for on-premises employees. References: Amazon CloudFront with Origin Access Control
Question 91
Single choice
A company uses an AWS Transfer for SFTP public server endpoint and Amazon S3 storage to host large datasets for its customers. The company provides customers SSH private keys to authenticate and download their datasets. The Transfer for SFTP server is configured with structured logging that is saved to an S3 bucket. The company wants to charge customers based on their monthly data download usage. Which solution will meet these requirements?
-
A
Configure VPC Flow Logs to write to a new S3 bucket. Run monthly queries on the flow logs to identify customer usage and calculate cost. Add the charges to the customers ' monthly bills.
-
B
Each month, use AWS Cost Explorer to examine the costs for Transfer for SFTP and obtain a breakdown by customer. Add the charges to the customers ' monthly bills.
-
C
Enable requester pays on the S3 bucket that hosts the software. Allocate the charges to each customer based on the customer ' s requests.
-
D
Run Amazon Athena queries on the logging S3 bucket monthly to identify customer usage and calculate costs. Add the charges to the customers ' monthly bills.
Reveal answer details
Close answer details
Correct answerD
ExplanationComprehensive and Detailed Step-by-Step Explanation: To accurately charge customers based on their monthly data download usage, the following solution is recommended: Structured Logging Configuration: Action:Ensure that the AWS Transfer for SFTP server is configured to log user activity, including details about file downloads, to Amazon S3 in a structured format. Implementation:Utilize AWS Transfer Family ' s structured logging feature to capture detailed information about user sessions, including actions performed and data transferred. docs.aws.amazon.com Justification:Structured logs provide comprehensive data necessary for analyzing customer-specific download activities. Data Analysis with Amazon Athena: Action:Use Amazon Athena to run SQL queries on the structured log data stored in the S3 bucket to calculate the amount of data each customer has downloaded. Implementation: a.Define a Schema:Create a table in Athena that maps to the structure of your log files. This involves specifying the format of the logs and the location in S3. b.Query Data:Write SQL queries to sum the total bytes downloaded by each customer over the billing period. This can be achieved by filtering logs based on user identifiers and summing the data transfer amounts. Justification:Athena allows for efficient querying
Question 92
Single choice
A company is building an application that needs to process real-time streaming data. The application must process and transform the data and then store the data for later analysis. Which solution will meet these requirements with the LEAST operational overhead?
-
A
Use Amazon Kinesis Data Streams to ingest streaming data. Configure Amazon EC2 instances to process and transform data records from the data streams. Configure the EC2 instances to store the processed and transformed data in an Amazon RDS for MySQL database.
-
B
Send streaming data to an Amazon SQS queue. Configure AWS Lambda functions to process the data in the SQS queue. Store the processed data in an Amazon DynamoDB table.
-
C
Use Amazon Kinesis Data Streams to ingest streaming data. Configure an AWS Lambda function to process and transform data records from the data streams. Configure the Lambda function to store the processed and transformed data in an Amazon DynamoDB table.
-
D
Send streaming data to an Amazon SNS topic. Create an application to process the data on an Amazon EC2 instance. Store the processed data in an Amazon ElastiCache cache.
Reveal answer details
Close answer details
Correct answerC
ExplanationKinesis Data Streams is the right ingestion service for real-time streaming data, and AWS Lambda is the least-operations compute option for processing and transforming records from the stream. AWS documents that Lambda can process events from stream sources such as Kinesis without infrastructure management. Storing the transformed data in DynamoDB provides durable, scalable storage for later analysis. The EC2 option introduces server management overhead. SQS is useful for queued work, but the question specifically centers on streaming data. SNS with ElastiCache is also not a durable analysis store design. Therefore, Kinesis Data Streams plus Lambda plus DynamoDB is the lowest-overhead architecture among the choices.
Question 93
Single choice
A company serves its website by using an Auto Scaling group of Amazon EC2 instances in a single AWS Region. The website does not require a database The company is expanding, and the company ' s engineering team deploys the website to a second Region. The company wants to distribute traffic across both Regions to accommodate growth and for disaster recovery purposes. The solution should not serve traffic from a Region in which the website is unhealthy. Which policy or resource should the company use to meet these requirements?
-
A
An Amazon Route 53 simple routing policy
-
B
An Amazon Route 53 multivalue answer routing policy
-
C
An Application Load Balancer in one Region with a target group that specifies the EC2 instance IDs from both Regions
-
D
An Application Load Balancer in one Region with a target group that specifies the IP addresses of the EC2 instances from both Regions
Reveal answer details
Close answer details
Correct answerB
ExplanationAmazon Route 53 Multivalue Answer Routing: This routing policy allows Route 53 to return multiple values, such as IP addresses, in response to DNS queries. This can distribute traffic across multiple resources and includes health checks to ensure traffic is only routed to healthy instances. Health Checks: Configure health checks for each Region to monitor the health of the website instances. Route 53 will only include healthy instances in the DNS responses, ensuring that traffic is not routed to an unhealthy Region. Load Distribution and Disaster Recovery: Multivalue answer routing helps balance the load between instances in different Regions. If instances in one Region become unhealthy, Route 53 will route traffic to the healthy instances in the other Region. Operational Simplicity: This solution does not require complex configurations or additional resources, making it a simple yet effective way to distribute traffic and ensure high availability. References: Amazon Route 53 Routing Policies Multivalue Answer Routing
Question 94
Single choice
A company is migrating mobile banking applications to run on Amazon EC2 instances in a VPC. Backend service applications run in an on-premises data center. The data center has an AWS Direct Connect connection into AWS. The applications that run in the VPC need to resolve DNS requests to an on-premises Active Directory domain that runs in the data center. Which solution will meet these requirements with the LEAST administrative overhead?
-
A
Provision a set of EC2 instances across two Availability Zones in the VPC as caching DNS servers to resolve DNS queries from the application servers within the VPC.
-
B
Provision an Amazon Route 53 private hosted zone. Configure NS records that point to on-premises DNS servers.
-
C
Create DNS endpoints by using Amazon Route 53 Resolver. Add conditional forwarding rules to resolve DNS namespaces between the on-premises data center and the VPC.
-
D
Provision a new Active Directory domain controller in the VPC with a bidirectional trust between this new domain and the on-premises Active Directory domain.
Reveal answer details
Close answer details
Correct answerC
ExplanationAmazon Route 53 Resolver endpoints allow you to integrate DNS between AWS and on-premises environments easily. By creating inbound and outbound resolver endpoints, you can configure conditional forwarding rules so that DNS queries for your on-premises AD domain are forwarded to the on-premises DNS servers. This approach is fully managed, scales automatically, and requires the least administrative overhead. AWS Documentation Extract: " Route 53 Resolver provides DNS resolution between AWS and on-premises environments, using endpoints and forwarding rules to manage DNS query routing seamlessly. " (Source: Route 53 Resolver documentation) A, D: Require provisioning, managing, and patching EC2 servers or domain controllers. B: NS records in a private hosted zone do not provide true DNS forwarding. References: AWS Certified Solutions Architect - Official Study Guide, Hybrid DNS Integration.
Question 95
Single choice
A company runs an online marketplace web application on AWS. The application serves hundreds of thousands of users during peak hours. The company needs a scalable, near-real-time solution to share the details of millions of financial transactions with several other internal applications. Transactions also need to be processed to remove sensitive data before being stored in a document database for low-latency retrieval. What should a solutions architect recommend to meet these requirements?
-
A
Store the transactions data into Amazon DynamoDB. Set up a rule in DynamoDB to remove sensitive data from every transaction upon write. Use DynamoDB Streams to share the transactions data with other applications.
-
B
Stream the transactions data into Amazon Kinesis Data Firehose to store data in Amazon DynamoDB and Amazon S3. Use AWS Lambda integration with Kinesis Data Firehose to remove sensitive data. Other applications can consume the data stored in Amazon S3.
-
C
Stream the transactions data into Amazon Kinesis Data Streams. Use AWS Lambda integration to remove sensitive data from every transaction and then store the transactions data in Amazon DynamoDB. Other applications can consume the transactions data off the Kinesis data stream.
-
D
Store the batched transactions data in Amazon S3 as files. Use AWS Lambda to process every file and remove sensitive data before updating the files in Amazon S3. The Lambda function then stores the data in Amazon DynamoDB. Other applications can consume transaction files stored in Amazon S3.
Reveal answer details
Close answer details
Question 96
Single choice
A company wants to migrate applications from its on-premises servers to AWS. As a first step, the company is modifying and migrating a non-critical application to a single Amazon EC2 instance. The application will store information in an Amazon S3 bucket. The company needs to follow security best practices when deploying the application on AWS. Which approach should the company take to allow the application to interact with Amazon S3?
-
A
Store the files in an Amazon S3 bucket. Use the S3 Glacier Instant Retrieval storage class. Create an S3 Lifecycle policy to transition the files to the S3 Glacier Deep Archive storage class after 1 year.
-
B
Store the files in an Amazon S3 bucket. Use the S3 Standard storage class. Create an S3 Lifecycle policy to transition the files to the S3 Glacier Flexible Retrieval storage class after 1 year.
-
C
Store the files on an Amazon Elastic Block Store (Amazon EBS) volume. Use Amazon Data Lifecycle Manager to create snapshots of the EBS volumes and to store those snapshots in Amazon S3.
-
D
Store the files on an Amazon Elastic File System (Amazon EFS) mount. Configure EFS lifecycle management to transition the files to the EFS Standard-Infrequent Access (Standard-IA) storage class after 1 year.
Reveal answer details
Close answer details
Correct answerA
ExplanationThe company's requirements are: Store gigabytes of rarely accessed files daily. Files must be available within minutes during the first year. Retain files for 7 years cost-effectively. The S3 Glacier Instant Retrieval storage class provides low-cost, long-term storage for data accessed occasionally, with millisecond retrieval time. This fits the requirement for availability within minutes during the first year. After one year, transitioning files to S3 Glacier Deep Archive (the lowest cost S3 storage class) with longer retrieval times is cost-effective for data retention over 7 years. Option B uses S3 Standard and Glacier Flexible Retrieval, which is higher cost during the first year and slower retrieval times. Option C is less cost-efficient because EBS volumes are expensive for rarely accessed data and snapshots incur additional costs. Option D uses EFS, which is designed for low-latency file storage but is more expensive than S3 Glacier classes for long-term archival. References: Amazon S3 Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.) html) S3 Glacier Instant Retrieval (https://aws.amazon.com/s3/storage-classes/glacier-instant-retrieval/) Amazon S3 Lifecycle Management (https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html) AWS Well-Architected Framework - Cost Optimization Pillar (https://d1.awsstatic.com/whitepapers) /architecture/AWS_Well-Architected_Framework.pdf)
Question 97
Single choice
A company runs multiple applications in multiple AWS accounts within the same organization in AWS Organizations. A content management system (CMS) runs on Amazon EC2 instances in a VPC. The CMS needs to access shared files from an Amazon Elastic File System (Amazon EFS) file system that is deployed in a separate AWS account. The EFS account is in a separate VPC. Which solution will meet this requirement?
-
A
Mount the EFS file system on the EC2 instances by using the EFS Elastic IP address.
-
B
Enable VPC sharing between the two accounts. Use the EFS mount helper to mount the file system on the EC2 instances. Redeploy the EFS file system in a shared subnet.
-
C
Configure AWS Systems Manager Run Command to mount the EFS file system on the EC2 instances.
-
D
Install the amazon-efs-utils package on the EC2 instances. Add the mount target in the efs-config file. Mount the EFS file system by using the EFS access point.
Reveal answer details
Close answer details
Correct answerD
ExplanationTo access an EFS file system across accounts and VPCs, the EFS must be mounted using VPC peering or AWS Transit Gateway, and the EC2 instances must use the amazon-efs-utils package with the correct mount target or access point. Using an EFS access point simplifies access management, especially across accounts, by providing a POSIX identity and access policy layer. VPC sharing doesn't support EFS directly unless the subnet and resources are shared properly, which requires redeployment. Therefore, option D is the most complete and correct.
Question 98
Single choice
A company is migrating applications from an on-premises Microsoft Active Directory that the company manages to AWS. The company deploys the applications in multiple AWS accounts. The company uses AWS Organizations to manage the accounts centrally. The company ' s security team needs a single sign-on solution across all the company ' s AWS accounts. The company must continue to manage users and groups that are in the on-premises Active Directory Which solution will meet these requirements?
-
A
Create an Enterprise Edition Active Directory in AWS Directory Service for Microsoft Active Directory. Configure the Active Directory to be the identity source for AWS IAM Identity Center
-
B
Enable AWS IAM Identity Center. Configure a two-way forest trust relationship to connect the company ' s self-managed Active Directory with IAM Identity Center by using AWS Directory Service for Microsoft Active Directory.
-
C
Use AWS Directory Service and create a two-way trust relationship with the company ' s self-managed Active Directory.
-
D
Deploy an identity provider (IdP) on Amazon EC2. Link the IdP as an identity source within AWS IAM Identity Center.
Reveal answer details
Close answer details
Correct answerB
ExplanationThe company is looking for a solution that provides single sign-on (SSO) across multiple AWS accounts while continuing to manage users and groups in their on-premises Active Directory (AD). AWS IAM Identity Center (formerly AWS SSO) is the recommended solution for this type of requirement. AWS IAM Identity Centerprovides a centralized identity management solution, enabling single sign-on across multiple AWS accounts and other cloud applications. It can integrate with on-premises Active Directory to leverage existing users and groups. By configuring a two-way forest trust relationship between AWS Directory Service for Microsoft Active Directory and the company ' s on-premises Active Directory, users can be authenticated by their on-premises AD and still access AWS resources through IAM Identity Center. This solution allows centralized management of AWS accounts within AWS Organizations. The two-way trust allows mutual access between the on-premises AD and the AWS Directory Service. This means that users and groups in the on-premises AD can be used for authentication in AWS IAM Identity Center while maintaining the existing identity management system. References: AWS IAM Identity Center Documentation AWS Directory Service for Microsoft Active Directory Trust Relationships AWS Directory Service Integration with IAM Identity Center Why the other options are incorrect: A. Create an Enterprise Edition Active Directory in AWS Directory Service: This would require setting up a new directory and managing it in AWS, which adds unnecessary overhead. The requirement is to continue using the existing on-premises AD, making this option unsuitable. C. Use AWS Directory Service and create a two-way trust relationship: While this approach establishes a trust between on-premises AD and AWS Directory Service, it does not address the single sign-on (SSO) requirements across multiple AWS accounts through IAM Identity Center. D. Deploy an identity provider (IdP) on Amazon EC2: This is more complex than necessary and introduces more management overhead. AWS IAM Identity Center natively supports integration with on-premises Active Directory without requiring a custom IdP.
Question 99
Single choice
A company hosts a static website in an Amazon S3 bucket. The S3 bucket is the origin for an Amazon CloudFront distribution. The company has users in the United States, Canada, and Europe. The company wants to optimize distribution costs for the website. Which solution will meet these requirements?
-
A
Configure CloudFront to send a Cache-Control response header. Set the maximum TTL to a low value.
-
B
Use CloudFront events to invoke Lambda@Edge functions to perform data processing for the website.
-
C
Modify the CloudFront price class to include only the geographic areas that the company serves.
-
D
Use AWS Certificate Manager (ACM) to provision a public SSL/TLS certificate for the CloudFront distribution.
Reveal answer details
Close answer details
Correct answerC
ExplanationCloudFront price classes allow the company to control which groups of edge locations CloudFront uses to deliver content. Because the website's users are limited to the United States, Canada, and Europe, the company can select a price class that excludes more expensive edge locations in geographic areas where it has no users. This reduces distribution costs while continuing to provide low-latency delivery in the required markets. Setting a low maximum TTL generally increases requests to the S3 origin and can increase both latency and origin request costs. Lambda@Edge introduces additional invocation charges and operational complexity and is unnecessary for a basic static website. An ACM certificate provides encrypted HTTPS connections but does not optimize CloudFront distribution expenses. The price-class adjustment directly aligns CloudFront's geographic coverage and associated data-transfer pricing with the company's actual user locations.
Question 100
Single choice
A weather forecasting company needs to process hundreds of gigabytes of data with sub-millisecond latency. The company has a high performance computing (HPC) environment in its data center and wants to expand its forecasting capabilities. A solutions architect must identify a highly available cloud storage solution that can handle large amounts of sustained throughput Files that are stored in the solution should be accessible to thousands of compute instances that will simultaneously access and process the entire dataset. What should the solutions architect do to meet these requirements?
-
A
Use Amazon FSx for Lustre scratch file systems
-
B
Use Amazon FSx for Lustre persistent file systems.
-
C
Use Amazon Elastic File System (Amazon EFS) with Bursting Throughput mode.
-
D
Use Amazon Elastic File System (Amazon EFS) with Provisioned Throughput mode.
Reveal answer details
Close answer details
Correct answerB
ExplanationAmazon FSx for Lustre: Lustre is a high-performance file system designed for workloads that require fast storage with sustained high throughput and low latency. It integrates with Amazon S3, making it suitable for HPC environments. Persistent File Systems: Persistent Storage: Suitable for long-term storage and recurrent use, providing durability and availability. High Throughput and Low Latency: Persistent Lustre file systems can handle large amounts of data with sub-millisecond latency, meeting the needs of high-performance computing workloads. Simultaneous Access: FSx for Lustre allows thousands of compute instances to access and process large datasets concurrently, ensuring that the high volume of data is handled efficiently. Highly Available: FSx for Lustre is designed to provide high availability and is managed by AWS, reducing the operational burden. References: Amazon FSx for Lustre High-Performance Computing on AWS
|