0
0
AWScloud~10 mins

Setting up billing alerts in AWS - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a billing alarm that triggers when the estimated charges exceed $100.

AWS
AlarmName: "BillingAlarm"
MetricName: "EstimatedCharges"
Namespace: "AWS/Billing"
Statistic: "Maximum"
Period: 21600
EvaluationPeriods: 1
Threshold: [1]
ComparisonOperator: "GreaterThanThreshold"
Drag options to blanks, or click blank then click option'
A50
B100
C200
D10
Attempts:
3 left
💡 Hint
Common Mistakes
Setting the threshold too low or too high.
Confusing threshold with evaluation periods.
2fill in blank
medium

Complete the code to specify the currency unit for the billing metric.

AWS
MetricName: "EstimatedCharges"
Namespace: "AWS/Billing"
Dimensions:
  - Name: "Currency"
    Value: [1]
Drag options to blanks, or click blank then click option'
AGBP
BEUR
CJPY
DUSD
Attempts:
3 left
💡 Hint
Common Mistakes
Using a currency code not supported by AWS billing.
Leaving the currency dimension empty.
3fill in blank
hard

Fix the error in the alarm action to notify the billing team via SNS topic ARN.

AWS
AlarmActions:
  - [1]
Drag options to blanks, or click blank then click option'
A"arn:aws:sns:us-east-1:123456789012:BillingAlerts"
BBillingAlerts
C"BillingAlerts"
Darn:aws:sns:us-east-1:123456789012:BillingAlerts
Attempts:
3 left
💡 Hint
Common Mistakes
Using just the topic name without ARN.
Missing quotes around the ARN string.
4fill in blank
hard

Fill both blanks to complete the CloudFormation snippet for billing alarm with SNS notification.

AWS
Resources:
  BillingAlarm:
    Type: "AWS::CloudWatch::Alarm"
    Properties:
      AlarmName: "BillingAlarm"
      MetricName: "EstimatedCharges"
      Namespace: "AWS/Billing"
      Statistic: "Maximum"
      Period: 21600
      EvaluationPeriods: 1
      Threshold: [1]
      ComparisonOperator: [2]
      AlarmActions:
        - "arn:aws:sns:us-east-1:123456789012:BillingAlerts"
Drag options to blanks, or click blank then click option'
A100
BGreaterThanThreshold
CLessThanThreshold
D200
Attempts:
3 left
💡 Hint
Common Mistakes
Using LessThanThreshold which triggers alert on lower charges.
Setting threshold too high or too low.
5fill in blank
hard

Fill all three blanks to complete the billing alert setup with metric dimension and SNS action.

AWS
Resources:
  BillingAlarm:
    Type: "AWS::CloudWatch::Alarm"
    Properties:
      AlarmName: "BillingAlarm"
      MetricName: "EstimatedCharges"
      Namespace: "AWS/Billing"
      Dimensions:
        - Name: [1]
          Value: [2]
      Threshold: 100
      ComparisonOperator: "GreaterThanThreshold"
      AlarmActions:
        - [3]
Drag options to blanks, or click blank then click option'
A"Currency"
B"USD"
C"arn:aws:sns:us-east-1:123456789012:BillingAlerts"
D"EstimatedCharges"
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong dimension name or value.
Not quoting the SNS topic ARN.