Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 239 discussion

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

You control network traffic for a folder in your Google Cloud environment. Your folder includes multiple projects and Virtual Private Cloud (VPC) networks. You want to enforce on the folder level that egress connections are limited only to IP range 10.58.5.0/24 and only from the VPC network “dev-vpc”. You want to minimize implementation and maintenance effort.

What should you do?

  • A. 1. Leave the network configuration of the VMs in scope unchanged.
    2. Create a new project including a new VPC network “new-vpc”.
    3. Deploy a network appliance in “new-vpc” to filter access requests and only allow egress connections from “dev-vpc” to 10.58.5.0/24.
  • B. 1. Leave the network configuration of the VMs in scope unchanged.
    2. Enable Cloud NAT for “dev-vpc” and restrict the target range in Cloud NAT to 10.58.5.0/24.
  • C. 1. Attach external IP addresses to the VMs in scope.
    2. Define and apply a hierarchical firewall policy on folder level to deny all egress connections and to allow egress to IP range 10.58.5.0/24 from network dev-vpc.
  • D. 1. Attach external IP addresses to the VMs in scope.
    2. Configure a VPC Firewall rule in “dev-vpc” that allows egress connectivity to IP range 10.58.5.0/24 for all source addresses in this network.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Mr_MIXER007
2 months, 2 weeks ago
Selected Answer: C
Cloud NAT is primarily for providing internet access to instances in private subnets. It doesn't offer the granular control needed to restrict egress traffic based on source VPC networks
upvoted 1 times
...
3d9563b
4 months ago
Selected Answer: C
Applying a hierarchical firewall policy at the folder level ensures centralized control of egress traffic across all networks and projects within the folder, minimizing implementation and maintenance efforts while enforcing the required network traffic constraints.
upvoted 1 times
...
pico
6 months, 1 week ago
Selected Answer: B
But I'm not agree 100% with any of them. B & C are the less worst but not the good ones. C is not complain with: on the folder level B is not complain with: minimize implementation and maintenance effort because of the add external ip addresses to the VMs step
upvoted 1 times
...
Bettoxicity
7 months, 3 weeks ago
Selected Answer: C
-Folder-Level Policy: A hierarchical firewall policy applied at the folder level ensures consistent enforcement across all VPC networks within that folder. This simplifies management compared to individual project or VPC configurations. -Deny All Egress with Allow Rule: Setting a "deny all egress" rule as the default policy at the folder level strengthens security by explicitly blocking outbound traffic. A separate rule specifically allows egress to the desired IP range (10.58.5.0/24) from the "dev-vpc" network, meeting your requirements. -No VM Configuration Changes: This approach avoids modifying individual VM network configurations, reducing complexity and potential errors.
upvoted 1 times
...
dija123
8 months, 3 weeks ago
Selected Answer: B
allowing egress to the entire 10.58.5.0/24 network does not make any sense, enabling Cloud NAT for "dev-vpc" with the target range restricted to 10.58.5.0/24 provides a straightforward and efficient way to enforce egress connections on the folder level, meeting your criteria of minimal implementation and maintenance effort.
upvoted 2 times
...
adb4007
9 months, 2 weeks ago
Selected Answer: C
In my opinion the less worth option is C. A is wrong because use an other VPC in other Network cannot help to filter egress access B is wrong for me because NAT doesn't allow us to limit access even NAT is could be make between VPC. D by default all egress connections are allow add a rule make no change for me. in C you make a rule applie on all folder that deny egress by default and allow the source network as expected. I don't understand the fact of add a public ip adress that don't help for me but it is not blocking.
upvoted 1 times
...
b6f53d8
9 months, 3 weeks ago
Selected Answer: B
Why not B ?
upvoted 3 times
b6f53d8
9 months, 3 weeks ago
But mentioned IP range is internal, so why we need External IP ? In my opinion all answers are bad
upvoted 2 times
winston9
9 months, 2 weeks ago
NAT can be used to route internal traffic to other VPCs also. Cloud NAT lets certain resources in Google Cloud create outbound connections to the internet or to other Virtual Private Cloud (VPC) networks. https://cloud.google.com/nat/docs/overview
upvoted 2 times
...
...
...
NaikMN
11 months, 2 weeks ago
Selected Answer: C https://cloud.google.com/firewall/docs/firewall-policies-examples
upvoted 1 times
...
MisterHairy
1 year ago
Selected Answer: C
The correct answer is C. 1. Attach external IP addresses to the VMs in scope. 2. Define and apply a hierarchical firewall policy on folder level to deny all egress connections and to allow egress to IP range 10.58.5.0/24 from network dev-vpc. This approach allows you to control network traffic at the folder level. By attaching external IP addresses to the VMs in scope, you can ensure that the VMs have a unique, routable IP address for outbound connections. Then, by defining and applying a hierarchical firewall policy at the folder level, you can enforce that egress connections are limited to the specified IP range and only from the specified VPC network.
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 ...