exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 11 question 8 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 8
Topic #: 11
[All Professional Cloud Architect Questions]

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
chiar
Highly Voted 4 years, 11 months ago
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
upvoted 34 times
...
DrCoola
Highly Voted 4 years, 8 months ago
A - using gsutil for this purpose makes querries on such metadata painful for application logic.
upvoted 9 times
...
svkds
Most Recent 5 months, 2 weeks ago
Selected Answer: B
This approach leverages Google Cloud Storage for storing the image files, which provides scalability, durability, and low-latency access. By adding custom metadata containing the customer's unique ID to the uploaded images, Dress4Win can maintain control over access to the images while enabling efficient retrieval based on customer identity. This configuration aligns well with the requirement for minimal latency and quick access to images while ensuring customer privacy and security.
upvoted 1 times
...
joe2211
2 years, 11 months ago
Selected Answer: A
vote A
upvoted 2 times
...
PeppaPig
3 years, 2 months ago
A 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/
upvoted 4 times
...
kopper2019
3 years, 3 months ago
hey guys new Qs posted as of July 12th, 2021, All 21 new Qs in Question #152
upvoted 1 times
...
[Removed]
3 years, 3 months ago
B) is not correct because we cannot search on bucket using metada (maybe in the future ...). So for now we have to get all files from the bucket and fiter on metadata ( very bad performance). The answer is A).
upvoted 2 times
...
victory108
3 years, 3 months ago
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.
upvoted 1 times
...
MamthaSJ
3 years, 3 months ago
Answer is A
upvoted 3 times
...
Ausias18
3 years, 6 months ago
Answer is A
upvoted 1 times
...
Rightsaidfred
3 years, 8 months ago
Between A & B. A will take quickest time. A is the answer.
upvoted 3 times
...
okixavi
3 years, 10 months ago
A is the man
upvoted 2 times
...
Bijesh
3 years, 10 months ago
The customer has exclusive control over who can view their image. Is this possible by option B, by merely adding metadata on the object. I don't think so. A is better suited.
upvoted 2 times
...
hems4all
3 years, 11 months ago
A is correct
upvoted 2 times
...
AdityaGupta
4 years ago
I will go with A, Store the images in GCS is cost-optimized way of storing images/ objects. DataStore is best option to store user profiles, which gives control to user.
upvoted 3 times
...
zzaric
4 years, 3 months ago
A is correct
upvoted 2 times
...
mlantonis
4 years, 4 months ago
I agree with A
upvoted 2 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