nerdexam
Cisco

200-901 · Question #673

What is a benefit of using a modular design in code development?

The correct answer is D. Reusability in other projects. Reusability is a primary benefit of modular design, allowing self-contained code units to be used across multiple projects without rewriting.

Software Development and Design

Question

What is a benefit of using a modular design in code development?

Options

  • ACompatible with network devices
  • BReducing attack vectors
  • CEasy to access the services
  • DReusability in other projects

How the community answered

(36 responses)
  • B
    3% (1)
  • C
    3% (1)
  • D
    94% (34)

Why each option

Reusability is a primary benefit of modular design, allowing self-contained code units to be used across multiple projects without rewriting.

ACompatible with network devices

Compatibility with network devices is determined by protocols and APIs, not by whether the code uses a modular design pattern.

BReducing attack vectors

Reducing attack vectors is a security hardening concern addressed through input validation and access control, not through modular design.

CEasy to access the services

Easy access to services describes service-oriented or API design principles, not a direct benefit of modular code structure.

DReusability in other projectsCorrect

Modular design breaks code into independent, self-contained units with well-defined interfaces, making each module portable and reusable in other applications or projects. This reduces redundant development effort and promotes consistency across codebases. Reusability is one of the foundational motivations for adopting modular software architecture.

Concept tested: Benefits of modular software design - reusability

Source: https://developer.cisco.com/learning/tracks/devnet-associate/

Topics

#Modular design#Software design principles#Code reusability

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice