CloudWatch Flashcards
How can you set an alarm to notify you when your account is above a certain monetary threshold?
You can set a billing alarm in CloudWatch.
True or False. The CloudWatch Alarm Evaluation Period is the number of the most recent data points to evaluate when determining alarm state.
True.
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.
True.
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.
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.
True or False. CloudTrail is the best way to get memory utilization metrics from Amazon EC2 instances.
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.
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.
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).
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
True.
Example management events include:
- Configuring security (for example, IAM AttachRolePolicy API operations)
- Registering devices (for example, Amazon EC2 CreateDefaultVpc API operations).
True or False. Use CloudWatch Events to monitor applications and systems using log data.
False. Use CloudWatch Logs to monitor applications and systems using log data.
True or False. CloudTrail is used for monitoring application logs on your account, not for monitoring API activity.
False. CloudTrail is used for monitoring API activity on your account, not for monitoring application logs.
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.
True.
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.
True.
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.
True.
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.
True.