Google Professional Cloud Developer

Google Professional Cloud Developer

Get started today

Ultimate access to all questions.


You are developing a social media application and need to implement a feature for users to upload images ranging from 2 MB to 1 GB in size. How can you minimize infrastructure operations overhead for this functionality?




Explanation:

The correct answer is B. Using signed URLs for Cloud Storage allows clients to upload images directly to Cloud Storage without proxying through the application server. This minimizes infrastructure operations overhead by leveraging Google Cloud Storage's managed service, which handles scalability, durability, and availability. Option A is incorrect because storing large files in a database is inefficient and increases database load. Option C introduces operational overhead with a web server and file store management. Option D is not scalable (creating a bucket per user is impractical) and poses security risks by transferring service account credentials.