Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 400
Which two countermeasures help reduce the risk of playback attacks? (Choose two.)
Answer options
- A. Store data in a NoSQL database.
- B. Implement message authentication (HMAC).
- C. Enable end-to-end encryption.
- D. Remove stack traces from errors.
- E. Use short-lived access tokens.
Correct answer: B, E
Explanation
Implementing message authentication (HMAC) ensures the integrity and authenticity of messages, making it difficult for attackers to replay them without detection. Using short-lived access tokens limits the window of opportunity for an attacker to replay a captured token, thereby reducing the effectiveness of playback attacks. The other options do not directly address the playback attack vector.