wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AWS Services Quiz Class 7

Total questions: 99

Worksheet time: 50mins

Name
Class
Date
1.

Which AWS service helps you understand how your AWS resources are performing and whether they can handle the load you're throwing at them?

a)

AWS Config

b)

CloudTrail

c)

CloudWatch

d)

AWS Security

2.

What can tracking performance over time help you identify in your AWS resources?

a)

User permissions

b)

Spikes in usage

c)

Security breaches

d)

Logging events

3.

What might the words 'exception' or 'warning' in a log indicate when detecting application problems?

a)

Successful performance

b)

User access issues

c)

A data corruption or timeout

d)

An inventory of AWS resources

4.

What is the purpose of auditing user permissions in AWS?

a)

To maintain an inventory of AWS resources

b)

To track performance

c)

To reduce risk and improve security posture

d)

To log every single action

5.

Why is logging every single action that occurs against your AWS resources important?

a)

To understand existing resources

b)

To prevent future problems

c)

To track user permissions

d)

To handle the load on resources

6.

What is the benefit of maintaining an inventory of AWS Resources?

a)

To identify spikes in usage

b)

To predict how proposed changes will impact the current environment

c)

To detect application problems

d)

To track performance

7.

What is the purpose of AWS CloudTrail?

a)

It collects numeric performance metrics from AWS resources.

b)

It provides a detailed log of every read or write action that occurs against your AWS resources.

c)

It configures how your AWS resources are configured and how they change over time.

d)

It automatically adjusts AWS resource levels to meet demand.

8.

Which AWS service collects numeric performance metrics from AWS and non-AWS resources?

a)

AWS Config

b)

AWS CloudTrail

c)

CloudWatch

d)

AWS Management Console

9.

What can AWS Config do when a resource falls out of compliance with a baseline that you define?

a)

It can delete the resource.

b)

It can ignore the non-compliance.

c)

It can alert you.

d)

It can perform automatic action in response to events.

10.

What are management events in AWS CloudTrail?

a)

They are detailed logs of security breaches.

b)

They are operations that a principal executes against an AWS resource.

c)

They are automatic adjustments of AWS resource levels.

d)

They are logs of non-API actions only.

11.

How does CloudTrail classify events?

a)

Into numeric metrics and performance logs.

b)

Into read-only and write-only events.

c)

Into management events and data events.

d)

Into API and non-API actions.

12.

What do write-only events in CloudTrail include?

a)

API operations that read resources but can't make changes

b)

API operations that modify or might modify resources

c)

Logging into the management console as the root or an Identity and Access Management (IAM) user

d)

API operations that return a list of EC2 instances

13.

Which of the following is considered a read-only event in CloudTrail?

a)

RunInstances API operation

b)

DeleteObject API operation

c)

DescribeInstances API operation

d)

PutObject API operation

14.

For how many days does CloudTrail log management events by default?

a)

30 days

b)

60 days

c)

90 days

d)

120 days

15.

What type of operations does CloudTrail distinguish as read-only and write-only events for S3 object-level operations?

a)

GetObject and PutObject

b)

DeleteObject and DescribeInstances

c)

RunInstances and GetObject

d)

PutObject and DeleteObject

16.

What is the format of CloudTrail log files?

a)

XML

b)

CSV

c)

JSON

d)

TXT

17.

What is NOT included in the event history of every region according to CloudTrail?

a)

Activities that occurred in that region

b)

Global services such as IAM, CloudFront, and Route 53

c)

Events for each region containing only the activities that occurred in that region

d)

Separate event history for each region

18.

What type of information does the 'userIdentity' field in CloudTrail log events provide?

a)

The global endpoint of the service against which the action was taken

b)

The IP address the request originated from

c)

Detailed information about the principal that initiated the request

d)

The name of the API operation

19.

What does the 'eventSource' field in CloudTrail log events refer to?

a)

The IP address the request originated from

b)

The region the resource is located in

