nerdexam
CompTIA

SY0-501 · Question #81

A software development company needs to share information between two remote servers, using encryption to protect it. A programmer suggests developing a new encryption protocol, arguing that using an

The correct answer is B. New protocols often introduce unexpected vulnerabilities, even when developed with. This question tests understanding of why developing custom cryptographic protocols is dangerous, even when using proven cryptographic primitives as building blocks.

Submitted by yuki_2020· Mar 4, 2026General security concepts

Question

A software development company needs to share information between two remote servers, using encryption to protect it. A programmer suggests developing a new encryption protocol, arguing that using an unknown protocol with secure, existing cryptographic algorithm libraries will provide strong encryption without being susceptible to attacks on other known protocols. Which of the following summarizes the BEST response to the programmer's proposal?

Options

  • AThe newly developed protocol will only be as secure as the underlying cryptographic
  • BNew protocols often introduce unexpected vulnerabilities, even when developed with
  • CA programmer should have specialized training in protocol development before attempting to
  • DThe obscurity value of unproven protocols against attacks often outweighs the potential for

How the community answered

(49 responses)
  • A
    8% (4)
  • B
    76% (37)
  • C
    4% (2)
  • D
    12% (6)

Why each option

This question tests understanding of why developing custom cryptographic protocols is dangerous, even when using proven cryptographic primitives as building blocks.

AThe newly developed protocol will only be as secure as the underlying cryptographic

While the security of underlying cryptographic libraries does matter, this choice incorrectly implies the protocol's security ceiling is solely determined by the primitives, ignoring that protocol-level design flaws can independently break security regardless of strong algorithms.

BNew protocols often introduce unexpected vulnerabilities, even when developed withCorrect

Even when built with secure, well-vetted cryptographic algorithm libraries, new protocol designs introduce attack surfaces through flaws in how those primitives are composed, sequenced, or implemented - areas like improper nonce reuse, padding oracle vulnerabilities, or authentication gaps. This principle is captured in the well-known security maxim 'don't roll your own crypto,' which applies to protocols as much as algorithms. Established protocols like TLS have undergone years of public cryptanalysis, peer review, and real-world hardening that a newly developed protocol cannot replicate.

CA programmer should have specialized training in protocol development before attempting to

Although specialized training is relevant and desirable, this response focuses on the developer's credentials rather than the fundamental technical risk of introducing unknown protocol vulnerabilities, making it a weaker and less precise answer.

DThe obscurity value of unproven protocols against attacks often outweighs the potential for

This choice is incorrect because security through obscurity is widely considered insufficient and unreliable; unproven protocols do not gain meaningful protection simply from being unknown, and this framing dangerously misrepresents the risk-benefit tradeoff.

Concept tested: Dangers of custom cryptographic protocol development

Source: https://learn.microsoft.com/en-us/azure/security/fundamentals/encryption-overview

Topics

#cryptographic protocol design#security through obscurity#encryption best practices#custom protocols

Community Discussion

No community discussion yet for this question.

Full SY0-501 Practice