70-498 · 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
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
(55 responses)- A78% (43)
- C11% (6)
- D7% (4)
- E4% (2)
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.