c)

The name of the API operation

d)

The global endpoint of the service against which the action was taken

20.

When creating a trail in CloudTrail, how long can it take for the trail to log an event and write it to the S3 bucket?

a)

Instantly

b)

Up to 5 minutes

c)

Up to 15 minutes

d)

Up to 30 minutes

21.

What is the purpose of creating a trail that logs write-only events in CloudTrail?

a)

To log events from a single region only

b)

To separate read-only and write-only events to different trails

c)

To log events related to global services only

d)

To log events from all regions without any restrictions

22.

What is a requirement for trail names in CloudTrail?

a)

They must contain spaces

b)

They must be globally unique

c)

They must be at least three characters and cannot contain spaces

d)

They must be associated with a specific AWS region

23.

What must be remembered when selecting a new S3 bucket for CloudTrail log storage?

a)

The bucket must be located in the us-east-1 region

b)

The bucket names must be globally unique

c)

The bucket must be pre-configured with specific tags

d)

The bucket must be shared with other AWS accounts

24.

What should you make sure is selected under Management Events when creating a trail in CloudTrail?

a)

Read

b)

Write

c)

All

d)

None

25.

What is the limit for selecting individual objects per trail, including Lambda functions and S3 buckets and prefixes?

a)

100 individual objects

b)

250 individual objects

c)

500 individual objects

d)

No limit

26.

If you create a single-region trail to log Lambda events, what are you limited to?

a)

Logging Lambda functions that exist in that region only

b)

Logging Lambda functions from all regions

c)

Logging all management events

d)

Logging no events

27.

What command can you use to disable logging global service events on an existing trail using the AWS CLI?

a)

aws cloudtrail update-trail --name mytrail --include-global-service-events

b)

aws cloudtrail create-trail --name mytrail --no-include-global-service-events

c)

aws cloudtrail update-trail --name mytrail --no-include-global-service-events

d)

aws cloudtrail delete-trail --name mytrail --no-include-global-service-events

28.

What will happen if you log data events on the bucket that's storing your CloudTrail logs?

a)

It will optimize the storage of logs.

b)

It will create an infinite loop.

c)

It will encrypt the logs with AWS KMS.

d)

It will delete the older logs.

29.

What is the purpose of the cryptographic hash of a file calculated by CloudTrail when log file integrity validation is enabled?

a)

To ensure that the log files are encrypted

b)

To detect when a file has been modified

c)

To compress the log files for storage

d)

To create a backup of the log files

30.

What does CloudTrail create every hour to help detect if a log file has been modified?

a)

A new log file

b)

A digest file

c)

A backup of the log file

d)

A new encryption key

31.

What does CloudTrail place in the file's S3 object metadata to ensure log file integrity?

a)

A timestamp of the log file creation

b)

The size of the log file

c)

A cryptographic signature

d)

The IP address of the user accessing the log file

32.

How can you validate the integrity of CloudTrail log files using the AWS CLI?

a)

By creating a new digest file

b)

By encrypting the log files with SSE-S3

c)

By specifying the ARN of the trail and a start time

d)

By checking the file size of the log files

33.

What type of encryption is used by default for log and digest files managed by CloudTrail?

a)

Client-side encryption with Amazon S3-managed keys

b)

Server-side encryption with AWS KMS-managed keys

c)

Server-side encryption with Amazon S3-managed keys

d)

Client-side encryption with AWS KMS-managed keys

34.

What does CloudWatch use to organize metrics into namespaces?

a)

Data points

b)

InstanceId

c)

AWS services

d)

Hypervisors

35.

How often does EC2 send data points to CloudWatch for basic monitoring?

a)

Every minute

b)

Every five minutes

c)

Every ten minutes

d)

Every hour

36.

What is the average CPUUtilization over the five-minute interval if an EC2 instance has the following CPUUtilization metric values measured in percent: 25, 50, 75, 80, and 10?

a)

48

b)

50

c)

