Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 571 discussion

A company has an application that runs on a fleet of Amazon EC2 instances and stores 70 GB of device data for each instance in Amazon S3. Recently, some of the S3 uploads have been failing. At the same time, the company is seeing an unexpected increase in storage data costs. The application code cannot be modified.
What is the MOST efficient way to upload the device data to Amazon S3 while managing storage costs?

  • A. Upload device data using a multipart upload. Use the AWS CLI to list incomplete parts to address the failed S3 uploads. Enable the lifecycle policy for the incomplete multipart uploads on the S3 bucket to delete the old uploads and prevent new failed uploads from accumulating.
  • B. Upload device data using S3 Transfer Acceleration. Use the AWS Management Console to address the failed S3 uploads. Use the Multi-Object Delete operation nightly to delete the old uploads.
  • C. Upload device data using a multipart upload. Use the AWS Management Console to list incomplete parts to address the failed S3 uploads. Configure a lifecycle policy to archive continuously to Amazon S3 Glacier.
  • D. Upload device data using S3 Transfer Acceleration. Use the AWS Management Console to list incomplete parts to address the failed S3 uploads. Enable the lifecycle policy for the incomplete multipart uploads on the S3 bucket to delete the old uploads and prevent new failed uploads from accumulating.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Ebi
Highly Voted 2 years, 11 months ago
Answer is A
upvoted 11 times
ExtHo
2 years, 11 months ago
Supporting Ebi It should be A, because the most critical problem is that the console cannot display the information that your multipart upload failed. This can only be viewed through the SDK/API. And the title said that there are many unexpected data costs, which should refer to the storage fee caused by the failure of multipart upload (because if you don’t use multipart upload, the entire file upload will fail if it fails, and there is no such part of the cost). It can be concluded that the original program has already written code for multipart upload. No additional code changes are required.
upvoted 10 times
kirrim
2 years, 11 months ago
Technically, you can view failed multi-part uploads in the console using AWS Storage Lens: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-optimize-storage.html#locate-incomplete-mpu https://aws.amazon.com/blogs/aws-cloud-financial-management/discovering-and-deleting-incomplete-multipart-uploads-to-lower-amazon-s3-costs/ I still think A is the best answer, though!
upvoted 1 times
...
...
...
Bulti
Highly Voted 2 years, 11 months ago
Between A and D, I will go with D only because A will require a code change. It is assumed that the application currently does not use multi-part upload. Using S3 Transfer acceleration does not require code change. Identifying multi-part object failures is possible using both CLI and console so I will go with D.
upvoted 6 times
Bulti
2 years, 11 months ago
On reviewing the Option D again, I realized that it is assuming we are using multipart upload with S3 TA. This will also require a code change. The only option then which will not require a code change is option B. So my final answer is Option B.
upvoted 3 times
01037
2 years, 11 months ago
Yes, only B doesn't need code change.
upvoted 1 times
...
01037
2 years, 11 months ago
But how to find out a failed upload? Isn't the upload is a 0 or 1 operation if it isn't multi part upload?
upvoted 1 times
...
...
...
ibu007
Most Recent 1 year, 1 month ago
Selected Answer: A
choose A
upvoted 1 times
...
sou123454
1 year, 11 months ago
Answer is DDDD
upvoted 1 times
...
TechX
2 years, 3 months ago
Selected Answer: A
Agree with A, best solution here
upvoted 1 times
...
kangtamo
2 years, 3 months ago
Selected Answer: A
Agree with A: AWS CLI.
upvoted 1 times
...
CloudChef
2 years, 8 months ago
A is correct
upvoted 1 times
...
AzureDP900
2 years, 10 months ago
A is right
upvoted 1 times
...
pcops
2 years, 10 months ago
I will go with A
upvoted 1 times
...
sashenka
2 years, 10 months ago
DDD - main reason it is NOT A is because "Modifications to the application's code are not permitted." and taking advantage of S3 multipart uploads REQUIRES modification to your code. SDK/API is provided and the S3 multipart upload function is different than the PUT of the S3 upload. Take a look here: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpu-upload-object.html Additionally, TA is best practice for transferring large files to S3 buckets. As data arrives at the closest edge location, the data is routed to Amazon S3 over an optimized network path. This will insure more device uploads will not end up in a failed state.
upvoted 2 times
sashenka
2 years, 10 months ago
AAA - CORRECTION. It appears that if using the AWS SDK/CLI by DEFAULT when uploading a >5Mb file to an AWS S3 bucket multipart upload will be used. That and I missed that listing of failed multipart upload objects CAN'T be viewed in the Management Console.
upvoted 3 times
...
...
moon2351
2 years, 11 months ago
I think Answer is A
upvoted 1 times
...
DerekKey
2 years, 11 months ago
"Use the AWS Management Console to list incomplete parts to address the failed S3 uploads" - not possible with Management Console C & D - wrong "Upload device data using S3 Transfer Acceleration" - can be used to move data between Regions. Not in this case B & D - wrong "Use the AWS Management Console to address the failed S3 uploads." - there is no functionality B - wrong "Use the AWS CLI to list incomplete parts to address the failed S3 uploads" - correct "Enable the lifecycle policy for the incomplete multipart uploads on the S3 bucket to delete the old uploads and prevent new failed uploads from accumulating." - correct A - correct. I assume that they will not change the application and use CLI to upload files
upvoted 5 times
...
WhyIronMan
2 years, 11 months ago
I'll go with A
upvoted 1 times
...
Desailly
2 years, 11 months ago
Well described here https://aws.amazon.com/blogs/aws-cost-management/discovering-and-deleting-incomplete-multipart-uploads-to-lower-amazon-s3-costs/
upvoted 1 times
...
SPRao
2 years, 11 months ago
If some of uploads are failing and cost is getting increased means upload is already multipart hence only ask is to how to reduce the cost and that can be done by deleting failed uploads from S3. Hence A makes sense.
upvoted 2 times
...
oscargee
2 years, 11 months ago
Note: You aren’t able to view the parts of your incomplete multipart upload in the AWS Management Console. https://aws.amazon.com/cn/blogs/aws-cost-management/discovering-and-deleting-incomplete-multipart-uploads-to-lower-amazon-s3-costs/ So A is the only one.
upvoted 2 times
Rich_Rich
2 years, 11 months ago
Lifecycle policies for failed uploads discussed in this blog: https://aws.amazon.com/blogs/aws-cost-management/discovering-and-deleting-incomplete-multipart-uploads-to-lower-amazon-s3-costs/ (A)
upvoted 1 times
...
bharadhwaj
2 years, 11 months ago
s3 storage lens is through the console. The real thing is deletion of the file and not a move to glacier. hence A is correct
upvoted 2 times
...
...
Waiweng
2 years, 11 months ago
it's A
upvoted 4 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 ...