exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 149 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 149
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

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.)

  • A. Check the returned response for the Versionld. Compare the returned VersionId against the MD5 checksum.
  • B. Include the MD5 checksum within the Content-MD5 parameter. Check the operation call's return status to find out if an error was returned.
  • C. Include the checksum digest within the tagging parameter as a URL query parameter.
  • D. Check the returned response for the ETag. Compare the returned ETag against the MD5 checksum.
  • E. Include the checksum digest within the Metadata parameter as a name-value pair. After upload, use the S3 HeadObject operation to retrieve metadata from the object.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SHoKMaSTeR
2 years, 2 months ago
Selected Answer: BD
B for checking that it was sent without any data loss. D for checking that the data stored was the expected one without any issues.
upvoted 3 times
...
ospherenet
2 years, 2 months ago
Option B is to include the MD5 checksum within the Content-MD5 parameter and check the operation call's return status to find out if an error was returned. Option D is to check the returned response for the ETag and compare the returned ETag against the MD5 checksum. This way, the script can ensure the data was successfully transferred to Amazon S3 and is not corrupted during transmission.
upvoted 3 times
...
Bulti
2 years, 3 months ago
B,D is correct. MD5 checksum and ETag to verify the checksum passed.
upvoted 1 times
...
Dimidrol
2 years, 3 months ago
Selected Answer: BD
B D for me.https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago