ASSOCIATE-CLOUD-ENGINEER · Question #349
You have files in a Cloud Storage bucket that you need to share with your suppliers. You want to restrict the time that the files are available to your suppliers to 1 hour. You want to follow Google…
The correct answer is B. Create a service account with just the permissions to access files in the bucket. Create a JSON. This command correctly specifies the duration that the signed url should be valid for by using the -d flag. The default is 1 hour so omitting the -d flag would have also resulted in the same outcome. Times may be specified with no suffix (default hours), or with s = seconds, m…
Question
Options
- ACreate a service account with just the permissions to access files in the bucket. Create a JSON
- BCreate a service account with just the permissions to access files in the bucket. Create a JSON
- CCreate a service account with just the permissions to access files in the bucket. Create a JSON
- DCreate a JSON key for the Default Compute Engine Service Account. Execute the command
How the community answered
(43 responses)- A12% (5)
- B79% (34)
- C2% (1)
- D7% (3)
Explanation
This command correctly specifies the duration that the signed url should be valid for by using the -d flag. The default is 1 hour so omitting the -d flag would have also resulted in the same outcome. Times may be specified with no suffix (default hours), or with s = seconds, m = minutes, h = hours, d = days. The max duration allowed is 7d.
Topics
Community Discussion
No community discussion yet for this question.