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, 6 months ago
D is also incorrect. The question requires the "delete" permissions. The compute/networkAdmin role is the only one that offers this ability.
upvoted 23 times
nikiwi
4 years, 4 months ago
you are right, D won't do
upvoted 3 times
...
...
mozammil89
Highly Voted 5 years, 1 month 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
4 years, 1 month 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, 9 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
...
...
...
saraali
Most Recent 2 months, 2 weeks ago
Selected Answer: B
Editor has broader permissions compared to compute.networkAdmin because Editor can access and modify resources across the entire project, not just networking-related resources. compute.networkAdmin is restricted to network management tasks only.
upvoted 2 times
...
ian_gcpca
4 months ago
Selected Answer: D
closest is D, though it lacks the compute.interconnectAttachments.delete permission. but the rest of the permissions adhere to the questions requirement which is provide least privilege only to manage VLAN. Providing network admin would be too broad of a permission and does not adhere to the questions requirement of Least Priv
upvoted 1 times
ian_gcpca
3 months, 3 weeks ago
changing my answer to B $ gcloud iam roles describe roles/compute.networkAdmin | grep inter - compute.interconnectAttachments.create - compute.interconnectAttachments.createTagBinding - compute.interconnectAttachments.delete - compute.interconnectAttachments.deleteTagBinding - compute.interconnectAttachments.get - compute.interconnectAttachments.list - compute.interconnectAttachments.listEffectiveTags - compute.interconnectAttachments.listTagBindings - compute.interconnectAttachments.setLabels - compute.interconnectAttachments.update
upvoted 2 times
...
...
d07d3be
5 months, 2 weeks ago
Selected Answer: D
The correct answer is "D
upvoted 1 times
...
thewalker
1 year 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
1 year 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
1 year, 2 months 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
1 year, 2 months ago
it lacks permissions for modifying and deleting them
upvoted 1 times
...
...
Kyle1776
1 year, 6 months 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, 8 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
2 years, 1 month 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
2 years, 3 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, 5 months ago
B is right
upvoted 1 times
...
MMEB
2 years, 6 months ago
Answer is B. Compute NetworkAdmin role is the only one that have the “delete” permission.
upvoted 1 times
...
Mr_MIXER007
2 years, 6 months ago
Selected Answer: B
BBBBBBBBBBBBB
upvoted 3 times
...
vladani
3 years, 3 months ago
Selected Answer: B
ans - B
upvoted 2 times
...
kumarp6
3 years, 3 months ago
Answer is : B
upvoted 1 times
...
JesusMariaJose
3 years, 5 months 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
...
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