Amazon

SAA-C03 Free Practice Questions — Page 45

Question 435

A company is deploying an application that processes large quantities of data in parallel. The company plans to use Amazon EC2 instances for the workload. The network architecture must be configurable to prevent groups of nodes from sharing the same underlying hardware. Which networking solution meets these requirements?

A. Run the EC2 instances in a spread placement group.
B. Group the EC2 instances in separate accounts.
C. Configure the EC2 instances with dedicated tenancy.
D. Configure the EC2 instances with shared tenancy.
Show Answer
Correct Answer: A
Explanation:
A spread placement group places each instance on distinct underlying hardware, preventing instances in the group from sharing the same physical host and reducing correlated failures. Dedicated tenancy isolates your hardware from other AWS customers but does not provide configurable separation of your own instance groups across underlying hardware. Separate accounts and shared tenancy do not meet the requirement.

Question 436

A company hosts an internal serverless application on AWS by using Amazon API Gateway and AWS Lambda. The company’s employees report issues with high latency when they begin using the application each day. The company wants to reduce latency. Which solution will meet these requirements?

A. Increase the API Gateway throttling limit.
B. Set up a scheduled scaling to increase Lambda provisioned concurrency before employees begin to use the application each day.
C. Create an Amazon CloudWatch alarm to initiate a Lambda function as a target for the alarm at the beginning of each day.
D. Increase the Lambda function memory.
Show Answer
Correct Answer: B
Explanation:
The latency spike at the beginning of each day is most likely due to Lambda cold starts after periods of inactivity. Scheduling Lambda provisioned concurrency before employees begin using the application keeps execution environments pre-initialized, minimizing cold-start latency. Increasing API Gateway throttling does not reduce latency, invoking a function via a CloudWatch alarm only warms a limited execution environment and is not a reliable solution at scale, and increasing Lambda memory may improve execution speed but does not address cold starts directly.

Question 437

An ecommerce company uses Amazon Route 53 as its DNS provider. The company hosts its website on premises and in the AWS Cloud. The company's on-premises data center is near the us-west-1 Region. The company uses the eu-central-1 Region to host the website. The company wants to minimize load time for the website as much as possible. Which solution will meet these requirements?

A. Set up a geolocation routing policy. Send the traffic that is near us-west-1 to the on-premises data center. Send the traffic that is near eu-central-1 to eu-central-1.
B. Set up a simple routing policy that routes all traffic that is near eu-central-1 to eu-central-1 and routes all traffic that is near the on-premises datacenter to the on-premises data center.
C. Set up a latency routing policy. Associate the policy with us-west-1.
D. Set up a weighted routing policy. Split the traffic evenly between eu-central-1 and the on-premises data center.
Show Answer
Correct Answer: A
Explanation:
Geolocation routing is the best fit because the company has two endpoints in different geographic locations (an on-premises data center near us-west-1 and an AWS deployment in eu-central-1) and wants users directed to the closest endpoint to minimize load time. Latency-based routing in Route 53 measures latency to AWS Regions and is intended for AWS endpoints; the on-premises data center is not an AWS Region, so associating a latency policy with us-west-1 does not correctly represent the on-premises endpoint. Simple routing does not make location-based decisions, and weighted routing distributes traffic rather than optimizing latency.

Question 438

A company uses locally attached storage to run a latency-sensitive application on premises. The company is using a lift and shift method to move the application to the AWS Cloud. The company does not want to change the application architecture. Which solution will meet these requirements MOST cost-effectively?

