PCNE Exam: Updating Firewall Rules in Shared VPC - Permissions Guide

The Level of Permissions Required to Modify Firewall Rules in a Shared VPC

Question

You are trying to update firewall rules in a shared VPC for which you have been assigned only Network Admin permissions.

You cannot modify the firewall rules.

Your organization requires using the least privilege necessary.

Which level of permissions should you request?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

https://cloud.google.com/vpc/docs/shared-vpc

In this scenario, you are trying to update firewall rules in a shared VPC for which you have been assigned only Network Admin permissions. Since you cannot modify the firewall rules, you need to request additional permissions to accomplish the task. However, you should also consider the principle of least privilege, which means you should only request the minimum level of access necessary to complete the task at hand.

Option A suggests requesting Security Admin privileges from the Shared VPC Admin. Security Admins have the ability to create and manage firewall rules, so this level of access would be sufficient to accomplish the task. However, this level of access may not align with the principle of least privilege, as Security Admins have a wider range of capabilities than necessary for updating firewall rules.

Option B suggests requesting Service Project Admin privileges from the Shared VPC Admin. Service Project Admins have the ability to manage resources within their service project, including creating firewall rules. This level of access would also be sufficient to accomplish the task and is more in line with the principle of least privilege, as it limits access to only the necessary resources.

Option C suggests requesting Shared VPC Admin privileges from the Organization Admin. Shared VPC Admins have the ability to manage shared VPC resources, including creating and modifying firewall rules. This level of access is broader than necessary for updating firewall rules and would not align with the principle of least privilege.

Option D suggests requesting Organization Admin privileges from the Organization Admin. Organization Admins have full access to all resources within the organization, including shared VPCs. However, this level of access is far broader than necessary for updating firewall rules and would not align with the principle of least privilege.

In summary, the most appropriate level of permissions to request in this scenario is Service Project Admin privileges from the Shared VPC Admin. This level of access allows you to manage resources within the service project, including creating and modifying firewall rules, while limiting access to only the necessary resources.