55

d)

60

37.

What is the value of the CPUUtilization data point sent to CloudWatch at 13:01 if the previous value at 13:00 was 50?

a)

37.5

b)

40.0

c)

45.0

d)

50.0

38.

What is the timestamp resolution of regular-resolution metrics generated by AWS services?

a)

No less than one minute

b)

Exactly one minute

c)

Up to one second

d)

Five minutes

39.

For how long will CloudWatch store a metric at the five-minute resolution before converting it to one-hour resolution?

a)

15 days

b)

63 days

c)

3 days

d)

1 hour

40.

What happens to AWS CloudWatch metrics after the 15-month retention period?

a)

They are archived for future access.

b)

They are stored at one-minute resolution permanently.

c)

They are deleted permanently.

d)

They are converted to five-minute resolution.

41.

Which API operation can you use to create custom metrics with a resolution of less than one minute in CloudWatch?

a)

PutMetricData

b)

GetMetricData

c)

CreateMetric

d)

StoreMetricData

42.

What statistics can you choose from for showing trends and changes over time in CloudWatch?

a)

Sum and Average

b)

Maximum and Minimum

c)

Sum and Minimum

d)

Average and Maximum

43.

What does the Maximum statistic represent in CloudWatch?

a)

The lowest data point in a period.

b)

The average of all data points in a period.

c)

The number of data points in a period.

d)

The highest data point in a period.

44.

If you specify a percentile of 50 in CloudWatch, what statistic are you requesting?

a)

The average of the data points in the period.

b)

The maximum data point in the period.

c)

The median of the data points in the period.

d)

The total count of the data points in the period.

45.

What is the default period for CloudWatch when graphing a metric?

a)

30 days

b)

60 seconds

c)

1 minute

d)

1 hour

46.

What does the Sum statistic show when graphing a metric in CloudWatch?

a)

The average of all data points in a period.

b)

The highest data point in a period.

c)

Each individual metric data point.

d)

The total count of the data points in a period.

47.

How does changing the time range affect the display of a graph in CloudWatch?

a)

It changes the time series data points.

b)

It changes the metric's resolution.

c)

It only changes how the time series is displayed.

d)

It changes the statistic being used for the metric.

48.

Why would it not make sense to graph the sum of CPU utilization over, say, a 15-minute period?

a)

Because it would yield a result under 0 percent.

b)

Because it would yield a result over 100 percent.

c)

Because CPU utilization cannot be measured as a percentage.

d)

Because the sum of CPU utilization is not relevant to performance metrics.

49.

What statistic can you use to understand long-term patterns of CPU utilization?

a)

Sum

b)

Maximum

c)

Average

d)

Minimum

50.

What does the NetworkOut metric in the AWS/EC2 namespace measure?

a)

The number of error messages sent by an instance.

b)

The amount of data received by an instance.

c)

The number of bytes sent by an instance.

d)

The CPU utilization percentage of an instance.

51.

What does the Details column in the CloudWatch interface uniquely identify for a metric?

a)

The metric's average value and peak time.

b)

The metric's namespace, name, and dimension.

c)

The metric's sum and time range.

d)

The metric's graph style and color.

52.

Which of the following arithmetic functions can be used in CloudWatch to combine multiple metrics into a single time series?

a)

Addition, subtraction, and square root.

b)

Addition, division, and square root.

c)

Addition, subtraction, multiplication, division, and exponentiation.

d)

Multiplication, division, and logarithm.

53.

For what purpose might you divide the AWS/Lambda Invocations metric by the Errors metric in CloudWatch?

a)

To calculate the total number of invocations.

b)

To determine the instance's CPU utilization.

c)

To get an error rate.

d)

To measure the network throughput.

54.

What is the first step to create a graph using Metric Math in CloudWatch according to Exercise 7.2?

a)

Click the Add Math button and select Start With Empty Expression.

b)

Browse to the CloudWatch service console and expand Metrics on the navigation menu.

