Courseiva

DEA-C01 Data Operations and Support Practice Question

Network Topology
aws s3api head-objectbucket my-data-lakekey logs/2023/12/01/part-00000.json"LastModified": "2023-12-01T12:00:00Z","ContentLength": 1024,"ETag": "\"abc123\"","Metadata": {}

Refer to the exhibit. A data engineer runs the command on an object in S3. The engineer expected the object to have a tag 'type=raw' but sees no metadata. What is the likely cause?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Object tags are not returned by head-object; use get-object-tagging instead

The head-object command does not return object tags; you must use the get-object-tagging command to retrieve tags. Option B is incorrect because the head-object command succeeds regardless of region, and region does not affect tag visibility. Option C is incorrect because bucket policies can deny access but do not prevent tags from being returned by head-object; they would affect get-object-tagging instead. Option D is incorrect because lifecycle rules do not remove tags from objects; they may transition or expire objects but do not strip metadata.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Object tags are not returned by head-object; use get-object-tagging instead

    Why this is correct

    HeadObject returns object metadata and system headers, not the object's tag set, so the engineer sees no 'type=raw' tag despite it existing. GetObjectTagging is the API that retrieves tags, satisfying the expectation of confirming the object's tagging.

  • ✗

    The S3 bucket is in a different AWS Region

    Why it's wrong here

    Cross-Region bucket placement does not strip object tags; GetObjectTagging is a regional API call that returns tags regardless of where the caller sits. It is tempting because Region mismatches do cause failures for some S3 features, but tagging is not one of them — the missing 'type=raw' tag points to the tag never being applied or overwritten.

  • ✗

    The bucket policy blocks reading tags

    Why it's wrong here

    A bucket policy restricting s3:GetObjectTagging would cause an AccessDenied error, not silently empty metadata; the engineer's command returned without tags. It is tempting because bucket policies do govern tag visibility, and tightening them is correct when unauthorised principals must be prevented from reading object tags.

  • ✗

    The object was created without tags because of lifecycle rules

    Why it's wrong here

    Lifecycle rules transition or expire objects; they do not strip tags during creation, so the object would still carry 'type=raw'. It is tempting because lifecycle configuration does alter object metadata such as storage class, and it is correct when tags must be added or removed automatically as objects age.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

One of 1,321 original DEA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DEA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DEA-C01 exam.