Amazon Web Services certification · Exam SOA-C02

SOA-C02 Mock Exam Page 4

AWS Certified SysOps Administrator - Associate (SOA-C02)

Free SOA-C02 mock exam questions 31–40, each with the answer and an explanation.

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

Free SOA-C02 questions

31–40 of 145 free
Question 31 Choose 1

An Amazon EC2 instance needs to be reachable from the internet. The EC2 instance is in a subnet with the following route table:

Which entry must a SysOps administrator add to the route table to meet this requirement?

Show answerHide answer

Correct answer: C

A route for 0.0.0.0/0 that points to an internet gateway

Question 32 Choose 1

An AWS Lambda function is intermittently failing several times a day A SysOps
administrator must find out how often this error has occurred in the last 7 days Which action will meet this requirement in the MOST operationally efficient manner?

Show answerHide answer

Correct answer: C

Use Amazon CloudWatch Logs Insights to query the associated Lambda function logs

Question 33 Choose 1

A company is using an AWS KMS customer master key (CMK) with imported key material
The company references the CMK by its alias in the Java application to encrypt data The
CMK must be rotated every 6 months
What is the process to rotate the key?

Show answerHide answer

Correct answer: B

Create a new CMK with new imported material, and update the key alias to point to the new CMK.

Question 34 Choose 1

A company is tunning a website on Amazon EC2 instances thai are in an Auto Scaling group When the website traffic increases, additional instances lake several minutes to become available because ot a long-running user data script that installs software A SysOps administrator must decrease the time that is required (or new instances to become available Which action should the SysOps administrator take to meet this requirement?

Show answerHide answer

Correct answer: D

Use EC2 Image Builder to prepare an Amazon Machine Image (AMI) that has preinstalled software

Explanation

Explanation: automated way to update your image. Have a pipeline to update your image.
When you boot from your AMI updates = scrits are already pre-installed, so no need to
complete boot scripts in boot process. https://aws.amazon.com/image-builder/

Question 35 Choose 1

A company runs a stateless application that is hosted on an Amazon EC2 instance. Users are reporting performance issues. A SysOps administrator reviews the Amazon CloudWatch metrics for the application and notices that the instance's CPU utilization frequently reaches 90% during business hours.
What is the MOST operationally efficient solution that will improve the application's
responsiveness?

Show answerHide answer

Correct answer: C

Create an Auto Scaling group, and assign it to an Application Load Balancer. Configure
a target tracking scaling policy that is based on the average CPU utilization of the Auto
Scaling group.

Question 36 Choose 1

A company runs us Infrastructure on Amazon EC2 Instances that run In an Auto Scaling group. Recently, the company promoted faulty code to the entire EC2 fleet. This faulty code
caused the Auto Scaling group to scale the instances before any of the application logs could be retrieved. What should a SysOps administrator do to retain the application logs after instances are terminated?

Show answerHide answer

Correct answer: B

Create a new Amazon Machine Image (AMI) that has the Amazon CloudWatch agent installed and configured to send logs to Amazon CloudWatch Logs. Update the launch template to use the new AMI.

Question 37 Choose 1

A company is running a serverless application on AWS Lambda The application stores
data in an Amazon RDS for MySQL DB instance Usage has steadily increased and
recently there have been numerous "too many connections" errors when the Lambda
function attempts to connect to the database The company already has configured the
database to use the maximum max_connections value that is possible
What should a SysOps administrator do to resolve these errors'?

Show answerHide answer

Correct answer: B

Use Amazon RDS Proxy to create a proxy Update the connection string in the Lambda function

Explanation

Explanation: https://aws.amazon.com/blogs/compute/using-amazon-rds-proxy-with-awslambda/
RDS Proxy acts as an intermediary between your application and an RDS database. RDS
Proxy establishes and manages the necessary connection pools to your database so that
your application creates fewer database connections. Your Lambda functions interact with
RDS Proxy instead of your database instance. It handles the connection pooling necessary
for scaling many simultaneous connections created by concurrent Lambda functions. This
allows your Lambda applications to reuse existing connections, rather than creating new
connections for every function invocation.
Check "Database proxy for Amazon RDS" section in the link to see how RDS proxy help
Lambda handle huge connections to RDS MySQL
https://aws.amazon.com/blogs/compute/using-amazon-rds-proxy-with-aws-lambda/

Question 38 Choose 1

A company is running a flash sale on its website. The website is hosted on burstable
performance Amazon EC2 instances in an Auto Scaling group. The Auto Scaling group is
configured to launch instances when the CPU utilization is above 70%.
A couple of hours into the sale, users report slow load times and error messages for
refused connections. A SysOps administrator reviews Amazon CloudWatch metrics and
notices that the CPU utilization is at 20% across the entire fleet of instances.

The SysOps administrator must restore the website's functionality without making changes
to the network infrastructure.
Which solution will meet these requirements?

Show answerHide answer

Correct answer: B

Implement an Amazon CloudFront distribution to offload the traffic from the Auto Scaling
group.

Explanation

Explanation: Implement an Amazon CloudFront distribution to offload the traffic from the
Auto Scaling group does not breach the requirement of no changes in the network
infrastructure. Reason is that cloudfront is a distribution that allows you to distribute content
using a worldwide network of edge locations that provide low latency and high data transfer
speeds. It plug in to existing setup, not changes to it.

Question 39 Choose 1

An organization with a large IT department has decided to migrate to AWS With different
job functions in the IT department it is not desirable to give all users access to all AWS
resources Currently the organization handles access via LDAP group membership
What is the BEST method to allow access using current LDAP credentials?

Show answerHide answer

Correct answer: D

Federate the LDAP directory with IAM using SAML Create different IAM roles to correspond to different LDAP groups to limit permissions

Question 40 Choose 1

A SysOps administrator notices a scale-up event for an Amazon EC2 Auto Scaling group
Amazon CloudWatch shows a spike in the RequestCount metric for the associated
Application Load Balancer The administrator would like to know the IP addresses for the
source of the requests
Where can the administrator find this information?

Show answerHide answer

Correct answer: D

Elastic Load Balancer access logs

Explanation

Explanation: Elastic Load Balancing provides access logs that capture detailed
information about requests sent to your load balancer. Each log contains information such
as the time the request was received, the client's IP address, latencies, request paths, and
server responses. You can use these access logs to analyze traffic patterns and
troubleshoot issues.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-accesslogs.
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