A. Configure an Auto Scaling group with an Amazon EC2 instance. Use an Amazon FSx for Lustre file system to run the application.
B. Host the application on an Amazon EC2 instance. Use an Amazon Elastic Block Store (Amazon EBS) GP2 volume to run the application.
C. Configure an Auto Scaling group with an Amazon EC2 instance. Use an Amazon FSx for OpenZFS file system to run the application.
D. Host the application on an Amazon EC2 instance. Use an Amazon Elastic Block Store (Amazon EBS) GP3 volume to run the application.
Show Answer
Correct Answer: D
Explanation:
A lift-and-shift migration of a latency-sensitive application that currently uses locally attached storage maps most directly to an Amazon EC2 instance with Amazon EBS block storage. General Purpose SSD gp3 volumes provide the same low-latency block storage use case as gp2 while offering lower cost and independently configurable performance, making them the most cost-effective choice. FSx for Lustre and FSx for OpenZFS are managed network file systems, not locally attached block storage replacements, and Auto Scaling is not required by the scenario.

Question 439

A company's SAP application has a backend SQL Server database in an on-premises environment. The company wants to migrate its on-premises application and database server to AWS. The company needs an instance type that meets the high demands of its SAP database. On-premises performance data shows that both the SAP application and the database have high memory utilization. Which solution will meet these requirements?

A. Use the compute optimized instance family for the application. Use the memory optimized instance family for the database.
B. Use the storage optimized instance family for both the application and the database.
C. Use the memory optimized instance family for both the application and the database.
D. Use the high performance computing (HPC) optimized instance family for the application. Use the memory optimized instance family for the database.
Show Answer
Correct Answer: C
Explanation:
SAP workloads, especially SAP applications and SQL Server databases with high memory utilization, are best suited to memory-optimized EC2 instance families. Since both the application and the database are memory-intensive, using memory-optimized instances for both components satisfies the workload requirements. Compute-optimized, storage-optimized, and HPC instance families are designed for different workload characteristics and do not address the primary bottleneck of high memory usage.

Question 440

A solutions architect is using an AWS CloudFormation template to deploy a three-tier web application. The web application consists of a web tier and an application tier that stores and retrieves user data in Amazon DynamoDB tables. The web and application tiers are hosted on Amazon EC2 instances, and the database tier is not publicly accessible. The application EC2 instances need to access the DynamoDB tables without exposing API credentials in the template. What should the solutions architect do to meet these requirements?

A. Create an IAM role to read the DynamoDB tables. Associate the role with the application instances by referencing an instance profile.
B. Create an IAM role that has the required permissions to read and write from the DynamoDB tables. Add the role to the EC2 instance profile, and associate the instance profile with the application instances.
C. Use the parameter section in the AWS CloudFormation template to have the user input access and secret keys from an already-created IAM user that has the required permissions to read and write from the DynamoDB tables.
D. Create an IAM user in the AWS CloudFormation template that has the required permissions to read and write from the DynamoDB tables. Use the GetAtt function to retrieve the access and secret keys, and pass them to the application instances through the user data.
Show Answer
Correct Answer: B
Explanation:
The application tier both stores and retrieves data in DynamoDB, so it requires read and write permissions. The AWS best practice is to attach an IAM role with the necessary DynamoDB permissions to an EC2 instance profile and associate that instance profile with the application EC2 instances. This provides temporary credentials automatically without embedding API keys in the CloudFormation template.

Question 441

A company hosts multiple applications on AWS for different product lines. The applications use different compute resources, including Amazon EC2 instances and Application Load Balancers. The applications run in different AWS accounts under the same organization in AWS Organizations across multiple AWS Regions. Teams for each product line have tagged each compute resource in the individual accounts. The company wants more details about the cost for each product line from the consolidated billing feature in Organizations. Which combination of steps will meet these requirements? (Choose two.)

A. Select a specific AWS generated tag in the AWS Billing console.
B. Select a specific user-defined tag in the AWS Billing console.
C. Select a specific user-defined tag in the AWS Resource Groups console.
D. Activate the selected tag from each AWS account.
E. Activate the selected tag from the Organizations management account.
Show Answer
Correct Answer: B, E
Explanation:
For cost allocation in AWS Organizations consolidated billing, use user-defined cost allocation tags and activate them in the Billing and Cost Management console from the Organizations management account. AWS-generated tags do not represent custom product-line groupings, Resource Groups is unrelated to billing cost allocation, and tag activation is managed centrally by the organization management account.

