Bird
0
0

Consider this AWS CLI output after associating an Elastic IP to an instance:

medium📝 service behavior Q13 of 15
AWS - EC2 Fundamentals
Consider this AWS CLI output after associating an Elastic IP to an instance:
{
  "AssociationId": "eipassoc-12345678",
  "PublicIp": "203.0.113.25",
  "InstanceId": "i-0abcd1234efgh5678"
}
What does this output indicate?
AThe Elastic IP 203.0.113.25 is now linked to the instance i-0abcd1234efgh5678
BThe instance i-0abcd1234efgh5678 has been terminated
CThe Elastic IP has been released and is no longer usable
DThe instance has no public IP assigned
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the output fields

    The output shows an AssociationId, a PublicIp, and an InstanceId, indicating a link between the IP and instance.
  2. Step 2: Interpret the meaning

    This means the Elastic IP 203.0.113.25 is assigned to the instance i-0abcd1234efgh5678.
  3. Final Answer:

    The Elastic IP 203.0.113.25 is now linked to the instance i-0abcd1234efgh5678 -> Option A
  4. Quick Check:

    AssociationId means IP linked to instance [OK]
Quick Trick: AssociationId means IP linked to instance [OK]
Common Mistakes:
MISTAKES
  • Thinking the instance is terminated
  • Assuming the IP is released
  • Ignoring the AssociationId meaning

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes