Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam with flashcards and multiple choice questions. Each question includes hints and explanations to help you study effectively. Get ready to pass your certification exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


You're trying to provide temporary access to some files in a Cloud Storage bucket. You want to limit the time that the files are available to 10 minutes. With the fewest steps possible, what is the best way to generate a signed URL?

  1. A. In the UI select the objects and click the Generate Signed URL button.

  2. B. Create a service account and JSON key. Use the gsutil signurl -t 10m command and pass in the JSON key and bucket.

  3. C. In the UI select the objects and click the "Sign With Key" button.

  4. D. Create a service account and JSON key. Use the gsutil signurl -d 10m command and pass in the JSON key and bucket.

The correct answer is: D. Create a service account and JSON key. Use the gsutil signurl -d 10m command and pass in the JSON key and bucket.

Option A is incorrect because it does not mention a specific time limit for the signed URL. Option B is incorrect because it suggests using the "gsutil signurl" command with a time limit of 10 minutes, while the correct command is "gsutil signurl -d 10m" where "d" stands for "duration". Option C is incorrect because it does not mention a JSON key, which is required to generate a signed URL. So the best and shortest way to generate a signed URL with a 10-minute time limit is to use the "gsutil signurl -d 10m" command with a service account and JSON key. This command will generate a signed URL that will expire after 10 minutes.