Topic 1 Question 58
You have developed an application using Cloud ML Engine that recognizes famous paintings from uploaded images. You want to test the application and allow specific people to upload images for the next 24 hours. Not all users have a Google Account. How should you have users upload images?
Have users upload the images to Cloud Storage. Protect the bucket with a password that expires after 24 hours.
Have users upload the images to Cloud Storage using a signed URL that expires after 24 hours.
Create an App Engine web application where users can upload images. Configure App Engine to disable the application after 24 hours. Authenticate users via Cloud Identity.
Create an App Engine web application where users can upload images for the next 24 hours. Authenticate users via Cloud Identity.
ユーザの投票
コメント(17)
Correct answer is B
👍 43jcmoranp2019/10/21Ans B "When should you use a signed URL? In some scenarios, you might not want to require your users to have a Google account in order to access Cloud Storage" "Signed URLs contain authentication information in their query string, allowing users without credentials to perform specific actions on a resource" https://cloud.google.com/storage/docs/access-control/signed-urls
👍 22MyPractice2019/12/31Answer B A signed URL is a URL that provides limited permission and time to make a request. Signed URLs contain authentication information in their query string, allowing users without credentials to perform specific actions on a resource. When you generate a signed URL, you specify a user or service account which must have sufficient permission to make the request that the signed URL will make. After you generate a signed URL, anyone who possesses it can use the signed URL to perform specified actions, such as reading an object, within a specified period of time.
When should you use a signed URL? In some scenarios, you might not want to require your users to have a Google account in order to access Cloud Storage, but you still want to control access using your application-specific logic.
👍 4rishab862021/06/07
シャッフルモード