c)

Click All Metrics.

d)

Select Sum for Statistic and 5 Minutes for Period.

55.

What should you select for each metric in the Graphed Metrics tab to graph the NetworkIn and NetworkOut metrics?

a)

Average for Statistic and 1 Minute for Period.

b)

Sum for Statistic and 5 Minutes for Period.

c)

Maximum for Statistic and 10 Minutes for Period.

d)

Minimum for Statistic and 15 Minutes for Period.

56.

What expression should be entered in the Edit Math Expression field to graph a new time series combining NetworkIn and NetworkOut metrics?

a)

m1/m2

b)

m1-m2

c)

m1+m2

d)

m1*m2

57.

Which statistical functions are mentioned in the image as being available for use in metric math expressions in CloudWatch?

a)

AVG and MIN

b)

SUM and AVG

c)

MAX and AVG

d)

MIN and MAX

58.

What does the function SUM(METRICS()) return when used in CloudWatch?

a)

A time series that can be graphed

b)

An array of time series of all selected metrics

c)

A scalar value representing the sum of all data points

d)

The standard deviation of all selected metrics

59.

What must you do to graph a scalar value like the standard deviation in CloudWatch?

a)

Combine it with the METRICS function in the numerator

b)

Graph it directly without any modifications

c)

Use the SUM function to add up all the graphed metrics

d)

Multiply it with the METRICS function

60.

Which CloudWatch feature allows you to collect logs from AWS and non-AWS sources?

a)

CloudWatch Metrics

b)

CloudWatch Alarms

c)

CloudWatch Logs

d)

CloudWatch Events

61.

What are some common uses for CloudWatch Logs?

a)

Searching and extracting custom metrics

b)

Collecting application logs from an instance

c)

Logging Route 53 DNS queries

d)

All of the above

62.

What are CloudWatch Logs events records of?

a)

Configuration changes in AWS resources

b)

Activity recorded by an application or AWS resource

c)

Binary data in CloudWatch Logs

d)

User access patterns in AWS Management Console

63.

What is the maximum retention period for log events in CloudWatch Logs?

a)

1 year

b)

5 years

c)

10 years

d)

Indefinitely

64.

What can you NOT store as a metric in CloudWatch using metric filters?

a)

The number of 404 Not Found errors in a log file

b)

The number of bytes transferred in a request

c)

A non-numeric string, such as an IP address

d)

The occurrences of a specific string in a log file

65.

What is the purpose of the CloudWatch Agent?

a)

To archive log groups to S3

b)

To collect logs from EC2 instances and on-premises servers

c)

To create CloudWatch metrics using metric filters

d)

To define retention settings for log streams

66.

Can you manually export a log group to an S3 bucket for archiving?

a)

Yes, but only if the log group is less than 1 year old

b)

No, this is not a supported feature in CloudWatch

c)

Yes, but only if it is done at the time of log stream creation

d)

Yes, you can manually export a log group to an S3 bucket

67.

What is the maximum size of log events that CloudTrail can send to CloudWatch Logs?

a)

256 KB

b)

500 KB

c)

1 MB

d)

10 MB

68.

What would you filter for in CloudWatch to search for failed console logins?

a)

{ $.userIdentity.type = "IAMUser" && $.errorCode = "AccessDenied" }

b)

{ $.eventSource = "signin.amazonaws.com" && $.responseElements.ConsoleLogin = "Failure" }

c)

{ $.eventName = "ConsoleLogin" && $.errorMessage = "Failed" }

d)

{ $.sourceIPAddress = "0.0.0.0" && $.loginStatus = "Failure" }

69.

When configuring CloudTrail to deliver logs to CloudWatch Logs, what is the first step according to Exercise 7.3?

a)

Select the Enabled check box under CloudWatch Logs.

b)

Browse to the CloudTrail service console and click Trails.

c)

Click the Save Changes button.

d)

CloudTrail must assume an IAM role.