Question 442

An Amazon EventBridge rule targets a third-party API. The third-party API has not received any incoming traffic. A solutions architect needs to determine whether the rule conditions are being met and if the rule's target is being invoked. Which solution will meet these requirements?

A. Check for metrics in Amazon CloudWatch in the namespace for AWS/Events.
B. Review events in the Amazon Simple Queue Service (Amazon SQS) dead-letter queue.
C. Check for the events in Amazon CloudWatch Logs.
D. Check the trails in AWS CloudTrail for the EventBridge events.
Show Answer
Correct Answer: A
Explanation:
Amazon EventBridge publishes operational metrics to Amazon CloudWatch in the AWS/Events namespace, including metrics such as MatchedEvents and Invocations. These metrics allow you to verify whether rule conditions are matching events and whether the target is being invoked. SQS dead-letter queues are only relevant if a DLQ is configured for failed deliveries, CloudWatch Logs do not automatically contain EventBridge event logs, and CloudTrail records AWS API activity (such as managing EventBridge resources), not whether a rule matched or invoked a third-party API target.

Question 443

A solutions architect manages an analytics application. The application stores large amounts of semistructured data in an Amazon S3 bucket. The solutions architect wants to use parallel data processing to process the data more quickly. The solutions architect also wants to use information that is stored in an Amazon Redshift database to enrich the data. Which solution will meet these requirements?

A. Use Amazon Athena to process the S3 data. Use AWS Glue with the Amazon Redshift data to enrich the S3 data.
B. Use Amazon EMR to process the S3 data. Use Amazon EMR with the Amazon Redshift data to enrich the S3 data.
C. Use Amazon EMR to process the S3 data. Use Amazon Kinesis Data Streams to move the S3 data into Amazon Redshift so that the data can be enriched.
D. Use AWS Glue to process the S3 data. Use AWS Lake Formation with the Amazon Redshift data to enrich the S3 data.
Show Answer
Correct Answer: B
Explanation:
Amazon EMR is designed for large-scale parallel processing of semi-structured data stored in Amazon S3 using Hadoop/Spark. EMR can also integrate with Amazon Redshift (for example via Spark, Hive, or the Redshift connector) to read Redshift data and join it with S3 data for enrichment. Athena is primarily a serverless query service rather than a distributed data processing framework, Kinesis Data Streams is unrelated to this batch enrichment workflow, and Lake Formation is a data lake governance service, not a data enrichment engine.

Question 444

A financial services company launched a new application that uses an Amazon RDS for MySQL database. The company uses the application to track stock market trends. The company needs to operate the application for only 2 hours at the end of each week. The company needs to optimize the cost of running the database. Which solution will meet these requirements MOST cost-effectively?

A. Migrate the existing RDS for MySQL database to an Aurora Serverless v2 MySQL database cluster.
B. Migrate the existing RDS for MySQL database to an Aurora MySQL database cluster.
C. Migrate the existing RDS for MySQL database to an Amazon EC2 instance that runs MySQL. Purchase an instance reservation for the EC2 instance.
D. Migrate the existing RDS for MySQL database to an Amazon Elastic Container Service (Amazon ECS) cluster that uses MySQL container images to run tasks.
Show Answer
Correct Answer: A
Explanation:
Aurora Serverless v2 is designed for infrequent or intermittent database workloads and automatically scales compute capacity based on demand, making it more cost-effective than provisioned RDS, provisioned Aurora, or self-managed MySQL on EC2/ECS for an application used only about 2 hours per week. While Aurora Serverless v2 does not scale to zero (minimum 0.5 ACU), it still minimizes compute costs compared with always-on alternatives.

$19

Get all 1004 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.