Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Exam Professional Cloud Security Engineer Topic 1 Question 101 Discussion

Actual exam question for Google's Professional Cloud Security Engineer exam
Question #: 101
Topic #: 1
[All Professional Cloud Security Engineer Questions]

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 dat

a. 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?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

An
23 days ago
Hmm, I wonder if the attacker will try to execute a 'git push origin master' command. Better go with option D to be safe!
upvoted 0 times
Pearlie
3 days ago
I think we should go with option D to prevent any potential XSS attack.
upvoted 0 times
...
...
Micheal
30 days ago
This is a classic case of 'garbage in, garbage out.' Option D is the way to go! Gotta love those templating systems with auto-escaping.
upvoted 0 times
Jose
17 hours ago
Using a templating system with auto-escaping is crucial in preventing XSS attacks. Let's implement that as soon as possible.
upvoted 0 times
...
Shaunna
19 days ago
I agree, option D is definitely the best choice. We need to make sure our web application is secure.
upvoted 0 times
...
...
Valentin
1 months ago
I'm leaning towards option B. Setting up an HTTPS load balancer and using Cloud Armor seems like a robust solution to prevent the potential XSS attack.
upvoted 0 times
Ronna
16 days ago
It's important to prioritize security measures like this to keep our web application safe from vulnerabilities.
upvoted 0 times
...
Tegan
22 days ago
I agree, setting up an HTTPS load balancer and using Cloud Armor can definitely help protect against potential attacks.
upvoted 0 times
...
Starr
26 days ago
That sounds like a good idea. Option B seems like a strong choice to prevent XSS attacks.
upvoted 0 times
...
...
Alyssa
1 months ago
I believe setting up an HTTPS load balancer and using Cloud Armor is also a good option to prevent XSS attacks.
upvoted 0 times
...
Tonja
1 months ago
Definitely go with option D! Simulating the attack in the staging environment is the best way to identify and fix the vulnerability before it reaches production.
upvoted 0 times
Alease
8 days ago
I think running the Web Security Scanner in staging is a smart move to proactively address any potential security risks.
upvoted 0 times
...
Susana
9 days ago
It's important to catch these vulnerabilities early on in the development process to avoid any security breaches in production.
upvoted 0 times
...
Rueben
15 days ago
Using a templating system with contextual auto-escaping is a good way to ensure user input is properly sanitized.
upvoted 0 times
...
Huey
16 days ago
I agree, option D seems like the most proactive approach to prevent any potential attacks.
upvoted 0 times
...
...
Abel
2 months ago
I agree with Suzi, Cloud IAP based on IP address or end-user device attributes can help prevent attacks.
upvoted 0 times
...
Suzi
2 months ago
I think we should use Cloud IAP to prevent the vulnerability.
upvoted 0 times
...

Save Cancel