Amazon Web Services certification · Exam SOA-C02

SOA-C02 Mock Exam Page 3

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

21–30 of 144 free
Question 21 Choose 1

While setting up an AWS managed VPN connection, a SysOps administrator creates a
customer gateway resource in AWS The customer gateway device resides in a data center
with a NAT gateway in front of it
What address should be used to create the customer gateway resource?

Show answerHide answer

Correct answer: D

The public IP address of the NAT device in front of the customer gateway device

Question 22 Choose 2

A company's IT department noticed an increase in the spend of their developer AWS account. There are over 50 developers using the account, and the finance team wants to
determine the service costs incurred by each developer.
What should a SysOps administrator do to collect this information? (Select TWO.)

Show answerHide answer

Correct answer: A, C

Activate the createdBy tag in the account.

Analyze the usage with Cost Explorer.

Question 23 Choose 1

A company monitors its account activity using AWS CloudTrail. and is concerned that some
log files are being tampered with after the logs have been delivered to the account's
Amazon S3 bucket.
Moving forward, how can the SysOps administrator confirm that the log files have not been
modified after being delivered to the S3 bucket?

Show answerHide answer

Correct answer: B

Enable log file integrity validation and use digest files to verify the hash value of the log file.

Question 24 Choose 1

A SysOps administrator is setting up an automated process to recover an Amazon EC2
instance In the event of an underlying hardware failure. The recovered instance must have
the same private IP address and the same Elastic IP address that the original instance had.
The SysOps team must receive an email notification when the recovery process is initiated.
Which solution will meet these requirements?

Show answerHide answer

Correct answer: B

Create an Amazon CloudWatch alarm for the EC2 Instance, and specify the
StatusCheckFailed_System metric. Add an EC2 action to the alarm to recover the instance.
Add an alarm notification to publish a message to an Amazon Simple Notification Service
(Amazon SNS) topic. Subscribe the SysOps team email address to the SNS topic.

Explanation

Explanation: You can create an Amazon CloudWatch alarm that monitors an Amazon
EC2 instance and automatically recovers the instance if it becomes impaired due to an
underlying hardware failure or a problem that requires AWS involvement to repair.
Terminated instances cannot be recovered. A recovered instance is identical to the original
instance, including the instance ID, private IP addresses, Elastic IP addresses, and all
instance metadata. If the impaired instance has a public IPv4 address, the instance retains
the public IPv4 address after recovery. If the impaired instance is in a placement group, the
recovered instance runs in the placement group. When the StatusCheckFailed_System
alarm is triggered, and the recover action is initiated, you will be notified by the Amazon
SNS topic that you selected when you created the alarm and associated the recover action.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html

Question 25 Choose 2

A company website contains a web tier and a database tier on AWS. The web tier consists
of Amazon EC2 instances that run in an Auto Scaling group across two Availability Zones.
The database tier runs on an Amazon ROS for MySQL Multi-AZ DB instance. The
database subnet network ACLs are restricted to only the web subnets that need access to
the database. The web subnets use the default network ACL with the default rules.
The company's operations team has added a third subnet to the Auto Scaling group
configuration. After an Auto Scaling event occurs, some users report that they intermittently
receive an error message. The error message states that the server cannot connect to the
database. The operations team has confirmed that the route tables are correct and that the
required ports are open on all security groups.
Which combination of actions should a SysOps administrator take so that the web servers
can communicate with the DB instance? (Select TWO.)

Show answerHide answer

Correct answer: C, D

On the network ACLs for the database subnets, create an inbound Allow rule of type MySQL/Aurora (3306). Specify the source as the third web subnet.

On the network ACLs for the database subnets, create an outbound Allow rule of type TCP with the ephemeral port range and the destination as the third web subnet.

Question 26 Choose 1

A company is trying to connect two applications. One application runs in an on-premises
data center that has a hostname of hostl .onprem.private. The other application runs on an
Amazon EC2 instance that has a hostname of hostl.awscloud.private. An AWS Site-to-Site
VPN connection is in place between the on-premises network and AWS.
The application that runs in the data center tries to connect to the application that runs on
the EC2 instance, but DNS resolution fails. A SysOps administrator must implement DNS
resolution between on-premises and AWS resources.
Which solution allows the on-premises application to resolve the EC2 instance hostname?

Show answerHide answer

Correct answer: C

Set up an Amazon Route 53 outbound resolver endpoint with a forwarding rule for the onprem.private hosted zone. Associate the resolver with the AWS Region of the EC2
instance. Configure the on-premises DNS resolver to forward onprem.private DNS queries
to the outbound resolver endpoint.

Question 27 Choose 1

A company's backend infrastructure contains an Amazon EC2 instance in a private subnet.
The private subnet has a route to the internet through a NAT gateway in a public subnet.
The instance must allow connectivity to a secure web server on the internet to retrieve data
at regular intervals.
The client software times out with an error message that indicates that the client software
could not establish the TCP connection.
What should a SysOps administrator do to resolve this error?

Show answerHide answer

Correct answer: D

Add an outbound rule to the security group for the EC2 instance with the following parameters: Type - HTTPS. Destination - 0.0.0.0/0.

Question 28 Choose 1

A company manages an application that uses Amazon ElastiCache for Redis with two extra-large nodes spread across two different Availability Zones. The company's IT team discovers that the ElastiCache for Redis cluster has 75% freeable memory. The application must maintain high availability. What is the MOST cost-effective way to resize the cluster?

Show answerHide answer

Correct answer: B

Deploy a new ElastiCache for Redis cluster that uses large node types. Migrate the data from the original cluster to the new cluster. After the process is complete, shut down the original duster.

Question 29 Choose 1

A company uses AWS Organizations to manage multiple AWS accounts with consolidated billing enabled. Organization member account owners want the benefits of Reserved Instances (RIs) but do not want to share RIs with other accounts. Which solution will meet these requirements?


Show answerHide answer

Correct answer: A

Purchase RIs in individual member accounts. Disable Rl discount sharing in the management account.

Explanation

Explanation: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-riconsolidated-
billing/
RI discounts apply to accounts in an organization's consolidated billing family depending
upon whether RI sharing is turned on or off for the accounts. By default, RI sharing for all
accounts in an organization is turned on. The management account of an organization can
change this setting by turning off RI sharing for an account. The capacity reservation for an
RI applies only to the account the RI was purchased on, no matter whether RI sharing is
turned on or off.

Question 30 Choose 1

A company has an Amazon CloudFront distribution that uses an Amazon S3 bucket as its origin. During a review of the access logs, the company determines that some requests are
going directly to the S3 bucket by using the website hosting endpoint. A SysOps
administrator must secure the S3 bucket to allow requests only from CloudFront.
What should the SysOps administrator do to meet this requirement?

Show answerHide answer

Correct answer: A

Create an origin access identity (OAI) in CloudFront. Associate the OAI with the
distribution. Remove access to and from other principals in the S3 bucket policy. Update the S3 bucket policy to allow access only from the OAI.

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