Professional Cloud Architect Exam QuestionsBrowse all questions from this exam

Professional Cloud Architect Exam - Question 205


For this question, refer to the Helicopter Racing League (HRL) case study. Recently HRL started a new regional racing league in Cape Town, South Africa. In an effort to give customers in Cape Town a better user experience, HRL has partnered with the Content Delivery Network provider, Fastly. HRL needs to allow traffic coming from all of the Fastly IP address ranges into their Virtual Private Cloud network (VPC network). You are a member of the HRL security team and you need to configure the update that will allow only the Fastly IP address ranges through the External HTTP(S) load balancer. Which command should you use?

A.

B.

C.

D.

Show Answer
Correct Answer:

To allow traffic coming from all of the Fastly IP address ranges through the External HTTP(S) load balancer, you should use a security policy managed by Google Cloud Armor. The correct command should include the evaluation of the preconfigured expression to match the source IP addresses of Fastly. Here is the correct command: gcloud compute security-policies rules update 1000 --security-policy hlr-policy --expression "evaluatePreconfiguredExpr('sourceiplist-fastly')" --action "allow". This command ensures that only the specified IP ranges from Fastly are allowed through the load balancer.

Discussion

17 comments
Sign in to comment
technodev
Jan 19, 2022

Got this question in my exam, answered D

elrizos
Apr 7, 2022

Is D: In the GCP doc can see the same example https://cloud.google.com/armor/docs/configure-security-policies#gcloud_11 "gcloud compute security-policies rules create 1000 \ --security-policy my-policy \ --expression "evaluatePreconfiguredExpr('sourceiplist-fastly')" \ --action "allow" "

6b13108
Dec 1, 2023

I can not see the same example in that document and I saw "evaluatePreconfiguredExpr" is for preconfigure WAF rules https://cloud.google.com/armor/docs/rule-tuning

hashi
Mar 20, 2024

I got this question in March 2024. As someone pointed out answers are reworked. Instead of asking for the command, the choices were given in wordings - something like the below. (Not the exact words) A. Create Cloud Armor Security Policy with the source ip ranges. B. Create Cloud Armor Security Policy with the source ip list C. Create firewall rule to allow source ip list D. Create firewall rule to allow source ip range Based on the answers for this question I went with "Create Cloud Armor Security Policy with the source ip list"

ccpmad
Jun 10, 2024

Thank you for the info, but for me, in your question, I would choose D. Firewall rule. Firewalls are designed to efficiently manage network traffic. Allowing IP ranges simplifies administration and enhances performance by handling access from multiple IP addresses effectively.

Chandankm
Jun 23, 2024

what's the difference between options A & B, i.e. source IP "ranges" and "list" ? what's the reason for choosing one over another ? I've been through the documentation and these terms are used intermittently.

Chandankm
Jun 29, 2024

If the question really makes a distinction between ranges and lists as specified above, I'm quite disappointed with Google. It looks like they're more interested in throwing the examinee off-balance by confusing them with useless jargon rather than evaluating the actual skills.

BeCalm
Mar 13, 2023

Why is no vote being allowed on this question?

rr4444
Mar 13, 2023

D, def not A D is shown at https://cloud.google.com/armor/docs/configure-security-policies#use-console-gcloud

BiddlyBdoyng
Jun 17, 2023

A. Looks like it opens to all IPs B. Incorrect syntax "ACTION must be one of: allow, deny, goto_next." C. Incorrect syntax "ACTION must be one of: allow, deny, goto_next." D. Assuming the preconfigured expression is good then its right.

didek1986
Sep 22, 2023

D for sure

odacir
Nov 19, 2023

D -> https://cloud.google.com/armor/docs/configure-security-policies#create-rules

LaxmanTiwari
May 31, 2023

answer is D

MahAli
Dec 12, 2023

I guess D

gun123
Jan 10, 2024

D is the ans

didek1986
Jan 20, 2024

D d d d

Pime13
Jan 29, 2024

D is the solution

d0094d6
Feb 2, 2024

should be D

VidhyaBupesh
Feb 21, 2024

D is right

dija123
Apr 22, 2024

Totally agree with D

researched_answer_boi
Apr 28, 2024

(D), or "Create Cloud Armor Security Policy with the source ip list" (considering @hashi's comment) looks correct. https://codelabs.developers.google.com/codelabs/cloud-cloudarmor#0