CloudWatch Flashcards

1
Q

How can you set an alarm to notify you when your account is above a certain monetary threshold?

A

You can set a billing alarm in CloudWatch.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False. The CloudWatch Alarm Evaluation Period is the number of the most recent data points to evaluate when determining alarm state.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False. You can use the CloudWatch agent to collect both system metrics and log files from Amazon EC2 instances and on-premises servers. The agent supports both Windows Server and Linux, and enables you to select the metrics to be collected, including sub-resource metrics such as per-CPU core.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False. There was a unified agent and an ability to monitor scripts. But none of these tools can capture SwapUtilization metrics and send them to CloudWatch anymore.

A

False. There is now a unified agent and previously there were monitoring scripts. Both of these tools can capture SwapUtilization metrics and send them to CloudWatch.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or False. CloudTrail is the best way to get memory utilization metrics from Amazon EC2 instances.

A

False. There is now a unified agent and previously there were monitoring scripts. Both of these tools can capture SwapUtilization metrics and send them to CloudWatch. This is the best way to get memory utilization metrics from Amazon EC2 instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False. Data events provide visibility into the resource operations performed on or within a resource. These are also known as data plane operations. Data events are often high-volume activities.

Provide Examples.

A

True.

Example data events include:

  • Amazon S3 object-level API activity (for example, GetObject, DeleteObject, and PutObject API operations).
  • AWS Lambda function execution activity (the Invoke API).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False. Management events provide visibility into management operations that are performed on resources in your AWS account. These are also known as control plane operations.

Provide examples

A

True.

Example management events include:

  • Configuring security (for example, IAM AttachRolePolicy API operations)
  • Registering devices (for example, Amazon EC2 CreateDefaultVpc API operations).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or False. Use CloudWatch Events to monitor applications and systems using log data.

A

False. Use CloudWatch Logs to monitor applications and systems using log data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or False. CloudTrail is used for monitoring application logs on your account, not for monitoring API activity.

A

False. CloudTrail is used for monitoring API activity on your account, not for monitoring application logs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False. There is no standard metric in CloudWatch for collecting EC2 memory usage. However, you can use the CloudWatch agent to collect both system metrics and log files from Amazon EC2 instances and on-premises servers. The metrics can be pushed to a CloudWatch custom metric.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

True or False. The cloudformation:TemplateURL, lets you specify where the CloudFormation template for a stack action, such as create or update, resides and enforce that it be used.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False The cloudformation:TemplateURL, lets you specify where the CloudFormation template for a stack action, such as create or update, resides and enforce that it be used.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

True or False. You can ensure that every CloudFormation stack has a stack policy associated with it upon creation with the StackPolicyURL condition. However, this parameter itself is not used to specify the template to use.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly