ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question

A backend service accepts an age parameter from untrusted clients. The code already confirms the field contains only digits, but negative numbers and values higher than 150 are still accepted. What additional input validation control should be implemented to comply with secure coding guidance?

  • Apply context-aware output encoding when the age is rendered to a page.

  • Enforce a permitted numeric range for the value before processing it.

  • Compress the client input to reduce its overall payload size.

  • Add deny-list filtering to strip common SQL metacharacters.

ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Implementation
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