nerdexam
Amazon

DOP-C02 · Question #104

A DevOps engineer is working on a data archival project that requires the migration of on- premises data to an Amazon S3 bucket. The DevOps engineer develops a script that incrementally archives…

The correct answer is B. Include the MD5 checksum within the Content-MD5 parameter. Check the operation call's return D. Check the returned response for the ETag. Compare the returned ETag against the MD5 checksum. https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

Submitted by akirajp· Mar 6, 2026Reliability & Resilience

Question

A DevOps engineer is working on a data archival project that requires the migration of on- premises data to an Amazon S3 bucket. The DevOps engineer develops a script that incrementally archives on-premises data that is older than 1 month to Amazon S3. Data that is transferred to Amazon S3 is deleted from the on-premises location. The script uses the S3 PutObject operation. During a code review, the DevOps engineer notices that the script does not verify whether the data was successfully copied to Amazon S3. The DevOps engineer must update the script to ensure that data is not corrupted during transmission. The script must use MD5 checksums to verify data integrity before the on-premises data is deleted. Which solutions for the script will meet these requirements? (Choose two.)

Options

  • ACheck the returned response for the VersionId. Compare the returned VersionId against the MD5
  • BInclude the MD5 checksum within the Content-MD5 parameter. Check the operation call's return
  • CInclude the checksum digest within the tagging parameter as a URL query parameter.
  • DCheck the returned response for the ETag. Compare the returned ETag against the MD5 checksum.
  • EInclude the checksum digest within the Metadata parameter as a name-value pair. After upload, use

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    74% (23)
  • C
    16% (5)
  • E
    6% (2)

Explanation

https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

Topics

#S3 data integrity#MD5 checksum#ETag#S3 PutObject

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice