nerdexam
Microsoft

70-499 · Question #36

You design a system architecture that specifies various inter-layer communications. You need to ensure the validity of developers' code against your architecture. Which two actions should you…

The correct answer is A. Create a layer diagram and specify the valid namespaces for each layer. B. Create a gated check-in that runs a build that validates the rules defined in the layer diagram. You can perform layer validation every time that you run a local build. If your team uses Team Foundation Build, you can perform layer validation with gated check-ins, which you can specify by creating a custom MSBuild task, and use build reports to collect validation errors.

Implement continuous delivery

Question

You design a system architecture that specifies various inter-layer communications. You need to ensure the validity of developers' code against your architecture. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Options

  • ACreate a layer diagram and specify the valid namespaces for each layer.
  • BCreate a gated check-in that runs a build that validates the rules defined in the layer diagram.
  • CUse the architecture explorer to create a DGML model of the architecture.
  • DCreate a gated check-in that uses Code Analysis.
  • ECreate a gated check-in that runs a build that validates the rules defined in the DGML model.

How the community answered

(25 responses)
  • A
    84% (21)
  • C
    4% (1)
  • D
    8% (2)
  • E
    4% (1)

Explanation

You can perform layer validation every time that you run a local build. If your team uses Team Foundation Build, you can perform layer validation with gated check-ins, which you can specify by creating a custom MSBuild task, and use build reports to collect validation errors.

Topics

#layer diagram#gated check-in#architecture validation#namespace dependency rules

Community Discussion

No community discussion yet for this question.

Full 70-499 Practice