Google Cloud Professional Cloud Developer — Question 169

You are running a web application on Google Kubernetes Engine that you inherited. You want to determine whether the application is using libraries with known vulnerabilities or is vulnerable to XSS attacks. Which service should you use?

Answer options

Correct answer: C

Explanation

The correct answer is C, Web Security Scanner, as it is specifically designed to identify vulnerabilities such as outdated libraries and XSS issues in web applications. Google Cloud Armor (A) is primarily for DDoS protection, Debugger (B) helps with debugging but does not assess security, and Error Reporting (D) focuses on logging errors rather than vulnerability scanning.