Amazon Web Services certification · Exam SOA-C02

SOA-C02 Mock Exam Page 13

AWS Certified SysOps Administrator - Associate (SOA-C02)

Free SOA-C02 questions on Topic 1: Mix Questions, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 1: Mix Questions questions

121–130 of 144 free
Question 121 Choose 1

A gaming application is deployed on four Amazon EC2 instances in a default VPC. The
SysOps administrator has noticed consistently high latency in responses as data is
transferred among the four instances. There is no way for the administrator to alter the
application code.
The MOST effective way to reduce latency is to relaunch the EC2 instances in:

Show answerHide answer

Correct answer: C

a placement group.

Question 122 Choose 1

A company needs to restrict access to an Amazon S3 bucket to Amazon EC2 instances in
a VPC only. All traffic must be over the AWS private network.
What actions should the SysOps administrator take to meet these requirements?

Show answerHide answer

Correct answer: B

Create a VPC endpoint for the S3 bucket, and create an S3 bucket policy that
conditionally limits all S3 actions on the bucket to the VPC endpoint as the source.

Explanation

Explanation: While IAM policy (letter A) also can be used, it does not enforce everyone.
The only option that enforces everyone is policy configured directly in the bucket S3.

Question 123 Choose 1

A company has a new requirement stating that all resources in AWS must be tagged
according to a set policy.
Which AWS service should be used to enforce and continually identify all resources that
are not in compliance with the policy?

Show answerHide answer

Correct answer: C

AWSConfig

Question 124 Choose 1

A company is running an application on a fleet of Amazon EC2 instances behind an
Application Load Balancer (ALB). The EC2 instances are launched by an Auto Scaling
group and are automatically registered in a target group. A SysOps administrator must set
up a notification to alert application owners when targets fail health checks.
What should the SysOps administrator do to meet these requirements?

Show answerHide answer

Correct answer: A

Create an Amazon CloudWatch alarm on the UnHealthyHostCount metric. Configure an
action to send an Amazon Simple Notification Service (Amazon SNS) notification when the
metric is greater than 0.

Question 125 Choose 1

A company's SysOps administrator has created an Amazon EC2 instance with custom
software that will be used as a template for all new EC2 instances across multiple AWS
accounts. The Amazon Elastic Block Store (Amazon EBS) volumes that are attached to the
EC2 instance are encrypted with AWS managed keys.
The SysOps administrator creates an Amazon Machine Image (AMI) of the custom EC2
instance and plans to share the AMI with the company's other AWS accounts. The
company requires that all AMIs are encrypted with AWS Key Management Service (AWS
KMS) keys and that only authorized AWS accounts can access the shared AMIs.
Which solution will securely share the AMI with the other AWS accounts?

Show answerHide answer

Correct answer: B

In the account where the AMI was created, create a customer master key (CMK). Modify
the key policy to provide kms:DescribeKey, kms:ReEncrypt*. kms:CreateGrant, and
kms;Decrypt permissions to the AWS accounts that the AMI will be shared with. Create a
copy of the AMI. and specify the CMK. Modify the permissions on the copied AMI to specify
the AWS account numbers that the AMI will be shared with.

Explanation

Explanation: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamisexplicit.
html

Question 126 Choose 1

A company needs to create a daily Amazon Machine Image (AMI) of an existing Amazon
Linux EC2 instance that hosts the operating system, application, and database on multiple
attached Amazon Elastic Block Store (Amazon EBS) volumes. File system integrity must
be maintained.
Which solution will meet these requirements?

Show answerHide answer

Correct answer: B

Create an AWS Lambda function to call the CreateImage API operation with the EC2
instance ID and the reboot parameter enabled. Create a daily scheduled Amazon
EventBridge (Amazon CloudWatch Events) rule that invokes the function.

Explanation

