nerdexam
Google

PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #48

Your team creates an ingress firewall rule to allow SSH access from their corporate IP range to a specific bastion host on Compute Engine. Your team wants to make sure that this firewall rule cannot…

The correct answer is B. Create the firewall rule with a target of a service account. Centrally manage access to the service. A is not correct because the network tag value can be inferred by examining the Firewall Rule or B is correct because access to the Service Account is required to use a firewall rule with a target of a Service Account. C is not correct because the target network tag value can…

Submitted by klara.se· Apr 18, 2026Configuring network security

Question

Your team creates an ingress firewall rule to allow SSH access from their corporate IP range to a specific bastion host on Compute Engine. Your team wants to make sure that this firewall rule cannot be used by unauthorized engineers who may otherwise have access to manage VMs in the development environment. What should your team do to meet this requirement?

Options

  • ACreate the firewall rule with a target of a network tag. Centrally manage access to the tag.
  • BCreate the firewall rule with a target of a service account. Centrally manage access to the service
  • CCreate the firewall rule in a Shared VPC with a target of a network tag.
  • DCreate the firewall rule in a Shared VPC with a target of a specific subnet.

How the community answered

(34 responses)
  • A
    12% (4)
  • B
    62% (21)
  • C
    6% (2)
  • D
    21% (7)

Explanation

A is not correct because the network tag value can be inferred by examining the Firewall Rule or B is correct because access to the Service Account is required to use a firewall rule with a target of a Service Account. C is not correct because the target network tag value can be inferred by examining the Firewall Rule or VM metadata. D is not correct because the target subnet value can be inferred by examining the Firewall Rule https://cloud.google.com/vpc/docs/firewalls#service-accounts-vs-tags

Topics

#Firewall Rules#Service Accounts#IAM#Compute Engine

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-SECURITY-ENGINEER Practice