Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 58 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 58
Topic #: 1
[All Professional Cloud Architect Questions]

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?

  • A. Have users upload the images to Cloud Storage. Protect the bucket with a password that expires after 24 hours.
  • B. Have users upload the images to Cloud Storage using a signed URL that expires after 24 hours.
  • C. 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.
  • D. Create an App Engine web application where users can upload images for the next 24 hours. Authenticate users via Cloud Identity.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
jcmoranp
Highly Voted 5 years, 1 month ago
Correct answer is B
upvoted 44 times
tartar
4 years, 3 months ago
B is ok
upvoted 8 times
...
kumarp6
4 years ago
Signed URL ... B is correct
upvoted 3 times
...
nitinz
3 years, 8 months ago
B signed URL
upvoted 3 times
...
...
MyPractice
Highly Voted 4 years, 10 months ago
Ans 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
upvoted 27 times
...
sim7243
Most Recent 1 week, 5 days ago
Selected Answer: B
Correct answer is B
upvoted 1 times
...
gun123
10 months, 3 weeks ago
Selected Answer: B
Correct answer is B
upvoted 1 times
...
red_panda
1 year, 4 months ago
Selected Answer: B
B is the answer
upvoted 1 times
...
fussili
1 year, 8 months ago
The correct answer is B. A is not a good choice because it is not possible to set an expiration time for a password protected Cloud Storage bucket. This means that if a user had the password, they would be able to upload images to the bucket even after the 24 hour period has expired. B is the correct answer because a signed URL can be generated to allow specific users to upload images to Cloud Storage without requiring them to have a Google Account. The URL can be set to expire after 24 hours, which ensures that users can only upload images during the allowed time period. C is not the best choice because it involves creating an App Engine web application, which is more complex than using Cloud Storage with a signed URL. Additionally, App Engine instances cannot be turned off programmatically, so it would not be possible to disable the application after 24 hours. D option is similar to option C, but it involves creating an App Engine web application. This would add unnecessary complexity to the solution, and it would not provide any additional benefits compared to using Cloud Storage with a signed URL.
upvoted 3 times
...
omermahgoub
1 year, 11 months ago
The correct answer is B: Have users upload the images to Cloud Storage using a signed URL that expires after 24 hours. To allow specific users to upload images to Cloud Storage for testing your Cloud ML Engine application, and to not require all users to have a Google Account, you should use signed URLs. A signed URL is a URL that allows access to a specific resource in Cloud Storage, and that is only valid for a specified period of time. To create a signed URL that expires after 24 hours, you can use the gsutil signurl command. For example: Copy code gsutil signurl -d 24h service-account.json gs://bucket-name/object-name This will generate a signed URL that allows users to upload an object to the specified bucket with the specified name, and that will only be valid for 24 hours.
upvoted 3 times
omermahgoub
1 year, 11 months ago
Option A: Protecting the bucket with a password that expires after 24 hours would not be a secure or scalable solution, as it would require you to distribute the password to all users and to update the password every 24 hours. Option C: Creating an App Engine web application where users can upload images, and configuring App Engine to disable the application after 24 hours, would not allow users to upload images after the application is disabled. Option D: Creating an App Engine web application where users can upload images for the next 24 hours and authenticating users via Cloud Identity would not allow users to upload images if they do not have a Google Account.
upvoted 1 times
...
...
megumin
2 years ago
Selected Answer: B
B is ok
upvoted 1 times
...
AzureDP900
2 years, 1 month ago
B is right, Signed URL's will help in this scnerio.
upvoted 1 times
...
minmin2020
2 years, 1 month ago
Selected Answer: B
B. Have users upload the images to Cloud Storage using a signed URL that expires after 24 hours.
upvoted 1 times
...
mv2000
2 years, 4 months ago
On 06/30/2022 Exam.
upvoted 2 times
...
mygcpjourney2712
2 years, 7 months ago
Selected Answer: B
signed url
upvoted 1 times
...
vincy2202
2 years, 11 months ago
B is the correct answer
upvoted 2 times
...
haroldbenites
2 years, 11 months ago
Go for B.
upvoted 1 times
...
MaxNRG
3 years ago
B – Have users upload the images to Cloud Storage via signed URL which expires after 24 hours. Signed URL is a preferable way to allow something with limited timeframe, doesn't require the account
upvoted 1 times
...
[Removed]
3 years, 1 month ago
B is right. Signed URL are best for users for short term access.
upvoted 1 times
...
MamthaSJ
3 years, 4 months ago
Answer is B
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...