A live-events company is designing a scaling solution for its ticket application on AWS. The
application has high peaks of utilization during sale events. Each sale event is a one-time
event that is scheduled. The application runs on Amazon EC2 instances that are in an Auto
Scaling group.
The application uses PostgreSQL for the database layer.
The company needs a scaling solution to maximize availability during the sale events.
Which solution will meet these requirements?
Show answerHide answer
Correct answer: DUse a scheduled scaling policy for the EC2 instances. Host the database on an Amazon
Aurora PostgreSQL Multi-AZ DB cluster. Create an Amazon EventBridge rule that invokes
an AWS Lambda function to create a larger Aurora Replica before a sale event. Fail over to
the larger Aurora Replica. Create another EventBridge rule that invokes another Lambda
function to scale down the Aurora Replica after the sale event.
Question 52Choose 2
A solutions architect is designing an application to accept timesheet entries from
employees on their mobile devices. Timesheets will be submitted weekly, with most of the
submissions occurring on Friday. The data must be stored in a format that allows payroll
administrators to run monthly reports The infrastructure must be highly available and scale
to match the rate of incoming data and reporting requests.
Which combination of steps meets these requirements while minimizing operational
overhead? (Select TWO}
Show answerHide answer
Correct answer: C, EDeploy the application front end to an Amazon S3 bucket served by Amazon CloudFront
Deploy the application backend using Amazon API Gateway with an AWS Lambda proxy
integrationStore the timesheet submission data in Amazon S3. Use Amazon Athena and Amazon
QuickSight to generate the reports using Amazon S3 as the data source.
Question 53Choose 2
A company is running a serverless application that consists of several AWS Lambda
functions and Amazon DynamoDB tables. The company has created new functionality that
requires the Lambda functions to access an Amazon Neptune DB cluster. The Neptune DB
cluster is located in three subnets in a VPC.
Which of the possible solutions will allow the Lambda functions to access the Neptune DB
cluster and DynamoDB tables? (Select TWO.)
Show answerHide answer
Correct answer: B, ECreate three private subnets in the Neptune VPC, and route internet traffic through a
NAT gateway. Host the Lambda functions in the three new private subnets.Create three private subnets in the Neptune VPC. Host the Lambda functions in the
three new isolated subnets. Create a VPC endpoint for DynamoDB, and route DynamoDB
traffic to the VPC endpoint.
Explanation
Explanation:
Explanation: This option allows the company to use private subnets and VPC endpoints to
connect the Lambda functions to the Neptune DB cluster and DynamoDB tables securely
and efficiently1. By creating three private subnets in the Neptune VPC, the company can
isolate the Lambda functions from the public internet and reduce the attack surface2. By
routing internet traffic through a NAT gateway, the company can enable the Lambda
functions to access AWS services that are outside the VPC, such as Amazon S3 or
Amazon CloudWatch3. By hosting the Lambda functions in the three new private subnets,
the company can ensure that the Lambda functions can access the Neptune DB cluster
within the same VPC4. By creating a VPC endpoint for DynamoDB, the company can
enable the Lambda functions to access DynamoDB tables without going through the
internet or a NAT gateway5. By routing DynamoDB traffic to the VPC endpoint, the
company can improve the performance and availability of the DynamoDB access5.
Question 54Choose 1
A company maintains information on premises in approximately 1 million .csv files that are
hosted on a VM. The data initially is 10 TB in size and grows at a rate of 1 TB each week.
The company needs to automate backups of the data to the AWS Cloud.
Backups of the data must occur daily. The company needs a solution that applies custom
filters to back up only a subset of the data that is located in designated source directories.
The company has set up an AWS Direct Connect connection.
Which solution will meet the backup requirements with the LEAST operational overhead?
Show answerHide answer
Correct answer: CInstall the AWS DataSync agent as a VM that runs on the on-premises hypervisor.
Configure a DataSync task to replicate the data to Amazon S3 daily.
Explanation
Explanation:
AWS DataSync is an online data transfer service that is designed to help customers get
their data to and from AWS quickly, easily, and securely. Using DataSync, you can copy
data from your on-premises NFS or SMB shares directly to Amazon S3, Amazon EFS, or
Amazon FSx for Windows File Server. DataSync uses a purpose-built, parallel transfer
protocol for speeds up to 10x faster than open source tools. DataSync also has built-in
verification of data both in flight and at rest, so you can be confident that your data was
transferred successfully. DataSync allows you to apply filters to select which files or folders
to transfer, based on file name, size, or modification time. You can also schedule your
DataSync tasks to run daily, weekly, or monthly, or on demand. DataSync is integrated with
AWS Direct Connect, so you can take advantage of your existing private connection to
AWS. DataSync is also a fully managed service, so you do not need to provision,
configure, or maintain any infrastructure for data transfer.
Option A is incorrect because the Amazon S3 CopyObject API operation does not support
filtering or scheduling, and it would require you to write and maintain custom scripts to
automate the backup process.
Option B is incorrect because AWS Backup does not support filtering or transferring data
from on-premises sources to Amazon S3. AWS Backup is a fully managed backup service
that makes it easy to centralize and automate the backup of data across AWS services.
Option D is incorrect because AWS Snowball Edge is a physical device that is used for
offline data transfer when network bandwidth is limited or unavailable. It is not suitable for
daily backups or incremental transfers. AWS Snowball Edge also does not support filtering
or scheduling.
Question 55Choose 1
A company is migrating its legacy .NET workload to AWS. The company has a
containerized setup that includes a base container image. The base image is tens of
gigabytes in size because of legacy libraries and other dependencies. The company has
images for custom developed components that are dependent on the base image.
The company will use Amazon Elastic Container Registry (Amazon ECR) as part of its
solution on AWS.
Which solution will provide the LOWEST container startup time on AWS?
Show answerHide answer
Correct answer: CUse Amazon ECR to store the images for the custom developed components. Create an
AMI that contains the base image. Use Amazon Elastic Container Service (Amazon ECS)
on Amazon EC2 instances that are based on the AMI to run the workload
Question 56Choose 1
A company wants to design a disaster recovery (DR) solution for an application that runs in
the company's data center. The application writes to an SMB file share and creates a copy
on a second file share. Both file shares are in the data center. The application uses two
types of files: metadata files and image files.
The company wants to store the copy on AWS. The company needs the ability to use SMB
to access the data from either the data center or AWS if a disaster occurs. The copy of the
data is rarely accessed but must be available within 5 minutes.
Which solution will meet these requirements MOST cost-effectively?
Show answerHide answer
Correct answer: CDeploy an Amazon S3 File Gateway. Configure the S3 File Gateway to use Amazon S3
Standard-Infrequent Access (S3 Standard-IA) for the metadata files and to use S3 Glacier
Deep Archive for the image files.
Question 57Choose 1
A company needs to gather data from an experiment in a remote location that does not
have internet connectivity. During the experiment, sensors that are connected to a total
network will generate 6 TB of data in a preprimary formal over the course of 1 week. The
sensors can be configured to upload their data files to an FTP server periodically, but the
sensors do not have their own FTP server. The sensors also do not support other
protocols. The company needs to collect the data centrally and move lie data to object
storage in the AWS Cloud as soon. as possible after the experiment.
Which solution will meet these requirements?
Show answerHide answer
Correct answer: COrder an AWS Snowcone device, including an Amazon Linux 2 AMI. Connect the device
to the local network. Launch an Amazon EC2 instance on the device. Install and configure
an FTP server on the EC2 instance. Configure the sensors to upload data to the EC2
instance. After the experiment, return the device to AWS so that the data can be loaded into Amazon S3.
Explanation
Explanation: For collecting data from remote sensors without internet connectivity, using
an AWS Snowcone device with an Amazon EC2 instance running an FTP server presents
a practical solution. This setup allows the sensors to upload data to the EC2 instance via
FTP, and after the experiment, the Snowcone device can be returned to AWS for data
ingestion into Amazon S3. This approach minimizes operational complexity and ensures
efficient data transfer to AWS for further processing or storage.
Question 58Choose 3
A company runs an application in (he cloud that consists of a database and a website
Users can post data to the website, have the data processed, and have the data sent back
to them in an email Data is stored in a MySQL database running on an Amazon EC2
instance The database is running in a VPC with two private subnets The website is running
on Apache Tomcat in a single EC2 instance in a different VPC with one public subnet
There is a single VPC peering connection between the database and website VPC.
The website has suffered several outages during the last month due to high traffic
Which actions should a solutions architect take to increase the reliability of the application?
(Select THREE.)
Show answerHide answer
Correct answer: A, C, FPlace the Tomcat server in an Auto Scaling group with multiple EC2 instances behind
an Application Load BalancerMigrate the MySQL database to Amazon Aurora with one Aurora ReplicaCreate an additional public subnet in a different Availability Zone in the website VPC
Question 59Choose 3
A company operates a fleet of servers on premises and operates a fleet of Amazon EC2
instances in its organization in AWS Organizations. The company's AWS accounts contain
hundreds of VPCs. The company wants to connect its AWS accounts to its on-premises
network. AWS Site-to-Site VPN connections are already established to a single AWS
account. The company wants to control which VPCs can communicate with other VPCs.
Which combination of steps will achieve this level of control with the LEAST operational
effort? (Choose three.)
Show answerHide answer
Correct answer: A, B, CCreate a transit gateway in an AWS account. Share the transit gateway across accounts
by using AWS Resource Access Manager (AWS RAM).Configure attachments to all VPCs and VPNs.Set up transit gateway route tables. Associate the VPCs and VPNs with the route tables.
Question 60Choose 2
A company is migrating its blog platform to AWS. The company's on-premises servers
connect to AWS through an AWS Site-to-Site VPN connection. The blog content is updated
several times a day by multiple authors and is served from a file share on a networkattached
storage (NAS) server.
The company needs to migrate the blog platform without delaying the content updates. The company has deployed Amazon EC2 instances across multiple Availability Zones to run
the blog platform behind an Application Load Balancer. The company also needs to move
200 TB of archival data from its on-premises servers to Amazon S3 as soon as possible.
Which combination of steps will meet these requirements? (Select TWO.)
Show answerHide answer
Correct answer: C, DMount an Amazon Elastic File System (Amazon EFS) file system to the on-premises
servers to act as the NAS server. Copy the blog data to the EPS file system. Mount the
EFS file system to the EC2 instances to serve the content.Order an AWS Snowball Edge Storage Optimized device. Copy the static data artifacts
to the device. Ship the device to AWS.
Full mock exam
Sit the SAP-C02 exam before exam day
Full-length mocks with the same number of questions and the same time limit as the real SAP-C02 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.