Bird
0
0

Given this AWS CLI command output after pushing an image to ECR:

medium📝 Predict Output Q4 of 15
AWS - ECS and Fargate
Given this AWS CLI command output after pushing an image to ECR:
{"imageDigest": "sha256:abc123", "imageTags": ["latest"]}

What does the imageDigest represent?
AThe repository URL where the image is stored
BThe tag name assigned to the image
CThe size of the image in bytes
DA unique identifier for the pushed image content
Step-by-Step Solution
Solution:
  1. Step 1: Understand the meaning of imageDigest

    imageDigest is a SHA256 hash that uniquely identifies the image content pushed to ECR.
  2. Step 2: Differentiate from other fields

    imageTags are labels like 'latest'. Repository URL and image size are not represented by imageDigest.
  3. Final Answer:

    A unique identifier for the pushed image content -> Option D
  4. Quick Check:

    imageDigest = unique image content ID [OK]
Quick Trick: imageDigest is the image's unique SHA256 hash [OK]
Common Mistakes:
  • Confusing imageDigest with image tag
  • Thinking imageDigest is repository URL
  • Assuming imageDigest is image size

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes