Google Cloud Professional Cloud Developer — Question 167

You are developing a web application that contains private images and videos stored in a Cloud Storage bucket. Your users are anonymous and do not have Google Accounts. You want to use your application-specific logic to control access to the images and videos. How should you configure access?

Answer options

Correct answer: D

Explanation

The correct answer is D because generating a signed URL allows you to grant temporary access to the private images and videos without requiring Google Accounts. The other options either grant broader access than intended or rely on methods that require user authentication, which is not suitable for anonymous users.