Explanation:
https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/Creating_EBSbacked_WinA
MI.html
"NoReboot By default, Amazon EC2 attempts to shut down and reboot the instance before
creating the image. If the No Reboot option is set, Amazon EC2 doesn't shut down the
instance before creating the image. When this option is used, file system integrity on the
created image can't be guaranteed." Besides, we can use AWS EventBridge to invoke
Lambda function
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html

Question 127 Choose 1

A SysOps administrator needs to create alerts that are based on the read and write metrics
of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to an Amazon
EC2 instance. The SysOps administrator creates and enables Amazon CloudWatch alarms
for the DiskReadBytes metric and the DiskWriteBytes metric.
A custom monitoring tool that is installed on the EC2 instance with the same alarm
configuration indicates that the volume metrics have exceeded the threshold. However, the
CloudWatch alarms were not in ALARM state.
Which action will ensure that the CloudWatch alarms function correctly?

Show answerHide answer

Correct answer: C

Reconfigure the CloudWatch alarms to use the VolumeReadBytes metric and the
VolumeWriteBytes metric for the EBS volumes.

Question 128 Choose 2

A SysOps administrator is maintaining a web application using an Amazon CloudFront web
distribution, an Application Load Balancer (ALB), Amazon RDS, and
Amazon EC2 in a VPC. All services have logging enabled. The administrator needs to
investigate HTTP Layer 7 status codes from the web application.
Which log sources contain the status codes? (Choose two.)

Show answerHide answer

Correct answer: C, D

ALB access logs

CloudFront access logs

Explanation

Explanation: "C" because Elastic Load Balancing provides access logs that capture
detailed information about requests sent to your load balancer
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-accesslogs.
html
"D" because "you can configure CloudFront to create log files that contain detailed
information about every user request that CloudFront receives"
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html

Question 129 Choose 1

A company hosts an online shopping portal in the AWS Cloud. The portal provides HTTPS
security by using a TLS certificate on an Elastic Load Balancer (ELB). Recently, the portal
suffered an outage because the TLS certificate expired. A SysOps administrator must
create a solution to automatically renew certificates to avoid this issue in the future.
What is the MOST operationally efficient solution that meets these requirements?

Show answerHide answer

Correct answer: B

Request a public certificate by using AWS Certificate Manager (ACM). Associate the
certificate from ACM with the ELB. ACM will automatically manage the renewal of the
certificate.

Explanation

Explanation: "A certificate is eligible for automatic renewal subject to the following
considerations: ELIGIBLE if associated with another AWS service, such as Elastic Load
Balancing or CloudFront. ELIGIBLE if exported since being issued or last renewed.
ELIGIBLE if it is a private certificate issued by calling the ACM RequestCertificate API and
then exported or associated with another AWS service. ELIGIBLE if it is a private certificate
issued through the management console and then exported or associated with another
AWS service." https://docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html

Question 130 Choose 1

A company is using an Amazon Aurora MySQL DB cluster that has point-in-time recovery,
backtracking, and automatic backup enabled. A SysOps administrator needs to be able to
roll back the DB cluster to a specific recovery point within the previous 72 hours. Restores
must be completed in the same production DB cluster.
Which solution will meet these requirements?

Show answerHide answer

Correct answer: C

Use backtracking to rewind the existing DB cluster to the desired recovery point.

Explanation

Explanation: "The limit for a backtrack window is 72 hours.....Backtracking is only
available for DB clusters that were created with the Backtrack feature
enabled....Backtracking "rewinds" the DB cluster to the time you specify. Backtracking is
not a replacement for backing up your DB cluster so that you can restore it to a point in
time....You can backtrack a DB cluster quickly. Restoring a DB cluster to a point in time
launches a new DB cluster and restores it from backup data or a DB cluster snapshot,
which can take hours."
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Managi
ng.Backtrack.html

Full mock exam

Sit the SOA-C02 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real SOA-C02 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full SOA-C02 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 486questions in the bank
  • Newmock on every attempt