
Answer-first summary for fast verification
Answer: 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.
The correct answer is A. Storing image files in a Google Cloud Storage bucket and using Google Cloud Datastore to maintain metadata that maps each customer's ID and their image files provides a scalable solution for handling images. This approach leverages the power of Google Cloud Storage for efficient image storage and retrieval, ensuring minimal latency. Additionally, using Google Cloud Datastore, which is a NoSQL database, allows for flexible and efficient management of metadata required to control access to the images. This configuration aligns well with the need for customer-exclusive control over image access since the metadata service can manage permissions effectively.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Dress4Win is an online company that helps users organize their wardrobe using a website and mobile application. As part of their new application experience, Dress4Win allows customers to upload images of themselves. The company emphasizes that customers have exclusive control over who may view these images. Customers are also expected to upload images with minimal latency and have them displayed quickly on the main application page when they log in. Based on these requirements, which configuration should Dress4Win use?
A
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.
B
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.
C
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.
D
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.