
Ultimate access to all questions.
Your company has developed an application running on Google App Engine that allows users to upload music files and share them with others. To improve the user experience and reduce backend load, you want to allow users to upload files directly from their browser sessions into Google Cloud Storage, without the payload passing through your backend servers. What configuration should you implement to achieve this?
A
Set a CORS configuration in the target Cloud Storage bucket where the base URL of the App Engine application is an allowed origin. Use the Cloud Storage Signed URL feature to generate a POST URL.
B
Set a CORS configuration in the target Cloud Storage bucket where the base URL of the App Engine application is an allowed origin. Assign the Cloud Storage WRITER role to users who upload files.
C
Use the Cloud Storage Signed URL feature to generate a POST URL. Use App Engine default credentials to sign requests against Cloud Storage.
D
Assign the Cloud Storage WRITER role to users who upload files. Use App Engine default credentials to sign requests against Cloud Storage.