Topic 1 Question 8
As part of their new application experience, Dress4Wm allows customers to upload images of themselves. The customer has exclusive control over who may view these images. Customers should be able to upload images with minimal latency and also be shown their images quickly on the main application page when they log in. Which configuration should Dress4Win use?
Store image files in a Google Cloud Storage bucket. Use Google Cloud Datastore to maintain metadata that maps each customer's ID and their image files.
Store image files in a Google Cloud Storage bucket. Add custom metadata to the uploaded images in Cloud Storage that contains the customer's unique ID.
Use a distributed file system to store customers' images. As storage needs increase, add more persistent disks and/or nodes. Assign each customer a unique ID, which sets each file's owner attribute, ensuring privacy of images.
Use a distributed file system to store customers' images. As storage needs increase, add more persistent disks and/or nodes. Use a Google Cloud SQL database to maintain metadata that maps each customer's ID to their image files.
ユーザの投票
コメント(17)
I think it's A, because in the question says "The customer has exclusive control over who may view these images" And I think it is easier to develop this feature having in cloud datastore a NOSQL database where you can manage the control of file's viewer
👍 32chiar2019/11/20A - using gsutil for this purpose makes querries on such metadata painful for application logic.
👍 8DrCoola2020/02/13A is correct. The whole idea is simply build and maintain an external metadata service using NoSQL database to associate the GS object key with its metadata, in order to facilitate object findings based on attributes you pre defined in metatdata
This AWS blog provides a solution in the context of AWS S3, but the idea behind is applicable to Google Storage as well https://aws.amazon.com/blogs/big-data/building-and-maintaining-an-amazon-s3-metadata-index-without-servers/
👍 4PeppaPig2021/07/29
シャッフルモード