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://
Question
Options
- A
- Set a CORS configuration in the target Cloud Storage bucket where the base URL of the App
- B
- Set a CORS configuration in the target Cloud Storage bucket where the base URL of the App
- C
- Use the Cloud Storage Signed URL feature to generate a POST URL.
- D
- Assign the Cloud Storage WRITER role to users who upload files.
How the community answered
(51 responses)- A71% (36)
- B4% (2)
- C18% (9)
- D8% (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
Community Discussion
No community discussion yet for this question.