exam questions

Exam CS0-002 All Questions

View all questions & answers for the CS0-002 exam

Exam CS0-002 topic 1 question 231 discussion

Actual exam question from CompTIA's CS0-002
Question #: 231
Topic #: 1
[All CS0-002 Questions]

A code review reveals a web application is using time-based cookies for session management. This is a security concern because time-based cookies are easy to:

  • A. parameterize
  • B. decode
  • C. guess
  • D. decrypt
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bob12356
Highly Voted 2 years, 5 months ago
Selected Answer: C
Time-based cookies are considered to be a security concern because they are easy to GUESS and can potentially be used by attackers to gain access to a user's session. Here's an example of a time based cookie: Set-Cookie: SESSION_ID=12345; Expires=Fri, 31 Dec 2022 23:59:59 GMT
upvoted 6 times
2Fish
2 years, 1 month ago
Agreed, expiration time is easily guessable, an attacker can potentially hijack the session by guessing the cookie value
upvoted 1 times
...
...
JakeH
Most Recent 1 year, 7 months ago
Selected Answer: A
I work in a SOC. Polled all of my colleagues on this question, including my director of Cybersecurity. Choose to answer C if you wish, but we're in agreement the answer is A here. They aren't easy to guess from the server side, they are easy to parameterize and manipulate further code injection with them
upvoted 1 times
...
BRIGADIER
2 years, 3 months ago
this question is on my exam today
upvoted 2 times
...
david124
2 years, 3 months ago
Selected Answer: C
C guess
upvoted 2 times
...
TIM0088
2 years, 4 months ago
Selected Answer: C
C is Right.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago