0
0
AWScloud~10 mins

Reserved Instances and Savings Plans in AWS - Interactive Code Practice

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

Complete the code to specify the purchase of a Reserved Instance in AWS CLI.

AWS
aws ec2 purchase-reserved-instances-offering --reserved-instances-offering-id [1] --instance-count 1
Drag options to blanks, or click blank then click option'
Aavailability-zone
Binstance-type
Cabc123xyz
Dregion-name
Attempts:
3 left
💡 Hint
Common Mistakes
Using instance type or region instead of the offering ID.
Leaving the offering ID blank.
2fill in blank
medium

Complete the code to create a Savings Plan using AWS CLI.

AWS
aws savingsplans create-savings-plan --savings-plan-offering-id [1] --commitment 100 --term 31536000
Drag options to blanks, or click blank then click option'
Asp-offering-123
Bterm
Ccommitment
Dregion
Attempts:
3 left
💡 Hint
Common Mistakes
Using parameter names instead of the offering ID.
Confusing commitment amount with offering ID.
3fill in blank
hard

Fix the error in the AWS CLI command to describe Reserved Instances.

AWS
aws ec2 describe-reserved-instances --filters Name=state,Values=[1]
Drag options to blanks, or click blank then click option'
Aactive
Brunning
Cavailable
Dpending
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'running' which is for EC2 instance states, not Reserved Instances.
Using 'available' which is not a valid Reserved Instance state.
4fill in blank
hard

Fill both blanks to create a Savings Plan with a specific payment option and plan type.

AWS
aws savingsplans create-savings-plan --payment-option [1] --plan-type [2] --commitment 200 --term 31536000
Drag options to blanks, or click blank then click option'
AAll Upfront
BPartial Upfront
CCompute
DEC2 Instance
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing payment options with plan types.
Using invalid strings for payment option or plan type.
5fill in blank
hard

Fill all three blanks to filter Reserved Instances by instance type, availability zone, and state.

AWS
aws ec2 describe-reserved-instances --filters Name=instance-type,Values=[1] Name=availability-zone,Values=[2] Name=state,Values=[3]
Drag options to blanks, or click blank then click option'
Am5.large
Bus-east-1a
Cactive
Dt2.micro
Attempts:
3 left
💡 Hint
Common Mistakes
Using instance types as availability zones.
Using incorrect state values.