Amazon Web Services certification · Exam SOA-C02

SOA-C02 Mock Exam Page 5

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

41–50 of 144 free
Question 41 Choose 2

A new application runs on Amazon EC2 instances and accesses data in an Amazon RDS
database instance. When fully deployed in production, the application fails. The database
can be queried from a console on a bastion host. When looking at the web server logs, the
following error is repeated multiple times:
"** Error Establishing a Database Connection
Which of the following may be causes of the connectivity problems? {Select TWO.)

Show answerHide answer

Correct answer: C, D

The security group for the database does not have the appropriate ingress rule from the
web server to the database.

The port used by the application developer does not match the port specified in the RDS configuration.

Question 42 Choose 1

A company has multiple Amazon EC2 instances that run a resource-intensive application in
a development environment. A SysOps administrator is implementing a solution to stop
these EC2 instances when they are not in use.
Which solution will meet this requirement?

Show answerHide answer

Correct answer: B

Create an Amazon CloudWatch alarm to stop the EC2 instances when the average CPU utilization is lower than 5% for a 30-minute period.

Explanation

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/UsingAlarmActions.ht
ml#AddingStopActions

Question 43 Choose 1

A company has a stateless application that runs on four Amazon EC2 instances. The application requires tour instances at all times to support all traffic. A SysOps administrator must design a highly available, fault-tolerant architecture that continually supports all traffic if one Availability Zone becomes unavailable.
Which configuration meets these requirements?

Show answerHide answer

Correct answer: C

Deploy an Auto Scaling group across three Availability Zones with a minimum capacity

Question 44 Choose 1

An errant process is known to use an entire processor and run at 100% A SysOps
administrator wants to automate restarting the instance once the problem occurs for more than 2 minutes How can this be accomplished?

Show answerHide answer

Correct answer: B

Create a CloudWatch alarm for the EC2 instance with detailed monitoring Enable an action to restart the instance

Question 45 Choose 2

A large company is using AWS Organizations to manage hundreds of AWS accounts across multiple AWS Regions. The company has turned on AWS Config throughout the organization.
The company requires all Amazon S3 buckets to block public read access. A SysOps administrator must generate a monthly report that shows all the S3 buckets and whether
they comply with this requirement.
Which combination of steps should the SysOps administrator take to collect this data?
{Select TWO).

Show answerHide answer

Correct answer: C, D

Edit the AWS Config policy in AWS Organizations. Use the organization's management account to turn on the s3-bucket-public-read-prohibited rule for the entire organization.

Use the AWS Config compliance report from the organization's management account. Filter the results by resource, and select Amazon S3.

Question 46 Choose 2

A company has a stateful web application that is hosted on Amazon EC2 instances in an
Auto Scaling group. The instances run behind an Application Load Balancer (ALB) that has
a single target group. The ALB is configured as the origin in an Amazon CloudFront
distribution. Users are reporting random logouts from the web application.
Which combination of actions should a SysOps administrator take to resolve this problem?
(Select TWO.)

Show answerHide answer

Correct answer: B, E

Configure cookie forwarding in the CloudFront distribution cache behavior.

Enable sticky sessions on the ALB target group.

Explanation

Explanation:
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html
You can configure each cache behavior to do one of the following: Forward all cookies to
your origin – CloudFront includes all cookies sent by the viewer when it forwards requests
to the origin. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/stickysessions.
html
By default, an Application Load Balancer routes each request independently to a registered
target based on the chosen load-balancing algorithm.

Question 47 Choose 1

A company is using Amazon Elastic File System (Amazon EFS) to share a file system
among several Amazon EC2 instances. As usage increases, users report that file retrieval
from the EFS file system is slower than normal.
Which action should a SysOps administrator take to improve the performance of the file
system?

Show answerHide answer

Correct answer: A

Configure the file system for Provisioned Throughput.

Question 48 Choose 1

A company asks a SysOps administrator to ensure that AWS CloudTrail files are not tampered with after they are created. Currently, the company uses AWS Identity and Access Management (IAM) to restrict access to specific trails. The company's security team needs the ability to trace the integrity of each file.
What is the MOST operationally efficient solution that meets these requirements?

Show answerHide answer

Correct answer: D

Enable the CloudTrail file integrity feature on the trail. The security team can use the digest file that is created by CloudTrail to verify the integrity of the delivered files.

Explanation

Explanation: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-logfile-
validation-intro.html
"When you enable log file integrity validation, CloudTrail creates a hash for every log file
that it delivers. Every hour, CloudTrail also creates and delivers a file that references the
log files for the last hour and contains a hash of each. This file is called a digest file.
Validated log files are invaluable in security and forensic investigations"

Question 49 Choose 1

A company uses an AWS CloudFormation template to provision an Amazon EC2 instance
and an Amazon RDS DB instance A SysOps administrator must update the template to
ensure that the DB instance is created before the EC2 instance is launched
What should the SysOps administrator do to meet this requirement?

Show answerHide answer

Correct answer: B

Add the DependsOn attribute to the EC2 instance resource, and provide the logical name of the RDS resource

Explanation

Explanation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/awsattribute-
dependson.html
Syntax The DependsOn attribute can take a single string or list of strings. "DependsOn" : [
String, ... ] Example The following template contains an AWS::EC2::Instance resource with
a DependsOn attribute that specifies myDB, an AWS::RDS::DBInstance. When
CloudFormation creates this stack, it first creates myDB, then creates Ec2Instance.

Question 50 Choose 1

A SysOps administrator must create a solution that automatically shuts down any Amazon EC2 instances that have less than 10% average CPU utilization for 60 minutes or more. Which solution will meet this requirement In the MOST operationally efficient manner? 

Show answerHide answer

Correct answer: B

Implement an Amazon CloudWatch alarm for each EC2 instance to monitor average CPU utilization. Set the period at 1 hour, and set the threshold at 10%. Configure an EC2
action on the alarm to stop the instance.

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