ExamGecko
Home Home / Amazon / SAA-C03

Amazon SAA-C03 Practice Test - Questions Answers, Page 52

Question list
Search
Search

List of questions

Search

Related questions











A social media company is building a feature for its website. The feature will give users the ability to upload photos. The company expects significant increases in demand during large events and must ensure that the website can handle the upload traffic from users.

Which solution meets these requirements with the MOST scalability?

A.
Upload files from the user's browser to the application servers. Transfer the files to an Amazon S3 bucket.
A.
Upload files from the user's browser to the application servers. Transfer the files to an Amazon S3 bucket.
Answers
B.
Provision an AWS Storage Gateway file gateway. Upload files directly from the user's browser to the file gateway.
B.
Provision an AWS Storage Gateway file gateway. Upload files directly from the user's browser to the file gateway.
Answers
C.
Generate Amazon S3 presigned URLs in the application. Upload files directly from the user's browser into an S3 bucket.
C.
Generate Amazon S3 presigned URLs in the application. Upload files directly from the user's browser into an S3 bucket.
Answers
D.
Provision an Amazon Elastic File System (Amazon EFS) file system Upload files directly from the user's browser to the file system
D.
Provision an Amazon Elastic File System (Amazon EFS) file system Upload files directly from the user's browser to the file system
Answers
Suggested answer: C

Explanation:

This approach allows users to upload files directly to S3 without passing through the application servers, reducing the load on the application and improving scalability. It leverages the client-side capabilities to handle the file uploads and offloads the processing to S3.

A company is planning to use an Amazon DynamoDB table for data storage. The company is concerned about cost optimization. The table will not be used on most mornings. In the evenings, the read and write traffic will often be unpredictable. When traffic spikes occur, they will happen very quickly.

What should a solutions architect recommend?

A.
Create a DynamoDB table in on-demand capacity mode.
A.
Create a DynamoDB table in on-demand capacity mode.
Answers
B.
Create a DynamoDB table with a global secondary index
B.
Create a DynamoDB table with a global secondary index
Answers
C.
Create a DynamoDB table with provisioned capacity and auto scaling.
C.
Create a DynamoDB table with provisioned capacity and auto scaling.
Answers
D.
Create a DynamoDB table in provisioned capacity mode, and configure it as a global table
D.
Create a DynamoDB table in provisioned capacity mode, and configure it as a global table
Answers
Suggested answer: A

Explanation:

Provisioned capacity is best if you have relatively predictable application traffic, run applications whose traffic is consistent, and ramps up or down gradually. On-demand capacity mode is best when you have unknown workloads, unpredictable application traffic and also if you only want to pay exactly for what you use. The on-demand pricing model is ideal for bursty, new, or unpredictable workloads whose traffic can spike in seconds or minutes, and when under-provisioned capacity would impact the user experience. https://docs.aws.amazon.com/wellarchitected/latest/serverless-applications-lens/capacity.html

A social media company wants to allow its users to upload images in an application that is hosted in the AWS Cloud. The company needs a solution that automatically resizes the images so that the images can be displayed on multiple device types. The application experiences unpredictable traffic patterns throughout the day. The company is seeking a highly available solution that maximizes scalability.

What should a solutions architect do to meet these requirements?

A.
Create a static website hosted in Amazon S3 that invokes AWS Lambda functions to resize the images and store the images in an Amazon S3 bucket.
A.
Create a static website hosted in Amazon S3 that invokes AWS Lambda functions to resize the images and store the images in an Amazon S3 bucket.
Answers
B.
Create a static website hosted in Amazon CloudFront that invokes AWS Step Functions to resize the images and store the images in an Amazon RDS database.
B.
Create a static website hosted in Amazon CloudFront that invokes AWS Step Functions to resize the images and store the images in an Amazon RDS database.
Answers
C.
Create a dynamic website hosted on a web server that runs on an Amazon EC2 instance Configure a process that runs on the EC2 instance to resize the images and store the images in an Amazon S3 bucket.
C.
Create a dynamic website hosted on a web server that runs on an Amazon EC2 instance Configure a process that runs on the EC2 instance to resize the images and store the images in an Amazon S3 bucket.
Answers
D.
Create a dynamic website hosted on an automatically scaling Amazon Elastic Container Service (Amazon ECS) cluster that creates a resize job in Amazon Simple Queue Service (Amazon SQS). Set up an image-resizing program that runs on an Amazon EC2 instance to process the resize jobs
D.
Create a dynamic website hosted on an automatically scaling Amazon Elastic Container Service (Amazon ECS) cluster that creates a resize job in Amazon Simple Queue Service (Amazon SQS). Set up an image-resizing program that runs on an Amazon EC2 instance to process the resize jobs
Answers
Suggested answer: A

