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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Professional Cloud Architect topic 1 question 65 discussion

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

You need to upload files from your on-premises environment to Cloud Storage. You want the files to be encrypted on Cloud Storage using customer-supplied encryption keys. What should you do?

  • A. Supply the encryption key in a .boto configuration file. Use gsutil to upload the files.
  • B. Supply the encryption key using gcloud config. Use gsutil to upload the files to that bucket.
  • C. Use gsutil to upload the files, and use the flag --encryption-key to supply the encryption key.
  • D. Use gsutil to create a bucket, and use the flag --encryption-key to supply the encryption key. Use gsutil to upload the files to that bucket.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
KouShikyou
Highly Voted 4 years, 6 months ago
In GCP document, key could be configured in .boto. I didn't find information show gsutil suppots flag "--encryption-key". https://cloud.google.com/storage/docs/encryption/customer-supplied-keys
upvoted 44 times
tartar
3 years, 9 months ago
A is ok
upvoted 16 times
...
nitinz
3 years, 2 months ago
A is correct
upvoted 4 times
...
kumarp6
3 years, 6 months ago
.boto file with encryption key, but it will works for individual users, every user should update their own .boto with same key. Also while retrieving you should use the same key to decryption.
upvoted 3 times
...
...
Eroc
Highly Voted 4 years, 6 months ago
I agree, A.(https://cloud.google.com/storage/docs/gsutil/addlhelp/UsingEncryptionKeys#generating-customer-supplied-encryption-keys)
upvoted 18 times
...
0verK0alafied
Most Recent 1 week, 5 days ago
Selected Answer: C
https://cloud.google.com/storage/docs/encryption/using-customer-supplied-keys#upload-encrypt
upvoted 1 times
...
netizens
2 months, 3 weeks ago
C - https://cloud.google.com/storage/docs/encryption/using-customer-supplied-keys#console
upvoted 2 times
...
kip21
3 months, 3 weeks ago
D - Correct gsutil mb -k < Key > gs://xx gsutil -m cp -r xx gs://xx
upvoted 1 times
...
pkmdb66
5 months ago
Selected Answer: A
A is ok
upvoted 1 times
...
Gungarg
5 months, 2 weeks ago
C - Answer gcloud storage cp SOURCE_DATA gs://BUCKET_NAME/OBJECT_NAME --encryption-key=YOUR_ENCRYPTION_KEY
upvoted 1 times
Pime13
3 months ago
gcloud storage is not gsutil.
upvoted 2 times
...
...
elequiel
5 months, 2 weeks ago
Selected Answer: C
https://cloud.google.com/storage/docs/encryption/using-customer-supplied-keys#upload-encrypt this flag exist now
upvoted 3 times
Mosstheboss
5 months, 1 week ago
No, its wrong because the flag is for gcloud and not gsutil ... https://cloud.google.com/storage/docs/encryption/using-customer-supplied-keys#gcloud
upvoted 5 times
...
...
spatters
6 months ago
A is correct. C is a trick. The --encryption-key flag only works with gcloud command, not with gsutil https://cloud.google.com/storage/docs/encryption/using-customer-supplied-keys#gcloud
upvoted 4 times
...
jrisl1991
6 months, 2 weeks ago
Selected Answer: A
Take into account that by the time this exam was designed, gcloud storage was most likely still not available or just in beta. The "--encryption-key" flag is meant to be used with gcloud, not with gsutil; having said this, if in the actual exam the option says gcloud storage, go for C. If it says gsutil, go for A, as gsutil does not have any "--encryption-key" flag and this question was probably intended to be tricky when it was crafted. Btw, the official documentation states that gcloud storage should be used with that flag, and for gsutil we should add the encryption key to the .boto file - https://cloud.google.com/storage/docs/encryption/using-customer-supplied-keys#gsutil. Again, the questions are probably old and gcloud storage is relatively new.
upvoted 4 times
...
sam_test_89
6 months, 3 weeks ago
Selected Answer: A
https://cloud.google.com/storage/docs/encryption/using-customer-supplied-keys#command-line ; clearly states for gsutil you need a boto config, that makes C invalid
upvoted 1 times
...
AdityaGupta
7 months ago
Selected Answer: A
.boto file should be used to supply key
upvoted 2 times
...
RKS_2021
7 months, 1 week ago
A is the correct ans.
upvoted 1 times
...
Murtuza
7 months, 1 week ago
The gcloud and gsutil CLIs BOTH support the use of customer-supplied encryption keys so do not decide what the right answer is based on the commands
upvoted 1 times
...
RKS_2021
7 months, 1 week ago
A is the correct answer. .boto
upvoted 1 times
...
ductrinh
7 months, 1 week ago
Selected Answer: A
gcloud storage cp SOURCE_DATA gs://BUCKET_NAME/OBJECT_NAME --encryption-key=YOUR_ENCRYPTION_KEY c is wrong b/c of gsutil
upvoted 2 times
...
sheucm89
7 months, 2 weeks ago
Hey man! The answer is A. "--encryption-key" is the flag for "gcloud storage cp" command only, not for gsutil. https://cloud.google.com/storage/docs/encryption/using-customer-supplied-keys#gsutil
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 ...