What should you do?

You are working on a social media application. You plan to add a feature that allows users to upload images. These images will be 2 MB C 1 GB in size. You want to minimize their infrastructure operations overhead for this feature.

What should you do?
A . Change the application to accept images directly and store them in the database that stores other user information.
B . Change the application to create signed URLs for Cloud Storage. Transfer these signed URLs to the client application to upload images to Cloud Storage.
C . Set up a web server on GCP to accept user images and create a file store to keep uploaded files.
Change the application to retrieve images from the file store.
D . Create a separate bucket for each user in Cloud Storage. Assign a separate service account to allow write access on each bucket. Transfer service account credentials to the client application based on user information. The application uses this service account to upload images to Cloud Storage.

Answer: B

Explanation:

Reference: https://cloud.google.com/blog/products/storage-data-transfer/uploading-images-directly-to-cloud-storage-by-using-signed-url

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments