CSSLP Secure Software Implementation Practice Question
A developer is implementing a REST API. To prevent Mass Assignment vulnerabilities, what should be enforced during the model binding process?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use Data Transfer Objects (DTOs) to restrict input
Mass assignment occurs when input fields are mapped directly to database objects; using Data Transfer Objects (DTOs) allows explicit control over allowed fields.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use Data Transfer Objects (DTOs) to restrict input
Why this is correct
DTOs act as an allow-list for fields, preventing unauthorized property injection.
- ✗
Disable SSL on the API endpoint
Why it's wrong here
Disabling SSL increases the attack surface.
- ✗
Increase the request timeout
Why it's wrong here
This is a performance tuning setting, not a security control.
- ✗
Store user passwords in plaintext
Why it's wrong here
This is a severe security violation.
About these practice questions
This CSSLP question is part of Courseiva's 198-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official (ISC)² exam blueprint
This CSSLP practice question is part of Courseiva's free (ISC)² certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CSSLP exam.