Explanation:

By using Amazon S3 and AWS Lambda together, you can create a serverless architecture that provides highly scalable and available image resizing capabilities. Here's how the solution would work: Set up an Amazon S3 bucket to store the original images uploaded by users. Configure an event trigger on the S3 bucket to invoke an AWS Lambda function whenever a new image is uploaded. The Lambda function can be designed to retrieve the uploaded image, perform the necessary resizing operations based on device requirements, and store the resized images back in the S3 bucket or a different bucket designated for resized images. Configure the Amazon S3 bucket to make the resized images publicly accessible for serving to users.


A company runs applications on AWS that connect to the company's Amazon RDS database. The applications scale on weekends and at peak times of the year. The company wants to scale the database more effectively for its applications that connect to the database.

Which solution will meet these requirements with the LEAST operational overhead?

A.
Use Amazon DynamoDB with connection pooling with a target group configuration for the database. Change the applications to use the DynamoDB endpoint.
A.
Use Amazon DynamoDB with connection pooling with a target group configuration for the database. Change the applications to use the DynamoDB endpoint.
Answers
B.
Use Amazon RDS Proxy with a target group for the database. Change the applications to use the RDS Proxy endpoint.
B.
Use Amazon RDS Proxy with a target group for the database. Change the applications to use the RDS Proxy endpoint.
Answers
C.
Use a custom proxy that runs on Amazon EC2 as an intermediary to the database. Change the applications to use the custom proxy endpoint.
C.
Use a custom proxy that runs on Amazon EC2 as an intermediary to the database. Change the applications to use the custom proxy endpoint.
Answers
D.
Use an AWS Lambda function to provide connection pooling with a target group configuration for the database. Change the applications to use the Lambda function.
D.
Use an AWS Lambda function to provide connection pooling with a target group configuration for the database. Change the applications to use the Lambda function.
Answers
Suggested answer: B

Explanation:

Amazon RDS Proxy is a fully managed, highly available database proxy for Amazon Relational Database Service (RDS) that makes applications more scalable, more resilient to database failures,

and more secure1. RDS Proxy allows applications to pool and share connections established with the database, improving database efficiency and application scalability2. RDS Proxy also reduces failover times for Aurora and RDS databases by up to 66% and enables IAM authentication and Secrets Manager integration for database access1. RDS Proxy can be enabled for most applications with no code changes2.

A company runs an application that uses Amazon RDS for PostgreSQL. The application receives traffic only on weekdays during business hours. The company wants to optimize costs and reduce operational overhead based on this usage.

Which solution will meet these requirements?

A.
Use the Instance Scheduler on AWS to configure start and stop schedules.
A.
Use the Instance Scheduler on AWS to configure start and stop schedules.
Answers
B.
Turn off automatic backups. Create weekly manual snapshots of the database.
B.
Turn off automatic backups. Create weekly manual snapshots of the database.
Answers
C.
Create a custom AWS Lambda function to start and stop the database based on minimum CPU utilization.
C.
Create a custom AWS Lambda function to start and stop the database based on minimum CPU utilization.
Answers
D.
Purchase All Upfront reserved DB instances.
D.
Purchase All Upfront reserved DB instances.
Answers
Suggested answer: A

Explanation:

https://aws.amazon.com/solutions/implementations/instance-scheduler-on-aws/?nc1=h_ls

The Instance Scheduler on AWS solution automates the starting and stopping of Amazon Elastic Compute Cloud (Amazon EC2) and Amazon Relational Database Service (Amazon RDS) instances. This solution helps reduce operational costs by stopping resources that are not in use and starting them when they are needed1. The solution allows you to define custom schedules and periods using a command line interface (CLI) or an SSM maintenance window1. You can also choose between different payment options for the reserved DB instances, such as No Upfront, Partial Upfront, or All Upfront2.

A company is building a RESTful serverless web application on AWS by using Amazon API Gateway and AWS Lambd a. The users of this web application will be geographically distributed, and the company wants to reduce the latency of API requests to these users Which type of endpoint should a solutions architect use to meet these requirements?

