nerdexam
Google

PROFESSIONAL-CLOUD-ARCHITECT · Question #285

Your company has an application running on App Engine that allows users to upload music files and share them with other people. You want to allow users to upload files directly into Cloud Storage from

The correct answer is A. 1. Set a CORS configuration in the target Cloud Storage bucket where the base URL of the App. Cloud Storage supports this specification by allowing you to configure your buckets to support CORS. Continuing the above example, you can configure the example.storage.googleapis.com bucket so that a browser can share its resources with scripts from example.appspot.com. https://

Submitted by femi9· Mar 30, 2026Managing implementation

Question

Your company has an application running on App Engine that allows users to upload music files and share them with other people. You want to allow users to upload files directly into Cloud Storage from their browser session. The payload should not be passed through the backend. What should you do?

Options

  • A
    1. Set a CORS configuration in the target Cloud Storage bucket where the base URL of the App
  • B
    1. Set a CORS configuration in the target Cloud Storage bucket where the base URL of the App
  • C
    1. Use the Cloud Storage Signed URL feature to generate a POST URL.
  • D
    1. Assign the Cloud Storage WRITER role to users who upload files.

How the community answered

(51 responses)
  • A
    71% (36)
  • B
    4% (2)
  • C
    18% (9)
  • D
    8% (4)

Explanation

Cloud Storage supports this specification by allowing you to configure your buckets to support CORS. Continuing the above example, you can configure the example.storage.googleapis.com bucket so that a browser can share its resources with scripts from example.appspot.com. https://cloud.google.com/storage/docs/cross-origin#server-side-support

Topics

#Cloud Storage#CORS#App Engine#browser uploads

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice