exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 118 discussion

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

You are developing an application that will allow clients to download a file from your website for a specific period of time. How should you design the application to complete this task while following Google-recommended best practices?

  • A. Configure the application to send the file to the client as an email attachment.
  • B. Generate and assign a Cloud Storage-signed URL for the file. Make the URL available for the client to download.
  • C. Create a temporary Cloud Storage bucket with time expiration specified, and give download permissions to the bucket. Copy the file, and send it to the client.
  • D. Generate the HTTP cookies with time expiration specified. If the time is valid, copy the file from the Cloud Storage bucket, and make the file available for the client to download.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Blueocean
Highly Voted 2 years, 9 months ago
Agree with Option B
upvoted 7 times
...
scaenruy
Highly Voted 2 years, 9 months ago
Yes, I vote B
upvoted 5 times
...
alpha_canary
Most Recent 6 months, 1 week ago
Selected Answer: B
https://cloud.google.com/storage/docs/access-control/signed-urls#:~:text=X%2DGoog%2DDate%3A%20The,604800%20seconds%20(7%20days)
upvoted 1 times
...
__rajan__
1 year, 1 month ago
Selected Answer: B
B is correct.
upvoted 1 times
...
omermahgoub
1 year, 9 months ago
Selected Answer: B
B. Generate and assign a Cloud Storage-signed URL for the file. Make the URL available for the client to download. The best approach is to use a Cloud Storage signed URL, which allows you to give time-limited read access to a specific file in your bucket. Once the URL is generated, it can be shared with the client to download the file. This approach provides an easy way to control access to your files, and allows you to revoke access at any time by simply invalidating the URL. It also ensures that the file is stored and served securely via Cloud Storage and is durable, highly available and performant way to serve files.
upvoted 2 times
...
zellck
1 year, 10 months ago
Selected Answer: B
B is the answer. https://cloud.google.com/storage/docs/access-control/signed-urls 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.
upvoted 1 times
...
tomato123
2 years, 2 months ago
Selected Answer: B
B is correct
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago