Proper study guides for Far out Microsoft Developing Windows Azure and Web Services certified begins with Microsoft 70-487 preparation products which designed to deliver the Download 70-487 questions by making you pass the 70-487 test at your first time. Try the free 70-487 demo right now.
Q71. - (Topic 4)
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.
A. ReadUncommitted
B. Repeatable
C. Serializable
D. ReadCommitted
Answer: C
Q72. - (Topic 4)
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?
A. Single
B. PerRequest
C. PerCall
D. Multiple
E. PerSession
Answer: C
Q73. - (Topic 4)
You are developing an ASP.NET MVC application. The application is a loan 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 loans along with rate information. Lazy loading has been disabled.
The Loan class is shown below.
You need to return the loans and rate information in a single round trip to the database. Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q74. DRAG DROP - (Topic 2)
You need to create the ShippingContext class in the ShippingAddress.es file to meet the requirements.
What should you do? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Answer:
Q75. DRAG DROP - (Topic 4)
You are creating a WCF service.
The service endpoints must be exposed to the Windows Azure Service Bus. The service bus has a namespace named RestaurantSB. The key provider is "owner".
You need to modify the web.config file to expose the endpoints.
How should you modify the file? (To answer, drag the appropriate attributes to the correct location or locations in the answer area. Each attribute may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Answer:
Q76. HOTSPOT - (Topic 4)
You are developing a WCF service in Visual Studio 2013 that integrates with the Microsoft
Azure service bus relay.
The Azure service bus namespace is named RestaurantServiceBus
You need to obtain the issuer name and secret.
What should you do? (To answer, select the appropriate option in the answer area.)
Answer:
Q77. - (Topic 4)
You are developing a WCF service.
You need to create a duplex contract.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Apply the MessageContractAttribute attribute to every public method signature included in the appropriate contract.
B. Create an interface for the client-side duplex contract.
C. Create an interface for the server-side duplex contract.
D. Apply the MessageContractAttribute attribute to the appropriate interface.
E. Apply the ServiceContractAttribute attribute to the appropriate interface. Then, apply the OperationContractAttribute attribute to every public method signature included in that contract.
F. Set the CallbackContract property to the appropriate interface.
Answer: C,E,F
Explanation: To create a duplex contract
(C) Create the interface that makes up the server side of the duplex contract.
(E) Apply the ServiceContractAttribute class to the interface.
Declare the method signatures in the interface.
(E)Apply the.OperationContractAttribute.class to each method signature that must be part of the public contract.
Create the callback interface that defines the set of operations that the service can invoke on the client.
Declare the method signatures in the callback interface.
Apply the.OperationContractAttribute.class to each method signature that must be part of the public contract.
(F)
Link the two interfaces into a duplex contract by setting
the.CallbackContract.property in the primary interface to the type of the callback
interface.
Reference: How to: Create a Duplex Contract
Q78. - (Topic 4)
You are developing an ASP.NET MVC application that displays a report. The report includes large images that are stored in a database. Members of the EntityClient namespace are used to access the database through the ADO.NET Entity Framework data model.
You need to prevent memory exceptions while generating a report using the EntityDataRcader type.
Which CommandBehavior type should you use?
A. FastForwardReadOnly
B. SequentialAccess
C. SingleResult
D. SingleRow
Answer: B
Explanation: SequentialAccess Provides a way for the DataReader to handle rows that contain columns with large binary values. Rather than loading the entire row, SequentialAccess enables the DataReader to load data as a stream.
Q79. - (Topic 4)
You are planning to migrate websites from IIS 6 to IIS 7.5. You do not have access to SSH or a VPN.
You need to select a deployment tool to securely migrate the websites.
Which tool should you use?
A. RoboCopy
B. Web Deploy
C. Microsoft command-line FTP
D. xCopy
Answer: B