A company runs a three-tier web application in a VPC across multiple Availability Zones. Amazon EC2 instances run in an Auto Scaling group for the application tier.
The company needs to make an automated scaling plan that will analyze each resource's daily and weekly historical workload trends. The configuration must scale resources appropriately according to both the forecast and live changes in utilization.
Which scaling strategy should a solutions architect recommend to meet these requirements?
A. Implement dynamic scaling with step scaling based on average CPU utilization from the EC2 instances.
B. Enable predictive scaling to forecast and scale. Configure dynamic scaling with target tracking
C. Create an automated scheduled scaling action based on the traffic patterns of the web application.
D. Set up a simple scaling policy. Increase the cooldown period based on the EC2 instance startup time.
Show Answer
Correct Answer: B
Explanation: The requirement is to analyze daily and weekly historical workload trends (forecasting) and also respond to real-time utilization changes. Amazon EC2 Auto Scaling predictive scaling uses machine learning to forecast demand from historical data, while dynamic scaling with target tracking adjusts capacity in response to live metrics. Combining predictive scaling with dynamic target tracking satisfies both forecast-based and real-time scaling needs.
Question 295
A company has an on-premises data center that is running out of storage capacity. The company wants to migrate its storage infrastructure to AWS while minimizing bandwidth costs. The solution must allow for immediate retrieval of data at no additional cost.
How can these requirements be met?
A. Deploy Amazon S3 Glacier Vault and enable expedited retrieval. Enable provisioned retrieval capacity for the workload.
B. Deploy AWS Storage Gateway using cached volumes. Use Storage Gateway to store data in Amazon S3 while retaining copies of frequently accessed data subsets locally.
C. Deploy AWS Storage Gateway using stored volumes to store data locally. Use Storage Gateway to asynchronously back up point-in-time snapshots of the data to Amazon S3.
D. Deploy AWS Direct Connect to connect with the on-premises data center. Configure AWS Storage Gateway to store data locally. Use Storage Gateway to asynchronously back up point-in-time snapshots of the data to Amazon S3.
Show Answer
Correct Answer: B
Explanation: The company is running out of on‑premises storage capacity and wants to migrate storage to AWS while minimizing bandwidth costs and still allowing immediate retrieval at no extra cost. AWS Storage Gateway with cached volumes stores the primary copy of data in Amazon S3 (solving the capacity issue) while keeping only frequently accessed data locally for low‑latency, immediate access. This reduces on‑premises storage needs, avoids retrieval fees (unlike Glacier), and minimizes bandwidth usage through caching and data transfer optimization. Stored volumes (C, D) keep the full dataset on‑premises and do not address the storage capacity problem.
Question 296
A company stores critical data in Amazon DynamoDB tables in the company's AWS account. An IT administrator accidentally deleted a DynamoDB table. The deletion caused a significant loss of data and disrupted the company's operations. The company wants to prevent this type of disruption in the future.
Which solution will meet this requirement with the LEAST operational overhead?
A. Configure a trail in AWS CloudTrail. Create an Amazon EventBridge rule for delete actions. Create an AWS Lambda function to automatically restore deleted DynamoDB tables.
B. Create a backup and restore plan for the DynamoDB tables. Recover the DynamoDB tables manually.
C. Configure deletion protection on the DynamoDB tables.
D. Enable point-in-time recovery on the DynamoDB tables.
Show Answer
Correct Answer: C
Explanation: The goal is to prevent accidental deletion with the least operational overhead. DynamoDB deletion protection directly blocks table deletion and requires no recovery workflows or ongoing management. Options B and D only help with recovery after deletion, and option A adds significant complexity and maintenance. Therefore, enabling deletion protection is the simplest and most effective preventive solution.
Question 297
A company has deployed a multiplayer game for mobile devices. The game requires live location tracking of players based on latitude and longitude. The data store for the game must support rapid updates and retrieval of locations.
The game uses an Amazon RDS for PostgreSQL DB instance with read replicas to store the location data. During peak usage periods, the database is unable to maintain the performance that is needed for reading and writing updates. The game's user base is increasing rapidly.
What should a solutions architect do to improve the performance of the data tier?
A. Take a snapshot of the existing DB instance. Restore the snapshot with Multi-AZ enabled.
B. Migrate from Amazon RDS to Amazon OpenSearch Service with OpenSearch Dashboards.
C. Deploy Amazon DynamoDB Accelerator (DAX) in front of the existing DB instance. Modify the game to use DAX.
D. Deploy an Amazon ElastiCache for Redis cluster in front of the existing DB instance. Modify the game to use Redis.
Show Answer
Correct Answer: D
Explanation: The workload requires very fast, frequent updates and retrievals of live location data at scale. Amazon ElastiCache for Redis is an in-memory data store that supports microsecond-level read and write latency, horizontal scaling (including write scaling with cluster mode), and native geospatial data structures, making it well suited for real-time multiplayer game location tracking.
Option C is incorrect because DynamoDB Accelerator (DAX) only works with Amazon DynamoDB, not with Amazon RDS for PostgreSQL.
Option A improves availability, not performance.
Option B (OpenSearch) is designed for search and analytics, not high-throughput transactional updates.
Question 298
A company maintains about 300 TB in Amazon S3 Standard storage month after month. The S3 objects are each typically around 50 GB in size and are frequently replaced with multipart uploads by their global application. The number and size of S3 objects remain constant, but the company's S3 storage costs are increasing each month.
How should a solutions architect reduce costs in this situation?
A. Switch from multipart uploads to Amazon S3 Transfer Acceleration.
B. Enable an S3 Lifecycle policy that deletes incomplete multipart uploads.
C. Configure S3 inventory to prevent objects from being archived too quickly.
D. Configure Amazon CloudFront to reduce the number of objects stored in Amazon S3.
Show Answer
Correct Answer: B
Explanation: Multipart uploads that are frequently replaced can leave behind incomplete upload parts. Amazon S3 charges for the storage of these incomplete multipart upload parts, which causes storage costs to grow even when the number and size of completed objects remain constant. Enabling an S3 Lifecycle policy to abort and delete incomplete multipart uploads removes these unused parts and directly reduces ongoing S3 storage costs.
Question 299
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.
Show Answer
Correct Answer: B
Explanation: The issue is that pods scale with the Horizontal Pod Autoscaler, but the cluster does not add new worker nodes when existing nodes are full. The Kubernetes Cluster Autoscaler is designed specifically to solve this by automatically increasing or decreasing the number of nodes in an EKS cluster based on pending pods and resource demand, using underlying Auto Scaling groups. It is a native, managed solution with minimal administrative overhead compared to custom Lambda automation or manual scaling approaches.
Question 300
A company has applications that run on Amazon EC2 instances. The EC2 instances connect to Amazon RDS databases by using an IAM role that has associated policies. The company wants to use AWS Systems Manager to patch the EC2 instances without disrupting the running applications.
Which solution will meet these requirements?
A. Create a new IAM role. Attach the AmazonSSMManagedInstanceCore policy to the new IAM role. Attach the new IAM role to the EC2 instances and the existing IAM role.
B. Create an IAM user. Attach the AmazonSSMManagedInstanceCore policy to the IAM user. Configure Systems Manager to use the IAM user to manage the EC2 instances.
C. Enable Default Host Configuration Management in Systems Manager to manage the EC2 instances.
D. Remove the existing policies from the existing IAM role. Add the AmazonSSMManagedInstanceCore policy to the existing IAM role.
Show Answer
Correct Answer: C
Explanation: To use AWS Systems Manager (SSM), EC2 instances must have the AmazonSSMManagedInstanceCore permissions, but the requirement is to patch instances without disrupting running applications that already rely on an existing IAM role for RDS access.
EC2 instances can have only one IAM role attached at a time, so options that require attaching an additional role (A) are invalid. Creating an IAM user for SSM (B) is not supported for managing EC2 instances. Removing existing policies from the current role (D) risks breaking application access to RDS and contradicts the non-disruption requirement.
Enabling Default Host Management Configuration in Systems Manager (C) automatically creates and applies the necessary IAM role for Systems Manager without manual role changes, allowing patching via Patch Manager while avoiding disruption to application functionality. This directly satisfies the requirement.
Question 301
A company has an AWS Direct Connect connection from its on-premises location to an AWS account. The AWS account has 30 different VPCs in the same AWS Region. The VPCs use private virtual interfaces (VIFs). Each VPC has a CIDR block that does not overlap with other networks under the company's control.
The company wants to centrally manage the networking architecture while still allowing each VPC to communicate with all other VPCs and on-premises networks.
Which solution will meet these requirements with the LEAST amount of operational overhead?
A. Create a transit gateway, and associate the Direct Connect connection with a new transit VIF. Turn on the transit gateway's route propagation feature.
B. Create a Direct Connect gateway. Recreate the private VIFs to use the new gateway. Associate each VPC by creating new virtual private gateways.
C. Create a transit VPConnect the Direct Connect connection to the transit VPCreate a peering connection between all other VPCs in the Region. Update the route tables.
D. Create AWS Site-to-Site VPN connections from on premises to each VPC. Ensure that both VPN tunnels are UP for each connection. Turn on the route propagation feature.
Show Answer
Correct Answer: A
Explanation: Using an AWS Transit Gateway provides a centralized hub-and-spoke networking model with minimal operational overhead. By associating the Direct Connect connection via a transit VIF and enabling route propagation, all 30 VPCs and the on-premises network can automatically exchange routes and communicate with each other. This avoids managing dozens of VPC peering connections, individual VPNs, or separate virtual private gateways, and is the AWS-recommended scalable approach for multi-VPC, centralized network management.
Question 302
A company wants to rearchitect a large-scale web application to a serverless microservices architecture. The application uses Amazon EC2 instances and is written in Python.
The company selected one component of the web application to test as a microservice. The component supports hundreds of requests each second. The company wants to create and test the microservice on an AWS solution that supports Python. The solution must also scale automatically and require minimal infrastructure and minimal operational support.
Which solution will meet these requirements?
A. Use a Spot Fleet with auto scaling of EC2 instances that run the most recent Amazon Linux operating system.
B. Use an AWS Elastic Beanstalk web server environment that has high availability configured.
C. Use Amazon Elastic Kubernetes Service (Amazon EKS). Launch Auto Scaling groups of self-managed EC2 instances.
D. Use an AWS Lambda function that runs custom developed code.
Show Answer
Correct Answer: D
Explanation: The requirement is a serverless microservices solution that supports Python, automatically scales to hundreds of requests per second, and requires minimal infrastructure and operational overhead. AWS Lambda is a fully serverless compute service that natively supports Python, scales automatically with request volume, and removes the need to manage servers or clusters. The other options rely on EC2 instances or self-managed infrastructure, which contradict the serverless and minimal-operations requirements.
Question 303
A manufacturing company runs its report generation application on AWS. The application generates each report in about 20 minutes. The application is built as a monolith that runs on a single Amazon EC2 instance. The application requires frequent updates to its tightly coupled modules. The application becomes complex to maintain as the company adds new features.
Each time the company patches a software module, the application experiences downtime. Report generation must restart from the beginning after any interruptions. The company wants to redesign the application so that the application can be flexible, scalable, and gradually improved. The company wants to minimize application downtime.
Which solution will meet these requirements?
A. Run the application on AWS Lambda as a single function with maximum provisioned concurrency.
B. Run the application on Amazon EC2 Spot Instances as microservices with a Spot Fleet default allocation strategy.
C. Run the application on Amazon Elastic Container Service (Amazon ECS) as microservices with service auto scaling.
D. Run the application on AWS Elastic Beanstalk as a single application environment with an all-at-once deployment strategy.
Show Answer
Correct Answer: C
Explanation: The application needs to move from a tightly coupled monolith to a flexible, scalable architecture with minimal downtime during updates. Running the application as microservices on Amazon ECS allows independent deployment and scaling of components, rolling updates with no or minimal downtime, and easier maintenance as features are added. ECS supports long-running workloads (unlike Lambda’s time limits), avoids interruption risks inherent to Spot Instances for stateful processing, and is more suitable than a single-environment Elastic Beanstalk all-at-once deployment, which would still cause downtime.
$19
Get all 1003 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.