Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Security Engineer Exam - Topic 4 Question 6 Discussion

Posted by Jeanice on May 09, 2022 at 12:49 PM

You are on your company's development team. You noticed that your web application hosted in staging on GKE dynamically includes user data in web pages without first properly validating the inputted data. This could allow an attacker to execute gibberish commands and display arbitrary content in a victim user's browser in a production environment.

How should you prevent and fix this vulnerability?

Get Premium Professional Cloud Security Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
LI
Lino 12 months ago
Wait, can an attacker really execute commands like that? Sounds wild!
VI
Vince 1 year ago
I agree, HTTPS and Cloud Armor should be a priority!
SA
Sanjuana 1 year ago
Not sure if Cloud IAP is enough for this kind of vulnerability.
SY
Sylvie 1 year ago
I think using a templating system is the best way to go!
DO
Dorian 1 year ago
Definitely need to validate user input to avoid XSS.
LO
Louann 1 year ago
I feel like the Web Security Scanner is crucial here, especially in staging. We definitely need to simulate those attacks to identify vulnerabilities.
MI
Mi 1 year ago
I think using a templating system that supports auto-escaping sounds familiar. We practiced something similar in our last session, right?
RE
Rebbeca 1 year ago
I remember we discussed the importance of validating user input to prevent XSS attacks, but I'm not sure which option directly addresses that.
SE
Serina 1 year ago
I’m a bit confused about the role of Cloud Armor. Does it really help with XSS, or is it more for DDoS protection?
TO
Toi 1 year ago
I'm a little confused by the wording of the question. Do we need to consider the length of the cables as well? Maybe option C is worth considering to allow for flexibility.
PR
Precious 1 year ago
Payroll fraud is a tricky topic, but I'm going to go with C - Planning as my best guess.
AU
Audry 1 year ago
I feel pretty confident about this one. The key is to create a separate portal for the external researchers to collaborate, while giving the internal staff access to the main org. That way, we're meeting the needs of both groups.
ER
Eric 1 year ago
This looks like a tricky question. I'll need to think carefully about the different methods and how they use the product search index.
0/2000 characters

Save Cancel