Ensurepass

QUESTION 31

You are a project manager responsible for all phases of a new application development project. Your project is a customer-facing website that is strategic to the rollout of a new product. You need to ensure that the project is delivered on time and on budget with a minimal number of defects. What should you do first?

 

A.      Create test plans and author test cases.

B.      Conduct exploratory test sessions.

C.      Illustrate requirements with Microsoft PowerPoint storyboarding and link storyboards to work items.

D.      Engage stakeholders to provide feedback about pre-release software.

 

Correct Answer: C

 

 

QUESTION 32

Historically your IT group has done a poor job of reporting issues and successes to key decision makers in a timely manner, due to incomplete or inconsistent application lifecycle management (ALM) practices. You are implementing Scrum as the process framework for new projects. The scrum master will publish daily progress reports to the product owner and key stakeholders. You need to view daily progress and identify if bottlenecks are occurring in the development process.

Which report should you use?

 

A.      Bug Trends

B.      Sprint Burndown

C.      Cumulative Flow

D.      Release Burndown

 

Correct Answer: C

 

 

QUESTION 33

You manage several developers who are working on multiple applications. A business analyst requests an audit trail of work item changes for all prospective releases. You need to implement a strategy to provide the audit trail. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

 

A.      Enable a check-in policy that requires a successful build prior to check-in.

B.      Enable a check-in policy that requires a work item be associated with the check-in.

C.      Enable static code analysis during the automated build.

D.      Require developers to update the comments field of their tasks with details of any code changes for their tasks.

E.       Request that developers enter the work item ID in the check-in comments for any code changes they make.

F.       Enable the automated build option to associate work items with the build.

 

Correct Answer: BF

 

 

QUESTION 34

You are developing a new application. The application will require rapid changes after it is in production. You need to implement practices that promote high quality and ensure the code is maintainable. Which three practices should you implement? (Each correct answer presents part of the solution. Choose three.)

 

A.      Refactor code based on code metrics from the maintainability index.

B.      Keep the code tightly coupled.

C.      Create as few classes as possible.

D.      Create unit tests and monitor code coverage.

E.       Create as few assemblies as possible.

F.       Refactor code based on code clone analysis.

 

Correct Answer: ADF

 

 

QUESTION 35

You are developing an application that has several automated builds that build, perform code analysis, and unit test portions of your code. Your team also performs peer review for code changes in an informal manner. You need to meet the following requirements:

 

Ÿ   Provide documentation on quality checks and reviews for any changes to the code base.

Ÿ   Ensure code quality.

Ÿ   Maintain your team’s efficiency.

 

What should you do?

 

A.      Institute gated check-ins to the build process.

B.      Deny developers check-in permissions. Allow them to shelve changes and have a senior team member check in the shelve-set after review.

C.      Utilize the Code Review work items and workflow before check-ins.

D.      Perform a weekly code review on subset of recent check-ins.

 

Correct Answer: C

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 perform? (Each correct answer presents part of the solution. Choose two.)

 

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.

C.      Use the architecture explorer to create a DGML model of the architecture.

D.      Create a gated check-in that uses Code Analysis.

E.       Create a gated check-in that runs a build that validates the rules defined in the DGML model.

 

Correct Answer: AB

 

 

QUESTION 37

You develop an n-tier application that includes the following components:

 

Ÿ   Database

Ÿ   Data access layer

Ÿ   Business logic layer

Ÿ   Presentation layer (website)

 

The database has approximately 100 tables and stores large amounts of data. You need to select a unit testing strategy to verify the business logic layer. What should you do?

 

A.        Create a mock data access layer.

Configure the business logic layer to use the mock data access layer.

Write tests against the business logic layer.

 

B.        Create a mock data access layer.

Write tests against the mock data access layer.

 

C.        Create a mock business logic layer and a test database.

Configure the data access layer to target the test database.

Write tests against the business logic layer.

 

D.        Create a test database from a backup of the live database.

Configure the data access layer to target the test database.

Write tests against the data access layer.

 

Correct Answer: A

 

 

 

QUESTION 38

You manage a project that has three teams working in parallel on a single codebase using a Scrum process methodology. You need to ensure that each team can manage work separately while editing a shared code base. What should you do?

 

A.      Within a single team project, create separate iteration paths for each team. Assign each team member to their respective iteration path.

B.      Create a team project for each team, assigning different team members to each team project.

C.      Within a single team project, create three teams. Assign each team member to their respective teams.

D.      Create a team project for each team, assigning all team members to each team project.

 

Correct Answer: C

 

 

QUESTION 39

You create a layered web application. The service layer includes a suite of nUnit tests for the code. The web application contains JavaScript and has no tests. You configure a build agent running as a service and create an automated build. You need to include unit testing in the development and automated build of the application. You need to achieve this goal with the least amount of impact to the development team. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

 

A.      Configure the build to use the existing nUnit tests.

B.      Create QUnit tests to test the Javascript in the web application.

C.      Use Coded UI Tests to test the JavaScript in the web application.

D.      Convert all the nUnit tests for the business logic layer into MSTests.

 

Correct Answer: AB

 

 

QUESTION 40

You are planning to develop a new application. You want to be able to measure the quality of the code you create. You need to ensure that it is easy to test and obtain high code coverage. What should you do?

 

A.      Ensure that each class has only one responsibility.

B.      Ensure that concrete classes depend only on other concrete classes.

C.      Create as few abstract classes and interfaces as possible.

D.      Create as many static methods as possible.

 

Correct Answer: A

 

 

Comments are closed.