A.
Private endpoint
A.
Private endpoint
Answers
B.
Regional endpoint
B.
Regional endpoint
Answers
C.
Interface VPC endpoint
C.
Interface VPC endpoint
Answers
D.
Edge-optimzed endpoint
D.
Edge-optimzed endpoint
Answers
Suggested answer: D

Explanation:

An edge-optimized API endpoint is best for geographically distributed clients, as it routes the API requests to the nearest CloudFront Point of Presence (POP). This reduces the latency and improves the performance of the API. Edge-optimized endpoints are the default type for API Gateway REST APIs1.

A regional API endpoint is intended for clients in the same region as the API, and it does not use CloudFront to route the requests. A private API endpoint is an API endpoint that can only be accessed from a VPC using an interface VPC endpoint. A regional or private endpoint would not meet the requirement of reducing the latency for geographically distributed users1.

A company is deploying a new public web application toAWS. The application Will run behind an Application Load Balancer (ALE). The application needs to be encrypted at the edge with an SSL/TLS certificate that is issued by an external certificate authority (CA). The certificate must be rotated each year before the certificate expires.

What should a solutions architect do to meet these requirements?

A.
Use AWS Certificate Manager (ACM) to issue an SSUTLS certificate. Apply the certificate to the ALB Use the managed renewal feature to automatically rotate the certificate.
A.
Use AWS Certificate Manager (ACM) to issue an SSUTLS certificate. Apply the certificate to the ALB Use the managed renewal feature to automatically rotate the certificate.
Answers
B.
Use AWS Certificate Manager (ACM) to issue an SSUTLS certificate_ Import the key material from the certificate. Apply the certificate to the ALB Use the managed renewal teature to automatically rotate the certificate.
B.
Use AWS Certificate Manager (ACM) to issue an SSUTLS certificate_ Import the key material from the certificate. Apply the certificate to the ALB Use the managed renewal teature to automatically rotate the certificate.
Answers
C.
Use AWS Private Certificate Authority to issue an SSL/TLS certificate from the root CA. Apply the certificate to the ALB. use the managed renewal feature to automatically rotate the certificate
C.
Use AWS Private Certificate Authority to issue an SSL/TLS certificate from the root CA. Apply the certificate to the ALB. use the managed renewal feature to automatically rotate the certificate
Answers
D.
Use AWS Certificate Manager (ACM) to import an SSL/TLS certificate. Apply the certificate to the ALB_ Use Amazon EventBridge to send a notification when the certificate is nearing expiration.Rotate the certificate manually.
D.
Use AWS Certificate Manager (ACM) to import an SSL/TLS certificate. Apply the certificate to the ALB_ Use Amazon EventBridge to send a notification when the certificate is nearing expiration.Rotate the certificate manually.
Answers
Suggested answer: D

Explanation:

To use an SSL/TLS certificate that is issued by an external CA, the certificate must be imported to AWS Certificate Manager (ACM). ACM can send a notification when the certificate is nearing expiration, but it cannot automatically rotate the certificate. Therefore, the certificate must be rotated manually by importing a new certificate and applying it to the ALB.

Reference:

Importing Certificates into AWS Certificate Manager Renewing and Rotating Imported Certificates Using an ACM Certificate with an Application Load Balancer

A company has an on-premises MySQL database that handles transactional dat a. The company is migrating the database to the AWS Cloud. The migrated database must maintain compatibility with the company's applications that use the database. The migrated database also must scale automatically during periods of increased demand.

Which migration solution will meet these requirements?

A.
Use native MySQL tools to migrate the database to Amazon RDS for MySQL. Configure elastic storage scaling.
A.
Use native MySQL tools to migrate the database to Amazon RDS for MySQL. Configure elastic storage scaling.
Answers
B.
Migrate the database to Amazon Redshift by using the mysqldump utility. Turn on Auto Scaling for the Amazon Redshift cluster.
B.
Migrate the database to Amazon Redshift by using the mysqldump utility. Turn on Auto Scaling for the Amazon Redshift cluster.
Answers
C.
Use AWS Database Migration Service (AWS DMS) to migrate the database to Amazon Aurora. Turn on Aurora Auto Scaling.
C.
Use AWS Database Migration Service (AWS DMS) to migrate the database to Amazon Aurora. Turn on Aurora Auto Scaling.
Answers
D.
Use AWS Database Migration Service (AWS DMS) to migrate the database to Amazon DynamoDB.Configure an Auto Scaling policy.
D.
Use AWS Database Migration Service (AWS DMS) to migrate the database to Amazon DynamoDB.Configure an Auto Scaling policy.
Answers
Suggested answer: C

