ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question
During a security design review for a microservice-based REST API, the team must decide how client sessions will be represented. Which proposed solution adheres most closely to the economy of mechanism principle?
Record each session as an entry on a consortium blockchain so all microservices can independently verify token provenance.
Embed user attributes in a signed and encrypted JWT that contains nested claims and uses different rotating keys for every microservice.
Invent a proprietary token format that applies custom compression and a home-grown checksum algorithm before transmission.
Issue short, opaque session IDs stored in an in-memory data store and validate them using a standard, widely tested session-management library.
The economy of mechanism principle favors the simplest design that still meets security goals, because simple mechanisms are easier to understand, test, and maintain. Issuing short, opaque session identifiers and validating them with a well-vetted library keeps the token format minimal and relies on proven code. The other options introduce unnecessary complexity-layered encryption and nested claims, a proprietary token format, or a blockchain ledger-each of which increases implementation effort, attack surface, and the likelihood of subtle defects, violating the principle of keeping security mechanisms as simple as possible.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the economy of mechanism principle in security?
Open an interactive chat with Bash
What are opaque session IDs and why are they used in API design?
Open an interactive chat with Bash
Why is relying on widely tested session-management libraries recommended?
Open an interactive chat with Bash
ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Concepts
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .