Google Professional Cloud Security Engineer Exam - Topic 1 Question 101 Discussion
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?
D) Use Web Security Scanner in staging to simulate an XSS injection attack, and then use a templating system that supports contextual auto-escaping.
A) Use Cloud IAP based on IP address or end-user device attributes to prevent and fix the vulnerability.
B) Set up an HTTPS load balancer, and then use Cloud Armor for the production environment to prevent the potential XSS attack.
C) Use Web Security Scanner to validate the usage of an outdated library in the code, and then use a secured version of the included library.
Billye
7 months agoGladys
7 months agoAilene
7 months agoSvetlana
7 months agoPansy
8 months agoStaci
8 months agoLoren
8 months agoLezlie
8 months agoMaile
9 months agoBenton
9 months agoCristal
9 months agoMelodie
9 months agoSunshine
9 months agoAn
1 year agoOretha
1 year agoJules
1 year agoPearlie
1 year agoMicheal
1 year agoJennie
1 year agoJose
1 year agoShaunna
1 year agoValentin
1 year agoRonna
1 year agoTegan
1 year agoStarr
1 year agoAlyssa
1 year agoTonja
1 year agoAlease
1 year agoSusana
1 year agoRueben
1 year agoHuey
1 year agoAbel
1 year agoSuzi
1 year ago