Explanation:

To migrate a MySQL database to AWS with compatibility and scalability, Amazon Aurora is a suitable option. Aurora is compatible with MySQL and can scale automatically with Aurora Auto Scaling. AWS Database Migration Service (AWS DMS) can be used to migrate the database from on-premises to Aurora with minimal downtime.

Reference:

What Is Amazon Aurora?

Using Amazon Aurora Auto Scaling with Aurora Replicas What Is AWS Database Migration Service?

A company's infrastructure consists of Amazon EC2 instances and an Amazon RDS DB instance in a single AWS Region. The company wants to back up its data in a separate Region.

Which solution will meet these requirements with the LEAST operational overhead?

A.
Use AWS Backup to copy EC2 backups and RDS backups to the separate Region.
A.
Use AWS Backup to copy EC2 backups and RDS backups to the separate Region.
Answers
B.
Use Amazon Data Lifecycle Manager (Amazon DLM) to copy EC2 backups and RDS backups to the separate Region.
B.
Use Amazon Data Lifecycle Manager (Amazon DLM) to copy EC2 backups and RDS backups to the separate Region.
Answers
C.
Create Amazon Machine Images (AMIs) of the EC2 instances. Copy the AMIs to the separate Region. Create a read replica for the RDS DB instance in the separate Region.
C.
Create Amazon Machine Images (AMIs) of the EC2 instances. Copy the AMIs to the separate Region. Create a read replica for the RDS DB instance in the separate Region.
Answers
D.
Create Amazon Elastic Block Store (Amazon EBS) snapshots. Copy the EBS snapshots to the separate Region. Create RDS snapshots. Export the RDS snapshots to Amazon S3. Configure S3 Cross-Region Replication (CRR) to the separate Region.
D.
Create Amazon Elastic Block Store (Amazon EBS) snapshots. Copy the EBS snapshots to the separate Region. Create RDS snapshots. Export the RDS snapshots to Amazon S3. Configure S3 Cross-Region Replication (CRR) to the separate Region.
Answers
Suggested answer: A

Explanation:

To back up EC2 instances and RDS DB instances in a separate Region with the least operational overhead, AWS Backup is a simple and cost-effective solution. AWS Backup can copy EC2 backups and RDS backups to another Region automatically and securely. AWS Backup also supports backup policies, retention rules, and monitoring features.

Reference:

What Is AWS Backup?

Cross-Region Backup

A company runs a web application that is deployed on Amazon EC2 instances in the private subnet of a VPC. An Application Load Balancer (ALB) that extends across the public subnets directs web traffic to the EC2 instances. The company wants to implement new security measures to restrict inbound traffic from the ALB to the EC2 instances while preventing access from any other source inside or outside the private subnet of the EC2 instances.

Which solution will meet these requirements?

A.
Configure a route in a route table to direct traffic from the internet to the private IP addresses of the EC2 instances.
A.
Configure a route in a route table to direct traffic from the internet to the private IP addresses of the EC2 instances.
Answers
B.
Configure the security group for the EC2 instances to only allow traffic that comes from the security group for the ALB.
B.
Configure the security group for the EC2 instances to only allow traffic that comes from the security group for the ALB.
Answers
C.
Move the EC2 instances into the public subnet. Give the EC2 instances a set of Elastic IP addresses.
C.
Move the EC2 instances into the public subnet. Give the EC2 instances a set of Elastic IP addresses.
Answers
D.
Configure the security group for the ALB to allow any TCP traffic on any port.
D.
Configure the security group for the ALB to allow any TCP traffic on any port.
Answers
Suggested answer: B

Explanation:

To restrict inbound traffic from the ALB to the EC2 instances, the security group for the EC2 instances should only allow traffic that comes from the security group for the ALB. This way, the EC2 instances can only receive requests from the ALB and not from any other source inside or outside the private subnet.

Reference:

Security Groups for Your Application Load Balancers

Security Groups for Your VPC

Total 886 questions
Go to page: of 89