How many upgrade domains should you use?
You are developing a Microsoft Azure web application. The application will be deployed to 10 web role
instances. A minimum of 8 running instances is needed to meet scaling requirements.
You need to configure the application so that upgrades are performed as quickly as possible, but do not violate
scaling requirements.
How many upgrade domains should you use?
Which tool should you use?
You are developing an ASP.NET MVC application.
Deployment administrators do not have access to Visual Studio 2102, but will have the elevated permissions
required to deploy the application to the servers.
You need to select a deployment tool for use by the deployment administrators.
Which tool should you use?
You need to maintain data integrity in all situations t…
You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database.
You need to maintain data integrity in all situations that use transactions.
Which code segment should you use?
You are developing an ASP.NET MVC application. The application is an order processing system that uses the
ADO.NET Entity Framework against a SQL Server database. It has a controller that loads a page that displays
all orders along with customer information. Lazy loading has been disabled.
The Order class is shown below.
You need to return the orders and customer information in a single round trip to the database.
Which code segment should you use?
Which HTTP verb should you use?
You are designing an ASP.NET Web API application.
You need to select an HTTP verb to allow blog administrators to remove a comment.
Which HTTP verb should you use?
Which instancing mode should you use?
You are developing a WCF service.
A new service instance must be created for each client request.
You need to choose an instancing mode.
Which instancing mode should you use?
Which instance mode should you use?
You are developing a WCF service.
A new service instance must be created for each client session.
You need to choose an instancing mode.
Which instance mode should you use?
Which message pattern should you choose?
You are developing a WCF service that compares several data sources. The service takes a long time to
complete.
The service must meet the following requirements:
The client must be able to continue processing while the service is running.
The service must initiate communication with the client application when processing is complete.
You need to choose a message pattern to meet the requirements.
Which message pattern should you choose?
Which isolation level should you use?
You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database.
You need to prevent the application from reading data that is locked by other transactions. You also need to
prevent exclusive range locks.
Which isolation level should you use?
You need to create a query expression to display all of…
You are developing an application in Visual Studio 2012 to display student information. The application contains
the following Entity Framework model.
The application contains a WCF data service named DirectoryService.svc.
You need to create a query expression to display all of the grades for students whose first name is “John”
How should you build the expression?