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?
Choose an answer
Tap an option to check your answer.
Correct 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..
Why this is the answer
Storing image files in a Google Cloud Storage bucket is ideal for this use case because Cloud Storage offers high availability, scalability, and low latency for uploads and retrievals, which are crucial for a good customer experience. Using Google Cloud Datastore (now Firestore in Datastore mode) for metadata is appropriate because it's a NoSQL document database that scales automatically, handles semi-structured data well, and provides fast lookups for mapping customer IDs to their image files. This combination ensures both efficient storage of large binary objects (images) and quick, scalable access to their associated metadata. The option to add custom metadata to Cloud Storage objects is less efficient for querying than a dedicated database. Distributed file systems are generally more complex to manage and scale than Cloud Storage, and assigning file owner attributes for privacy is not a standard or scalable solution in a cloud environment. While Cloud SQL could store metadata, Datastore is often preferred for its automatic scaling and flexible schema, which suits evolving application needs better than a relational database for this type of metadata.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed