exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 457 discussion

Actual exam question from Cisco's 350-401
Question #: 457
Topic #: 1
[All 350-401 Questions]

How can an engineer prevent basic replay attacks from people who try to brute force a system via REST API?

  • A. Add a timestamp to the request in the API header.
  • B. Use a password hash.
  • C. Add OAuth to the request in the API header.
  • D. Use HTTPS.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
kebkim
Highly Voted 2 years, 2 months ago
A is the Answer. Here's the list of best practices in securing RESTful API. 1. Always Use HTTPS - Traffic must be encrypted 2. Never expose information on URLs - as this can be captured in web server logs, which makes them easily exploitable. 3. Consider Oauth 4. Adding Timestamp in Request - This will prevent very basic replay attacks from people who are trying to brute force your system 5. Input Parameter Validation - Put strong validation checks and reject the request immediately if validation fails. 6. Use Auditing and Logging - Any subject or entity can be audited
upvoted 12 times
...
markymark874
Highly Voted 1 year, 11 months ago
Selected Answer: A
https://hakin9.org/how-to-secure-your-rest-api-from-attackers/
upvoted 5 times
...
[Removed]
Most Recent 6 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
slacker_at_work
9 months, 3 weeks ago
Answer A: Adding Timestamp in Request Along with other request parameters, you may add a request timestamp as an custom header in API requests. The server will compare the current timestamp to the request timestamp and only accepts the request if it is within a reasonable timeframe (30 seconds, perhaps). This will prevent very basic replay attacks from people who are trying to brute force your system without changing this timestamp.
upvoted 2 times
...
eearmani
11 months, 1 week ago
Selected Answer: A
adding timestamp will prevent basic reply attack
upvoted 1 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 ...