nerdexam
CompTIA

CAS-002 · Question #297

A security engineer wants to implement forward secrecy but still wants to ensure the number of requests handled by the web server is not drastically reduced due to the larger computational…

The correct answer is B. ECDHE. ECDHE provides forward secrecy using ephemeral elliptic curve keys, delivering the same security guarantees as DHE but with significantly lower computational cost due to smaller key sizes. This makes it ideal when performance is a constraint.

Enterprise Security

Question

A security engineer wants to implement forward secrecy but still wants to ensure the number of requests handled by the web server is not drastically reduced due to the larger computational overheads. Browser compatibility is not a concern; however system performance is. Which of the following, when implemented, would BEST meet the engineer's requirements?

Options

  • ADHE
  • BECDHE
  • CAES128-SHA
  • DDH

How the community answered

(42 responses)
  • A
    5% (2)
  • B
    81% (34)
  • C
    12% (5)
  • D
    2% (1)

Why each option

ECDHE provides forward secrecy using ephemeral elliptic curve keys, delivering the same security guarantees as DHE but with significantly lower computational cost due to smaller key sizes. This makes it ideal when performance is a constraint.

ADHE

DHE provides forward secrecy via ephemeral keys but requires much larger key sizes than ECDHE to achieve equivalent security, resulting in significantly higher CPU overhead during handshakes.

BECDHECorrect

ECDHE (Elliptic Curve Diffie-Hellman Ephemeral) generates a new ephemeral key pair for each session, ensuring forward secrecy - compromise of the long-term private key does not expose past sessions. Compared to traditional DHE, ECDHE achieves equivalent security strength with much smaller key sizes (e.g., a 256-bit elliptic curve key is comparable to a 3072-bit RSA/DH key), dramatically reducing the computational overhead of the key exchange and allowing the server to handle more TLS handshakes per second.

CAES128-SHA

AES128-SHA is a symmetric cipher suite component used for bulk data encryption after the handshake and does not provide forward secrecy on its own.

DDH

Static DH (non-ephemeral) does not provide forward secrecy because the same key pair is reused across sessions, meaning a compromised private key exposes all past session keys.

Concept tested: ECDHE forward secrecy with performance optimization

Source: https://www.rfc-editor.org/rfc/rfc8422

Topics

#forward secrecy#ECDHE#key exchange performance#TLS

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice