exam questions

Exam Professional Cloud Security Engineer All Questions

View all questions & answers for the Professional Cloud Security Engineer exam

Exam Professional Cloud Security Engineer topic 1 question 82 discussion

Actual exam question from Google's Professional Cloud Security Engineer
Question #: 82
Topic #: 1
[All Professional Cloud Security Engineer Questions]

A customer wants to run a batch processing system on VMs and store the output files in a Cloud Storage bucket. The networking and security teams have decided that no VMs may reach the public internet.
How should this be accomplished?

  • A. Create a firewall rule to block internet traffic from the VM.
  • B. Provision a NAT Gateway to access the Cloud Storage API endpoint.
  • C. Enable Private Google Access.
  • D. Mount a Cloud Storage bucket as a local filesystem on every VM.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
tanfromvn
Highly Voted 3 years, 4 months ago
C-there is no traffic to outside internet
upvoted 15 times
mynk29
2 years, 8 months ago
Private google access is enabled at subnet level not at VPC level.
upvoted 1 times
...
...
nilopo
Highly Voted 2 years, 1 month ago
Selected Answer: C
The ask is to store the output files in a Cloud storage bucket. "The networking and security teams have decided that no VMs may reach the public internet" - No VMs MAY reach public internet but not 'MUST'. Hence 'C' is the answer
upvoted 7 times
...
desertlotus1211
Most Recent 8 months, 2 weeks ago
What if the VM is on-premise? The question never said it was in GCP? Would the answer not be 'B'?
upvoted 1 times
...
Portugapt
9 months, 1 week ago
Selected Answer: C
What should be accomplished is the access to GCS, knowing VMs cannot access the public network. So, Private Google Access accomplishes it.
upvoted 1 times
...
desertlotus1211
10 months ago
The answer is A.... With GPA enabled, VMs can still reach the Internet. Accessing the backend storage is ther to throw you off of what is being asked - and that's NO VMs may reach the Internet... Answer is A
upvoted 1 times
...
[Removed]
10 months, 2 weeks ago
Selected Answer: C
C private google access allows access to google services without internet connection
upvoted 2 times
...
Xoxoo
1 year, 1 month ago
Selected Answer: C
To ensure that VMs can access Cloud Storage without reaching the public internet, you should: C. Enable Private Google Access. Enabling Private Google Access allows VMs with only internal IP addresses in a VPC network to access Google Cloud services like Cloud Storage without needing external IP addresses or going through the public internet.
upvoted 2 times
Xoxoo
1 year, 1 month ago
Option B, provisioning a NAT Gateway, would enable VMs to access the public internet, which is not in line with the requirement of not allowing VMs to reach the public internet. Options A and D are not suitable for the specific requirement of accessing Cloud Storage while preventing VMs from reaching the public internet.
upvoted 1 times
...
...
blacortik
1 year, 2 months ago
Selected Answer: B
B. Provision a NAT Gateway to access the Cloud Storage API endpoint. Explanation: To ensure that VMs can't reach the public internet but can still access Google Cloud services like Cloud Storage, you can use a Network Address Translation (NAT) Gateway. NAT Gateway allows instances in a private subnet to initiate outbound connections to the internet while masking their actual internal IP addresses. This way, the VMs can access the Cloud Storage API endpoint without directly connecting to the public internet.
upvoted 2 times
...
[Removed]
1 year, 3 months ago
Selected Answer: C
"C" The question is not worded well. If you replace "..has decided.." with "..has enforced.." then the meat of the question becomes how to achieve the first part of the requirement which is reaching cloud storage without public access, which is through private google access. Reference: https://cloud.google.com/vpc/docs/private-google-access
upvoted 3 times
desertlotus1211
1 year, 2 months ago
This has no effect and is meaningless if the VM has an external IP... You need to read the document: 'Private Google Access has no effect on instances that have external IP addresses. Instances with external IP addresses can access the internet, according to the internet access requirements'... No where in the question say the VMs has or hasn't have an ext. IP. Correct Answer is A
upvoted 1 times
...
...
gcpengineer
1 year, 5 months ago
Selected Answer: A
I think A is correct
upvoted 1 times
...
gcpengineer
1 year, 5 months ago
Selected Answer: B
B is the ans, as nat is needed to reach the cloud storage
upvoted 1 times
gcpengineer
1 year, 5 months ago
I think A is correct
upvoted 1 times
...
...
Lyfedge
1 year, 7 months ago
The question says "The networking and security teams have decided that no VMs may reach the public internet"y A
upvoted 1 times
gcpengineer
1 year, 5 months ago
How are u suppose to access cloud storage?
upvoted 1 times
desertlotus1211
10 months ago
that not what they asked... they asked 'The networking and security teams have decided that no VMs may reach the public internet'.... so what do you do?
upvoted 1 times
...
...
...
Meyucho
1 year, 10 months ago
C!!!! This example is just the exact and only meaning for have PGA!!!
upvoted 1 times
...
TonytheTiger
1 year, 11 months ago
Answer C: Here is why; the VM need to access google service i.e. "Cloud Storage Bucket". Google doc states: Private Google Access permits access to Google APIs and services in Google's production infrastructure https://cloud.google.com/vpc/docs/private-google-access Everyone is reading the question as limited access to public internet but is missing the 2nd part of the question, which is access a google services. ONLY enable Private Google Access will fulfil the requirement.
upvoted 2 times
...
Littleivy
1 year, 11 months ago
Selected Answer: C
C is the answer
upvoted 1 times
...
rotorclear
2 years ago
Selected Answer: C
The ask is to access cloud storage while doing the batch processing not how to block the internet. Overall it’s a poor choice of words in the question attempting to confuse than check knowledge
upvoted 1 times
AzureDP900
1 year, 12 months ago
C is right
upvoted 1 times
...
...
AwesomeGCP
2 years ago
C. Enable Private Google Access on the VPC.
upvoted 1 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