70.

What must CloudTrail do to stream logs to CloudWatch Logs?

a)

It must have the correct S3 bucket permissions.

b)

It must assume an IAM role with the necessary permissions.

c)

It must be configured with the correct VPC settings.

d)

It must have an active subscription to CloudWatch.

71.

What action does a CloudWatch alarm perform when it detects a change in a metric's value?

a)

It updates the metric's value

b)

It performs an action such as sending an email notification, rebooting an instance, or executing an Auto Scaling action

c)

It directly monitors the metric

d)

It generates a new metric

72.

How often does CloudWatch take metric data points for monitoring if the metric has a resolution of 5 minutes?

a)

Every 1 minute

b)

Every 5 minutes

c)

Every 15 minutes

d)

Every 20 minutes

73.

What must you set the period equal to or greater than when monitoring a metric with CloudWatch?

a)

The resolution of the metric

b)

The average of the metric

c)

The sum of the metric

d)

The maximum value of the metric

74.

What type of threshold allows you to define a static value and condition to trigger an alarm?

a)

Dynamic Threshold

b)

Static Threshold

c)

Anomaly Detection

d)

Relative Threshold

75.

What is the purpose of setting an anomaly detection threshold in CloudWatch?

a)

To define the size of the band based on the number of standard deviations

b)

To specify a static value for the metric

c)

To directly monitor the metrics without statistical analysis

d)

To update the metric's resolution

76.

What are the three states an alarm can be in at any given time according to the CloudWatch documentation?

a)

INSUFFICIENT_DATA, OK, TRIGGERED

b)

ALARM, OK, EVALUATING

c)

ALARM, OK, INSUFFICIENT_DATA

d)

ACTIVE, INACTIVE, PENDING

77.

What does the ALARM state indicate in CloudWatch?

a)

The data points to alarm have not crossed and remained past a defined threshold for a period of time.

b)

The alarm hasn't collected enough data to determine whether the data points to alarm have crossed a defined threshold.

c)

The data points to alarm have crossed and remained past a defined threshold for a period of time.

d)

The alarm is currently being evaluated and has not reached a conclusion.

78.

What is the maximum duration for an evaluation period in CloudWatch?

a)

12 hours

b)

24 hours

c)

48 hours

d)

72 hours

79.

What does an INSUFFICIENT_DATA state in CloudWatch signify?

a)

The alarm has collected enough data and the data points to alarm have crossed the threshold.

b)

The alarm has collected enough data but the data points to alarm have not crossed the threshold.

c)

The alarm has not collected enough data to determine whether the data points to alarm have crossed the threshold.

d)

The alarm is in the process of being reset to its default state.

80.

In the context of CloudWatch, what is an 'n out of m' alarm?

a)

An alarm that triggers when 'n' data points are below the threshold out of the last 'm' data points.

b)

An alarm that triggers when 'n' data points are above the threshold out of the last 'm' data points.

c)

An alarm that triggers if any 'n' data points out of the last 'm' exceed the threshold.

d)

An alarm that triggers if all 'm' data points exceed the threshold consecutively.

81.

How does CloudWatch treat missing data points by default when evaluating periods with missing data?

a)

It treats the missing data as if it never happened.

b)

It assumes the missing data points are breaching the threshold.

c)

It triggers an alarm regardless of the missing data.

d)

It waits for a user to manually input the missing data.

82.

If the evaluation period is 3 and the data points are 41, no data, 50, and 25, how many periods will CloudWatch evaluate if the missing data is treated as missing?

a)

2 periods

b)

3 periods

c)

4 periods

d)

1 period

83.

What happens when CloudWatch missing data is treated as 'breaching' and the threshold is <40 with data points 41, no data, 50, and 25?

a)

The alarm will trigger because the threshold is breached.

b)

The alarm will not trigger because the missing data is not considered breaching.

c)

The alarm will not trigger because there is no missing data.

d)

