exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 91 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 91
Topic #: 1
[All Professional Cloud Architect Questions]

All Compute Engine instances in your VPC should be able to connect to an Active Directory server on specific ports. Any other traffic emerging from your instances is not allowed. You want to enforce this using VPC firewall rules.
How should you configure the firewall rules?

  • A. Create an egress rule with priority 1000 to deny all traffic for all instances. Create another egress rule with priority 100 to allow the Active Directory traffic for all instances.
  • B. Create an egress rule with priority 100 to deny all traffic for all instances. Create another egress rule with priority 1000 to allow the Active Directory traffic for all instances.
  • C. Create an egress rule with priority 1000 to allow the Active Directory traffic. Rely on the implied deny egress rule with priority 100 to block all traffic for all instances.
  • D. Create an egress rule with priority 100 to allow the Active Directory traffic. Rely on the implied deny egress rule with priority 1000 to block all traffic for all instances.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
wk
Highly Voted 5 years ago
Should be A, there is no implied deny egress but only implied allow egress https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules Every VPC network has two implied firewall rules. These rules exist, but are not shown in the Cloud Console: The implied allow egress rule: An egress rule whose action is allow, destination is 0.0.0.0/0, and priority is the lowest possible (65535) lets any instance send traffic to any destination, except for traffic blocked by GCP. Outbound access may be restricted by a higher priority firewall rule. Internet access is allowed if no other firewall rules deny outbound traffic and if the instance has an external IP address or uses a NAT instance. Refer to Internet access requirements for more details. The implied deny ingress rule: An ingress rule whose action is deny, source is 0.0.0.0/0, and priority is the lowest possible (65535) protects all instances by blocking incoming traffic to them. Incoming access may be allowed by a higher priority rule. Note that the default network includes some additional rules that override this one, allowing certain types of incoming traffic.
upvoted 93 times
nitinz
3 years, 7 months ago
It is A, rest all do not make sense. If you think of any other option then go back and read about firewalls. Seriously you are not ready for this exam.
upvoted 2 times
zr79
2 years ago
thank you
upvoted 1 times
...
...
kumarp6
3 years, 12 months ago
B is correct...
upvoted 2 times
...
p4
3 years, 11 months ago
from a book: "Firewall rules control network traffic by blocking or allowing traffic into (ingress) or out of (egress) a network. Two implied firewall rules are defined with VPCs: one blocks all incoming traffic, and the other allows all outgoing traffic. You can change this behavior Virtual Private Clouds 115 116 Chapter 6 ■ Designing Networks by defining firewall rules with higher priority. Firewall rules have a priority specified by an integer from 0 to 65535, with 0 being the highest priority and 65535 being the lowest." so this confirms A
upvoted 13 times
SSS987
9 months, 2 weeks ago
Good summary. To the point!
upvoted 1 times
...
...
...
MeasService
Highly Voted 5 years ago
Agree Correct is A. There is no implied deny egress only deny ingress rule
upvoted 10 times
MyPractice
4 years, 10 months ago
Agree with A . only Implied allow egress rule (or) Implied deny ingress rule. There is No "Implied deny egress rule" which rules out C & D
upvoted 3 times
...
...
ManishKS
Most Recent 1 year, 2 months ago
B. Create an egress rule with priority 100 to deny all traffic for all instances. Create another egress rule with priority 1000 to allow the Active Directory traffic for all instances. This option creates a deny all rule with a lower priority and an allow rule with a higher priority. This option will work as intended, as the Active Directory traffic will be allowed and all other outbound traffic will be blocked.
upvoted 2 times
...
Emmarof
1 year, 7 months ago
The answer to this question is A. Explanation: To enforce the requirement that all Compute Engine instances in your VPC should be able to connect to an Active Directory server on specific ports while blocking any other traffic emerging from instances, the following two egress rules should be created: Create an egress rule with priority 1000 to deny all traffic for all instances. Create another egress rule with priority 100 to allow the Active Directory traffic for all instances. In this configuration, the rule that allows the AD traffic has a lower priority number than the rule that denies all other traffic. Therefore, this rule should be evaluated first.
upvoted 2 times
...
Deb2293
1 year, 7 months ago
Selected Answer: A
It should be A. It cannot be D as The Implied allow egress rule, with its action of “allow”, allows all traffic out to the 0.0. 0.0/0 destination, which basically means everywhere. The priority of the implied allow egress rule is the lowest possible, 65535. The implied deny ingress rule, with an action of “deny”, blocks all incoming connections.
upvoted 1 times
...
8d31d36
1 year, 8 months ago
The correct answer is B. To enforce that all Compute Engine instances in a VPC can connect to an Active Directory server on specific ports while blocking any other traffic, you should create an egress rule with a high priority (lower numerical value) to deny all traffic from all instances, and another egress rule with a lower priority (higher numerical value) to allow traffic to the Active Directory server on the specific ports. Option B creates the necessary egress rules in the correct order: a deny-all rule with a high priority (100), followed by an allow rule for the Active Directory traffic with a lower priority (1000). This way, traffic to the Active Directory server is allowed, but all other traffic is denied.
upvoted 1 times
...
megumin
1 year, 11 months ago
Selected Answer: A
A is ok
upvoted 1 times
...
AzureDP900
2 years ago
It is pretty straight forward question, It this case priority low should be allow and high priority rules deny all requests. A is right
upvoted 2 times
...
DrishaS4
2 years, 2 months ago
Selected Answer: A
https://cloud.google.com/vpc/docs/firewalls#priority_order_for_firewall_rules
upvoted 1 times
...
mv2000
2 years, 3 months ago
06/30/2022 Exam question.
upvoted 6 times
moiradavis
2 years, 3 months ago
Oh, really? I got this question on my exam 2 years ago, I did not expect to repeat this kind of questions in the current exam.
upvoted 1 times
...
...
Baumster
2 years, 8 months ago
OT: why is there no way to mark questions for review/repeat later on?
upvoted 1 times
...
haroldbenites
2 years, 10 months ago
Go for A. While the priority is higher, the egress rule is more restricted. While the priority is higher, the ingress rule is more free.
upvoted 1 times
...
vincy2202
2 years, 11 months ago
Selected Answer: A
A is correct answer
upvoted 1 times
...
vchrist
2 years, 11 months ago
Selected Answer: A
to understand rules priority: https://cloud.google.com/vpc/docs/firewalls#priority_order_for_firewall_rules
upvoted 1 times
...
nqthien041292
2 years, 11 months ago
Selected Answer: A
Vote A
upvoted 1 times
...
MaxNRG
2 years, 12 months ago
A – create an egress rule with priority 1000 to deny all traffic for all instances. Create another egress rule with priority 100 to allow the Active Directory traffic for all instances. Default Firewall rules (aka implied rules) are following: 1) Egress traffic is allowed to all IP/ports. 2) Ingress traffic is disabled completely. Both these rules have lowest priority (65535) and cannot be removed. https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules
upvoted 2 times
...
victory108
3 years, 5 months ago
A. Create an egress rule with priority 1000 to deny all traffic for all instances. Create another egress rule with priority 100 to allow the Active Directory traffic for all instances.
upvoted 2 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