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?
Click on the arrows to vote for the correct answer
A. B. C. D.B.
The correct answer for this question is B. Have users upload the images to Cloud Storage using a signed URL that expires after 24 hours.
Explanation:
Cloud ML Engine is a platform for building, training, and deploying machine learning models. In this scenario, an application has been developed on Cloud ML Engine that recognizes famous paintings from uploaded images. The next step is to test the application and allow specific people to upload images for the next 24 hours.
Option A, which suggests protecting the Cloud Storage bucket with a password that expires after 24 hours, is not recommended because it can be complex to implement, and password-based security is not the recommended approach to securing access to Google Cloud resources.
Option C suggests creating an App Engine web application where users can upload images, and configuring App Engine to disable the application after 24 hours. While this is a valid approach, it can be complex to implement, and requires authentication via Cloud Identity, which can be a challenge for users who do not have a Google Account.
Option D suggests creating an App Engine web application where users can upload images for the next 24 hours, and authenticating users via Cloud Identity. This option is valid, but it can be complex to implement, and requires authentication via Cloud Identity, which can be a challenge for users who do not have a Google Account.
Option B suggests having users upload the images to Cloud Storage using a signed URL that expires after 24 hours. This is the recommended approach because it is simple to implement, and it allows users to upload images without requiring authentication. A signed URL is a URL that is signed with a private key and has an expiration time. This URL can be used by anyone who has the URL, but only during the period of time when it is valid. This approach provides a secure way for users to upload images for testing the application.
Therefore, Option B is the correct answer.