Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 33 discussion

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

Your organization has a 3-tier web application deployed in the same network on Google Cloud Platform. Each tier (web, API, and database) scales independently of the others. Network traffic should flow through the web to the API tier and then on to the database tier. Traffic should not flow between the web and the database tier.
How should you configure the network?

  • A. Add each tier to a different subnetwork
  • B. Set up software based firewalls on individual VMs
  • C. Add tags to each tier and set up routes to allow the desired traffic flow
  • D. Add tags to each tier and set up firewall rules to allow the desired traffic flow
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
shandy
Highly Voted 4 years, 12 months ago
D. refer to target filtering. https://cloud.google.com/solutions/best-practices-vpc-design
upvoted 36 times
tartar
4 years, 3 months ago
D is ok
upvoted 8 times
...
pepYash
4 years ago
Thank you for the link. Precisely: https://cloud.google.com/solutions/best-practices-vpc-design#target_filtering
upvoted 8 times
[Removed]
1 year, 10 months ago
perfect! the example in that section is the exact question statement
upvoted 2 times
...
...
nitinz
3 years, 8 months ago
D, firewalls can be done on ip or network tags or service accounts in GCE.
upvoted 4 times
...
AzureDP900
2 years, 1 month ago
D is right
upvoted 1 times
...
...
amxexam
Highly Voted 3 years, 2 months ago
Let's go with option elimination A. Add each tier to a different subnetwork >> Adding tiers to different subnets does not prevent or block them from accessing each other. Until specific firewall rules on VM or subnet allow access traffic on a specific port in the rule. B. Set up software-based firewalls on individual VMs >> Not a recommended practice will have to enable firewall anyway. C. Add tags to each tier and set up routes to allow the desired traffic flow >> Can be done but. D. Add tags to each tier and set up firewall rules to allow the desired traffic flow >> Recommended way Hence D
upvoted 11 times
...
Ekramy_Elnaggar
Most Recent 2 days, 19 hours ago
Selected Answer: D
1. Firewall rules for security: Firewall rules provide the most granular and robust control over network traffic. By using tags to identify instances in each tier (web, API, database), you can create firewall rules that explicitly allow or deny traffic between these tiers. 2. Controlling traffic flow: You can create rules that: - Allow traffic from the web tier to the API tier. - Allow traffic from the API tier to the database tier. - Explicitly deny traffic between the web and database tiers. 3. Scalability and Flexibility: This approach works well even when your tiers scale independently. As new instances are added, they inherit the tags and automatically adhere to the defined firewall rules.
upvoted 1 times
...
ddatta
1 month ago
D is correct
upvoted 1 times
...
lisabisa
9 months ago
Selected Answer: D
Routes are typically used for directing traffic between networks rather than within the same network. While tags can be used for identifying resources, they are typically used in conjunction with firewall rules for controlling traffic flow.
upvoted 1 times
...
AdityaGupta
1 year, 1 month ago
Selected Answer: D
Why to implement anything else when Firewall is built-in within VPC and works based on Tags associated with resources.
upvoted 1 times
...
heretolearnazure
1 year, 3 months ago
separate vnet is ruled out as they are on same network.
upvoted 1 times
...
red_panda
1 year, 5 months ago
Selected Answer: D
For me most suitable answer is D
upvoted 1 times
...
omermahgoub
1 year, 11 months ago
It's D To configure the network so that traffic flows through the web to the API tier and then on to the database tier, but does not flow between the web and the database tier, you can add tags to each tier and set up firewall rules to allow the desired traffic flow. By adding tags to each tier, you can identify the VMs that belong to each tier and create firewall rules that allow traffic between the tiers as needed. For example, you can create a firewall rule that allows traffic from the web tier to the API tier, and another rule that allows traffic from the API tier to the database tier. This will ensure that traffic flows through the desired path and is not allowed between the web and database tiers. Other options, such as adding each tier to a different subnetwork or setting up software-based firewalls on individual VMs, may not provide the necessary level of control over the traffic flow between the tiers. Setting up routes to allow the desired traffic flow may not be sufficient to prevent traffic between the web and database tiers.
upvoted 5 times
...
megumin
2 years ago
Selected Answer: D
D is ok
upvoted 1 times
...
Mahmoud_E
2 years, 1 month ago
Selected Answer: D
D is right answer
upvoted 1 times
...
minmin2020
2 years, 1 month ago
Selected Answer: D
Having 3-tier web application deployed in the same network is wrong to begin with. However, even in different subnets you will need to apply firewall rules to prevent traffic between selected subnets. In this case they will probably be better of with D.
upvoted 1 times
zr79
2 years, 1 month ago
Did this appear in the exam?
upvoted 1 times
...
...
holerina
2 years, 2 months ago
use firewall rules
upvoted 1 times
...
amxexam
2 years, 6 months ago
Selected Answer: D
A per my comment below .
upvoted 1 times
...
vincy2202
2 years, 11 months ago
D is the correct answer
upvoted 3 times
...
haroldbenites
2 years, 11 months ago
Go for D
upvoted 2 times
...
unnikrisb
3 years, 1 month ago
From Google practice exam question : D is correct because as instances scale, they will all have the same tag to identify the tier. These tags can then be leveraged in firewall rules to allow and restrict traffic as required, because tags can be used for both the target and source. https://cloud.google.com/vpc/docs/using-vpc https://cloud.google.com/vpc/docs/routes https://cloud.google.com/vpc/docs/add-remove-network-tags
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 ...