exam questions

Exam Professional Cloud Network Engineer All Questions

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

Exam Professional Cloud Network Engineer topic 1 question 48 discussion

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

You need to give each member of your network operations team least-privilege access to create, modify, and delete Cloud Interconnect VLAN attachments.
What should you do?

  • A. Assign each user the editor role.
  • B. Assign each user the compute.networkAdmin role.
  • C. Give each user the following permissions only: compute.interconnectAttachments.create, compute.interconnectAttachments.get.
  • D. Give each user the following permissions only: compute.interconnectAttachments.create, compute.interconnectAttachments.get, compute.routers.create, compute.routers.get, compute.routers.update.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
jonclem
Highly Voted 4 years, 1 month ago
D is also incorrect. The question requires the "delete" permissions. The compute/networkAdmin role is the only one that offers this ability.
upvoted 22 times
nikiwi
3 years, 11 months ago
you are right, D won't do
upvoted 3 times
...
...
mozammil89
Highly Voted 4 years, 8 months ago
The correct answer is "D", see this link below. Permissions required for creating Interconnect VLAN attachment are following: compute.interconnectAttachments.create compute.interconnectAttachments.get compute.routers.create compute.routers.get compute.routers.update https://cloud.google.com/interconnect/docs/how-to/dedicated/creating-vlan-attachments
upvoted 14 times
sc00by
3 years, 8 months ago
How can you delete the Interconnect VLAN attachments? In that list there are no permissions to modify or delete Interconnect VLAN attachments.
upvoted 2 times
JohnnyBG
3 years, 4 months ago
sc00by is right, it must be B because it has delete permission, see bellow from the console: gcloud iam roles describe roles/compute.networkAdmin | grep inter - compute.interconnectAttachments.create - compute.interconnectAttachments.delete - compute.interconnectAttachments.get - compute.interconnectAttachments.list - compute.interconnectAttachments.setLabels - compute.interconnectAttachments.update - compute.interconnectAttachments.use
upvoted 8 times
...
...
...
d07d3be
Most Recent 2 weeks ago
Selected Answer: D
The correct answer is "D
upvoted 1 times
...
thewalker
7 months, 1 week ago
Selected Answer: D
To give each member of your network operations team least-privilege access to create, modify, and delete Cloud Interconnect VLAN attachments, you should give them the following permissions only: • compute.interconnectAttachments.create • compute.interconnectAttachments.get • compute.routers.create • compute.routers.get • compute.routers.update These permissions are the minimum required to create, modify, and delete Cloud Interconnect VLAN attachments.
upvoted 1 times
thewalker
7 months, 1 week ago
The other options are incorrect because: A. Assign each user the editor role. The editor role gives users too much access. It allows them to perform all actions on all resources in a project. B. Assign each user the compute.networkAdmin role. The compute.networkAdmin role gives users too much access. It allows them to perform all actions on all Compute Engine resources in a project. C. Give each user the following permissions only: compute.interconnectAttachments.create, compute.interconnectAttachments.get. These permissions are not enough to create, modify, and delete Cloud Interconnect VLAN attachments. They only allow users to create and get Cloud Interconnect VLAN attachments.
upvoted 1 times
...
...
dev62
9 months, 2 weeks ago
C : Assigning each user the permissions compute.interconnectAttachments.create and compute.interconnectAttachments.get ensures that they have the necessary privileges to create, modify, and delete Cloud Interconnect VLAN attachments, while limiting their access to only those specific actions. This approach follows the principle of least privilege, granting users only the permissions required for their tasks without providing unnecessary access to other resources.
upvoted 1 times
desertlotus1211
9 months, 2 weeks ago
it lacks permissions for modifying and deleting them
upvoted 1 times
...
...
Kyle1776
1 year, 1 month ago
Selected Answer: C
Answer is C B gives way to many permissions and the question specified "least-privilege"
upvoted 2 times
...
ananta93
1 year, 3 months ago
Selected Answer: B
Correct answer is B. Assign each user the compute.networkAdmin role. (The question requires the "delete" permissions)
upvoted 1 times
...
Komal697
1 year, 8 months ago
Selected Answer: C
Option C is the correct answer. Explanation: To provide least-privilege access to create, modify, and delete Cloud Interconnect VLAN attachments, you should give each user the minimum set of permissions required to perform these actions. The compute.interconnectAttachments.create and compute.interconnectAttachments.get permissions are required to create, modify, and delete VLAN attachments. Option A (editor role) grants too many permissions, including permissions to modify IAM policies and billing settings. Option B (compute.networkAdmin role) grants permissions to create and manage networks, subnets, routes, VPNs, and firewalls, in addition to Cloud Interconnect VLAN attachments. Option D grants too many permissions, including permissions to create and modify routers, which are not required to manage VLAN attachments.
upvoted 2 times
...
pk349
1 year, 10 months ago
B: VLAN attachments (also known as interconnectAttachments) determine which Virtual Private Cloud (VPC) networks can reach your on-premises network through a Dedicated Interconnect connection. You can create VLAN attachments over connections that have passed all tests and are ready to use.
upvoted 1 times
...
AzureDP900
2 years ago
B is right
upvoted 1 times
...
MMEB
2 years, 1 month ago
Answer is B. Compute NetworkAdmin role is the only one that have the “delete” permission.
upvoted 1 times
...
Mr_MIXER007
2 years, 1 month ago
Selected Answer: B
BBBBBBBBBBBBB
upvoted 3 times
...
vladani
2 years, 10 months ago
Selected Answer: B
ans - B
upvoted 2 times
...
kumarp6
2 years, 11 months ago
Answer is : B
upvoted 1 times
...
JesusMariaJose
3 years ago
Selected Answer: B
B - compute.networkAdmin had access to create, modify and delete vlans as you can see on link below: compute.interconnectAttachments.* https://cloud.google.com/compute/docs/access/iam#compute.networkAdmin
upvoted 4 times
...
JesusMariaJose
3 years ago
B is correct roles/compute.networkAdmin already has the permission to create, modify and delete vlan attachments.
upvoted 1 times
...
seddy
3 years, 6 months ago
B is the answer
upvoted 7 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 ...