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.
Question
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)- A84% (21)
- C4% (1)
- D8% (2)
- E4% (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
Community Discussion
No community discussion yet for this question.