Google Cloud Professional Cloud Developer — Question 48

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 `" 1 GB in size. You want to minimize their infrastructure operations overhead for this feature.
What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because creating signed URLs for Cloud Storage allows users to upload images directly to a scalable storage solution without overwhelming the application's backend. Option A is inefficient as it would bloat the database with large image files, while option C introduces unnecessary server infrastructure. Option D complicates user management and doesn't leverage the simplicity of signed URLs.