A team is designing an interface that relies on Representational State Transfer principles. They want to reduce ties between consecutive client requests. Which approach meets these principles?
Use an ephemeral data store to track user context throughout each session
Include user tokens in each request to avoid server-based session details
Encrypt user credentials under one shared key so they do not travel in requests
Store user session data in a central memory cache between requests
Tokens travel with every request and maintain user context without server-based storage. The other options rely on storing or tracking session details on the server or in a persistent data store, which introduces stateful dependencies and breaks these principles.
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 does REST stand for in the context of web interfaces?
Open an interactive chat with Bash
How do user tokens work in RESTful designs?
Open an interactive chat with Bash
Why does storing session data on the server violate REST principles?
Open an interactive chat with Bash
CompTIA Cloud+ CV0-004
DevOps Fundamentals
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access