The alarm will trigger because the missing data is considered not breaching.

84.

What action does CloudWatch's alarm take when it is set to 'ignore' missing data?

a)

It triggers an alarm immediately.

b)

It waits for the user to acknowledge the missing data.

c)

It changes state after it receives the number of consecutive data points specified.

d)

It treats the missing data as if it never happened.

85.

Which protocol is NOT used by a subscriber in the Simple Notification Service (SNS)?

a)

HTTP

b)

HTTPS

c)

Email

d)

FTP

86.

What is the endpoint for a Simple Queue Service (SQS) in the context of SNS?

a)

An email address

b)

A mobile push notification

c)

A queue

d)

A URL

87.

What type of notification can trigger an action when an alarm monitoring an instance goes into an INSUFFICIENT_DATA state?

a)

CPU utilization notification

b)

Disk usage notification

c)

Instance shutdown notification

d)

Memory usage notification

88.

When creating an alarm action in CloudWatch, what AWS service is used to relay the notification to the subscribers of the topic?

a)

AWS Lambda

b)

Amazon S3

c)

Amazon EC2

d)

Amazon SNS

89.

What must exist before you can select it as an alarm action if you're using Auto Scaling?

a)

An EC2 instance

b)

A CloudWatch alarm

c)

A simple Auto Scaling policy

d)

An SNS topic

90.

What does the EC2 StatusCheckFailed_Instance metric return if there's a problem with the instance?

a)

0

b)

1

c)

An error message

d)

A success message

91.

What is the difference between CloudWatch Alarms and EventBridge in terms of the type of events they can respond to?

a)

CloudWatch Alarms respond to metric values, while EventBridge responds to specific events.

b)

CloudWatch Alarms respond to specific events, while EventBridge responds to metric values.

c)

CloudWatch Alarms can only respond to EC2 instance changes, while EventBridge can respond to any AWS service event.

d)

CloudWatch Alarms and EventBridge respond to the same types of events.

92.

What AWS service can EventBridge use to send a notification as soon as an EC2 instance stops?

a)

Amazon EC2

b)

AWS Lambda

c)

Amazon SNS

d)

Amazon S3

93.

By default, how many event buses does every AWS account have for AWS services?

a)

None

b)

One

c)

Two

d)

Multiple

94.

What action can a rule defined in AWS take in response to an event?

a)

It can delete the AWS account.

b)

It can create a snapshot of an EC2 instance at a scheduled time.

c)

It can automatically upgrade the instance type.

d)

It can send a notification when a new user is created.

95.

What is the main difference between AWS Config and CloudTrail?

a)

AWS Config tracks real-time user activity, whereas CloudTrail tracks configuration changes.

b)

AWS Config tracks configuration state over time, whereas CloudTrail logs events and API calls.

c)

AWS Config is used for security auditing, whereas CloudTrail is used for compliance monitoring.

d)

AWS Config logs data access, whereas CloudTrail tracks resource configuration.

96.

Which of the following is a use case for AWS Config?

a)

To monitor real-time network traffic.

b)

To provide a holistic view of resource configurations at any point in time.

c)

To automate the deployment of applications.

d)

To manage user identities and access.

97.

What can AWS Config help you identify?

a)

The best pricing model for your resources.

b)

Misconfigurations and their potential impact on other resources.

c)

The number of users currently logged into the system.

d)

The real-time performance metrics of your services.

98.

What objective can AWS Config assist with in terms of security?

a)

Encrypting data stored on S3 buckets.

b)

Notifying when a resource configuration changes, alerting to potential breaches.

c)

Installing security patches on EC2 instances.

d)

Blocking IP addresses that exhibit suspicious behavior.

99.

What is the primary function of the configuration recorder in AWS Config?

a)

To automatically delete old configuration items

b)

To serve as the workhorse of AWS Config, discovering and tracking resource changes

c)

To back up configuration items to an S3 bucket

d)

To monitor and configure AWS Config rules