CSSLP Secure Software Architecture And Design Practice Question
When evaluating a secure design, which TWO of the following practices are considered essential for secure session management?
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
✓
Setting the HttpOnly and Secure flags on session cookies.
Using secure, HTTP-only, and SameSite flags are critical for cookie security, and regenerating session IDs prevents fixation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Allowing multiple simultaneous sessions for a single user.
Why it's wrong here
This is a functional policy, not inherently a security requirement.
- ✗
Using long-lived sessions to improve user experience.
Why it's wrong here
Long sessions increase the window of opportunity for attackers.
- ✓
Setting the HttpOnly and Secure flags on session cookies.
Why this is correct
Prevents cookie theft and plaintext transit.
- ✗
Storing session tokens in the browser's local storage.
Why it's wrong here
Local storage is vulnerable to XSS.
- ✓
Regenerating the session ID after a successful login.
Why this is correct
Prevents session fixation attacks.
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.