ISC2 Certified Cloud Security Professional (CCSP) Practice Question

During a penetration test of a cloud-hosted microservice, the tester demonstrates that appending the string " OR 1=1 --" to a query parameter returns all rows from the backend database. The development team is preparing a hot-fix and wants to eliminate this vulnerability across all future services. Which secure coding practice best addresses the underlying issue during development rather than relying on compensating controls?

  • Build all database interactions with parameterized queries or prepared statements that bind user input as data.

  • Perform output encoding on every value returned from the database before sending the HTTP response.

  • Upgrade the service-to-database connection to use TLS 1.3 with mutual authentication.

  • Deploy a web application firewall rule that rejects any request containing a single quotation mark.

ISC2 Certified Cloud Security Professional (CCSP)
Cloud Application Security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot