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?
Choose an answer
Tap an option to check your answer.
Correct answer: Have users upload the images to Cloud Storage using a signed URL that expires after 24 hours..
Why this is the answer
The correct answer is to use a signed URL. Signed URLs grant temporary, time-limited access to a specific Cloud Storage object to anyone who possesses the URL, without requiring a Google Account. This directly addresses the requirement for non-Google Account users and the 24-hour time limit. Uploading to Cloud Storage with a password that expires is not a standard or secure method for Cloud Storage access. Cloud Storage buckets are secured via IAM policies, not passwords. Creating an App Engine application is an unnecessary overhead for a temporary image upload task. While it could handle uploads, it introduces complexity and cost that a signed URL avoids. Furthermore, authenticating via Cloud Identity would require users to have Google Accounts, which contradicts the problem statement.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed