0% found this document useful (0 votes)
66 views28 pages

Microsoft 70-487

1) The document provides background information on an exam for Microsoft 70-487 that covers developing Windows Azure and web services. It includes 10 multiple choice questions related to satisfying various technical and business requirements for creating a consolidated data service. 2) The questions cover topics like configuring endpoints to allow file uploads, deploying application upgrades with minimal downtime, recommending data access technologies, handling data changes, caching data from sources, and using XML elements to return historical data. 3) The exam questions require knowledge of Azure, WCF, caching, XML, and ADO.NET concepts to choose the best code elements or configurations to meet the requirements outlined in each question's scenario.

Uploaded by

Moe Kaungkin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views28 pages

Microsoft 70-487

1) The document provides background information on an exam for Microsoft 70-487 that covers developing Windows Azure and web services. It includes 10 multiple choice questions related to satisfying various technical and business requirements for creating a consolidated data service. 2) The questions cover topics like configuring endpoints to allow file uploads, deploying application upgrades with minimal downtime, recommending data access technologies, handling data changes, caching data from sources, and using XML elements to return historical data. 3) The exam questions require knowledge of Azure, WCF, caching, XML, and ADO.NET concepts to choose the best code elements or configurations to meet the requirements outlined in each question's scenario.

Uploaded by

Moe Kaungkin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

Microsoft 70-487

Developing Windows Azure and Web Services


Version: 20.0
Microsoft 70-487 Exam
Topic 1, Scenario 1

Background

You are in the process of creating a service for consolidating data. The service retrieves and
combines data from various sources into one data set. This consolidated data is then hosted by a
SQL Server database, which can then be queried and retrieved by clients via a REST API
provided by the service.

Furthermore, the service allows for the accessing of historical data. This historical data is filtered
and queried in an ad hoc fashion.

A Windows Azure Web Role has been configured for running the service. Also, the use of Secure
Sockets Layer (SSL) is not configured.

Business Requirements

A developer, situated in a different region, is in the process of creating a new data source for
historical data.

In the event that a time zone is not indicated, it should be construed to be Coordinated Universal
Time (UTC).

Service downtime must be kept to a minimum while upgrading from a staging deployment to a
production deployment.

HTTP traffic should be conveyed via the default port.

Technical Requirements

Data from Weyland Industries is supplied in an XML file format.

Data from Consolidated Messenger is supplied in a Microsoft Access database, which is uploaded
to the service at noon and midnight on a daily basis, via SECURE FTP (SFTP) over port 22.

ABC Tourism makes use of serialized ADO.NET DataSets to supply and consume data. This data
is synced between the service and ABC Tourism on a regular basis.

Data from various sources, which is serialized in proprietary binary formats, as well as .NET
assemblies for reading the data is supplied by ABC R&D. These assemblies make use of a mutual
collection of dependencies, and are signed with a key pair contained in a file named ABCRD.snk.

Third-party assemblies must have strong names in accordance with the application specification.

"Pass Any Exam. Any Time." - www.actualtests.com 2


Microsoft 70-487 Exam
QUESTION NO: 1

You are required to write code to make sure that the Windows Azure service definition allows for
Consolidated Messenger to upload files in accordance with the requirements.

Which of the following is an element that should be included in your code?

A. The InternalEndpoint Element.


B. The FixedPortRange Element.
C. The AllocatePublicPortFrom Element.
D. The InputEndpoint Element.

Answer: D
Explanation:

QUESTION NO: 2

You have been instructed to satisfy the business prerequisites for deploying the application.

You have logged into the Management Portal, expanded the subscription that contains the hosted
service to upgrade, and then click the deployment to upgrade.

Which of the following actions should you take NEXT?

A. You should consider clicking the Upgrade button on the ribbon.


B. You should consider clicking the Configure button on the ribbon.
C. You should consider clicking the Swap VIP button on the ribbon.
D. You should consider clicking the Configure OS button on the ribbon.

Answer: C
Explanation:

QUESTION NO: 3

You have been tasked with making sure that the developer creating the new data source for
historical data makes use of a suitable data access technology to facilitate data retrieval.

Which of the following actions should you take?

A. You should consider suggesting the use of XML to HTML.


B. You should consider suggesting the use of SQL Server.

"Pass Any Exam. Any Time." - www.actualtests.com 3


Microsoft 70-487 Exam
C. You should consider suggesting the use of Secure FTP (SFTP).
D. You should consider suggesting the use of WCF Data Services.

Answer: D
Explanation:

QUESTION NO: 4

You are writing code to apply the Sync() method. The method should be configured to make sure
that when syncing data supplied by ABC Tourism, the changes are combined. This process should
not result in data being corrupted or lost.

Which of the following is a member that should be used for both the XmlWriteMode and
XmlReadMode enumerations?

A. Auto
B. DiffGram
C. IgnoreSchema
D. InferSchema

Answer: B
Explanation:
References:
http://msdn.microsoft.com/en-us/library/ms135424.aspx

QUESTION NO: 5

Subsequent to the deployment of the service, ABC R&D releases a new version of their assembly.
The new version has been configured to deal with modifications to the serialization format.

To make sure that the service continues to be accessible while converting to the new serialization
format and that the new assembly is used by the service, you have to configure settings in a
specific file.

Which of the following is the file in question?

A. The app.config file.


B. The web.config file.
C. The machine.config file.

"Pass Any Exam. Any Time." - www.actualtests.com 4


Microsoft 70-487 Exam
D. The service.config file.

Answer: B
Explanation:
References:
http://msdn.microsoft.com/en-us/library/7wd6ex19.aspx

QUESTION NO: 6

You have noticed that updates to data are disappearing as a result of errors taking place during
save operations via the ADO.NET Entity Framework context.

You are writing code that allows for the save operation to be retried for a specific number of times.

Which of the following actions should you take?

A. You should consider creating a try-catch statement.


B. You should consider creating a try-block statement.
C. You should consider creating a try-end statement.
D. You should consider creating an if-catch statement.

Answer: A
Explanation:

QUESTION NO: 7

The HttpContext.Cache object is configured to cache information supplied by Consolidated


Messenger. You have been instructed to make sure that, when new information is supplied, the
cache is suitably updated.

Which of the following actions should you take?

A. You should consider making use of the CacheDependency type that was configured to watch
the HTTP target folder.
B. You should consider making use of the CacheDependency type that was configured to watch
the HTTPS target folder.
C. You should consider making use of the CacheDependency type that was configured to watch
the SSL target folder.
D. You should consider making use of the CacheDependency type that was configured to watch

"Pass Any Exam. Any Time." - www.actualtests.com 5


Microsoft 70-487 Exam
the SFTP target folder.

Answer: D
Explanation:

QUESTION NO: 8

You are preparing to write the necessary code to add Consolidated Messenger data as per the
prerequisites.

Which of the following should be included in your code?

A. You should consider making use of the OleDbErrorCollection class.


B. You should consider making use of the OleDbFactory class.
C. You should consider making use of the OleDbConnection class.
D. You should consider making use of the OleDbDataAdapter class.

Answer: C
Explanation:

QUESTION NO: 9

You are preparing to write the necessary code to add Consolidated Messenger data as per the
prerequisites.

Which of the following should be included in your code?

A. You should consider making use of the OleDbDataReader class.


B. You should consider making use of the OleDbErrorCollection class.
C. You should consider making use of the OleDbFactory class.
D. You should consider making use of the OleDbDataAdapter class.

Answer: A
Explanation:

QUESTION NO: 10

You have previously written code that allows for converted historical data to be supplied by a

"Pass Any Exam. Any Time." - www.actualtests.com 6


Microsoft 70-487 Exam
custom method. You are now preparing to make sure that this data is as a series of XML elements
to the response stream within a root element.

You are required to write the necessary code that includes a class which represents elements in
an XML tree that supports deferred streaming output.

Which of the following is the class that should be included?

A. The XProcessingInstruction class.


B. The XNode class.
C. The XStreamingElement class.
D. The XDocument class.

Answer: C
Explanation:
References:
http://msdn.microsoft.com/en-us/library/system.xml.linq.xstreamingelement.aspx
http://msdn.microsoft.com/en-us/library/bb551307.aspx

QUESTION NO: 11

You have previously written code that allows for converted historical data to be supplied by a
custom method. You are now preparing to make sure that this data is as a series of XML elements
to the response stream within a root element.

You are required to write the necessary code which includes a method of the XStreamingElement
class that allows for the streaming element to be written to an XmlWriter.

Which of the following is the method that should be included?

A. The Save(Stream) method.


B. The Save(XmlWriter) method.
C. The Save(String) method.
D. The WriteTo method.

Answer: D
Explanation:
References:
http://msdn.microsoft.com/en-us/library/system.xml.linq.xstreamingelement.aspx

"Pass Any Exam. Any Time." - www.actualtests.com 7


Microsoft 70-487 Exam
http://msdn.microsoft.com/en-us/library/bb551307.aspx

Topic 2, Scenario 2

Background

You are making use of Visual Studio 2012 to create an ASP.NET MVC order processing
application.

Business Prerequisites

You have been informed that the application should include a page that queries a peripheral
database for orders that are ready to be processed, as well as a page that displays processed
orders. The application should also include a page that displays supplier details.

The retrieval of peripheral information should require the consumption of three WCF services.

Technical Prerequisites

The Visual Studio solution includes three WCF service projects. One for communicating with the
peripheral order database, one for submitting order data to a peripheral data source, and one to
obtain transport data. The solution should also include an ASP.NET MVC project for processing
orders and logging order metadata.

The three WCF service projects are named PeripheralQueue, OrderUpload, and Transport. The
ASP.NET MVC project is named OrderProcessor.

The PeripheralQueue project makes use of Entity Framework to access data. Entities have been
specified in a file, named PeripheralOrders.edmx. Two services, which are included in the project,
have been specified in the IPeripheralQueueService.es and the PeripheralQueueService.svc files.
A definition for a class, named OrderNotFound Exception, has been included in the
PeripheralQueue.Helpers namespace.

The OrderProcessor project makes use of Entity Framework to access data. Entities have been
specified in a file, named ProcessedOrders.edmx. Two services, which are included in the project,
have been specified in the InboundQueueController.es and the ProcessedOrderController.es files.

You have generated WCF service proxies to the PeripheralQueue, Transport and OrderUpload
services via the command prompt. The PeripheralQueueService.svc file includes the
ExecuteCommandProcedure() method, which should be executed asynchronously.

"Pass Any Exam. Any Time." - www.actualtests.com 8


Microsoft 70-487 Exam
Prerequisites for the ProcessedOrderController controller are shown below:

A 5 minute absolute cache expiration policy should be applied by the GetSupplierPolicy() method.

The last 20 orders that were processed should be presented by the GetProcessedOrders()
method.

Two services, which are included in the OrderUpload project, have been specified in the
IUploadCallbackService.es and the UploadCallbackService.svc files. A file named UploadOrder.es
is configured to handle access to data.

The Transport project makes use of Entity Framework to access data. Entities have been specified
in a file, named PeripheralOrders.edmx. The PeripheralOrders.edmx does not include the Custom
Tool property.

Two services, which are included in the project, have been specified in the ITransportService.es
and the TransportService.svc files.

The TransportAddress.es file is configured to host the POCO classes for the Entity Model. Lazy
loading should be employed to load the POCO entity.

An operation that receives an order number as a parameter should be included in the


ITransportService contract. This operation should be configured to retrieve a class that inherits
from the State class.

QUESTION NO: 12

After the ExternalQueueService service’s GetPeripheralOrder() method produces a runtime error,


you are informed that the method should be configured to query the database for a record that
corresponds with the orderNum parameter passed to the method.

You are required to make changes to the previously written code to achieve your goal.

Which of the following actions should you take?

A. You should consider making change to the queryString string.


B. You should consider making change to the DisplayName string.
C. You should consider making change to the EmailAddress string.
D. You should consider making change to the Name string.
E. You should consider making change to the Type string.

"Pass Any Exam. Any Time." - www.actualtests.com 9


Microsoft 70-487 Exam
Answer: A
Explanation:

QUESTION NO: 13

Subsequent to creating a class named TransportData, you are required make changes to both the
ITransportService interface and the TransportData class as per the prerequisites.

You are preparing to write the necessary code.

Which of the following should be included in this code?

A. You should consider including the ServiceConfiguration attribute.


B. You should consider including the ServiceHost attribute.
C. You should consider including the ServiceContract attribute.
D. You should consider including the ServiceSecurityContext attribute.

Answer: C
Explanation:

QUESTION NO: 14

You are preparing to generate the TransportContext class in keeping with the prerequisites.

You are in the process of writing the necessary code.

Which of the following is the class that should be included in your code?

A. The ObjectResult class.


B. The ObjectContext class.
C. The ObjectQuery class.
D. The ObjectParameterclass.

Answer: B
Explanation:

QUESTION NO: 15

You have been instructed to satisfy part of the technical prerequisites by altering the
ExecuteCommandProcedure() method.

"Pass Any Exam. Any Time." - www.actualtests.com 10


Microsoft 70-487 Exam
You are preparing to write the necessary code.

Which of the following should be included in your code?

A. A lock statement.
B. A fixed statement.
C. An await statement.
D. A yield return statement.

Answer: C
Explanation:

QUESTION NO: 16

You are preparing to write the necessary code to configure the GetProcessedOrders() method in
accordance with the prerequisites for the ProcessedOrderController controller.

Which of the following is a method that should be included in your code?

A. The ToArray method.


B. The Sum method.
C. The Take method.
D. The Skip method.

Answer: C
Explanation:

QUESTION NO: 17

You are required to make sure that data is presented by the InboundQueueController controller via
the GetQueueItems() method. You are required to make sure that this occurs by calling the
GetExternalOrders() method in the ExternalQueueService service.

Which of the following is the class that you should make use of?

A. You should consider making use of the CorrelationQuery class.


B. You should consider making use of the OperationContext class.
C. You should consider making use of the ChannelFactory class.
D. You should consider making use of the ChannelTerminatedException class.

Answer: C

"Pass Any Exam. Any Time." - www.actualtests.com 11


Microsoft 70-487 Exam
Explanation:

QUESTION NO: 18

You are preparing to make sure that a FaultException exception occurs for the
DeletePeripheralOrder() method in the PeripheralQueueService service.

You are preparing to write the necessary code to make sure that the exception is thrown.

Which of the following actions should you take?

A. You should consider writing code that initializes a new instance of the FaultException class
using the specified reason and SOAP fault code.
B. You should consider writing code that initializes a new instance of the FaultException class
using the specified SOAP fault code.
C. You should consider writing code that initializes a new instance of the FaultException class
using the specified reason.
D. You should consider writing code that initializes a new instance of the FaultException class
using the specified fault code.

Answer: C
Explanation:

QUESTION NO: 19

You have been instructed to make sure that task-based asynchronous method signatures are
added to the service proxies. To achieve this, you are required to make use of a specific tool to
redevelop the service proxies.

Which of the following actions should you take?

A. You should consider making use of the ServiceModel Metadata Utility tool.
B. You should consider making use of the Configuration Editor Tool.
C. You should consider making use of the ServiceModel Registration Tool.
D. You should consider making use of the Service Trace Viewer Tool.

Answer: A
Explanation:
References:

"Pass Any Exam. Any Time." - www.actualtests.com 12


Microsoft 70-487 Exam
http://msdn.microsoft.com/en-us/library/aa347733.aspx

QUESTION NO: 20

You have been tasked with writing code to change the ExecuteCommandProcedure() method to
meet the prerequisites stipulated in the scenario.

Which of the following should be included in your code?

A. The ExecuteScalarAsync Method method.


B. The ExecuteNonQueryAsync method.
C. The ExecuteDbDataReaderAsync Method method.
D. The ExecuteReader Methodmethod.

Answer: B
Explanation:

QUESTION NO: 21

You are in the process of writing code to make sure that the GetSupplier() method in the
ProcessedOrderController controller only queries the database if the cache is null.

Which of the following actions should you take?

A. You should consider including the ToArray method.


B. You should consider including the ToString method.
C. You should consider including the ToList method.
D. You should consider including the Skip method.

Answer: C
Explanation:

QUESTION NO: 22

You are preparing to alter the entities in the designer to make sure that the QueueDetail entity
type inherits the InboundQueue entity type in the ExternalQueue service project. You want to
make sure that table-per-type inheritance is made use of.

"Pass Any Exam. Any Time." - www.actualtests.com 13


Microsoft 70-487 Exam
Which of the following actions should you take?

A. You should consider accessing InboundQueue to delete the OrderNum property.


B. You should consider accessing QueueDetail to add the OrderNum property.
C. You should consider accessing InboundQueue to add the OrderNum property.
D. You should consider accessing QueueDetail to delete the OrderNum property.

Answer: D
Explanation:
References:
http://www.robbagby.com/entity-framework/entity-framework-modeling-table-per-type-inheritance/

Topic 3, Mix Questions

QUESTION NO: 23

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating an ADO.NET Entity Framework application for ABC.com. You
are preparing to make use of EdmGen.exe from the command line, to authenticate the CSDL,
SSDL, and MSL files. The mode used for this should also allow for errors or warnings to be
shown.

Which of the following is the mode of the EdmGen.exe tool that should be specified?

A. The /mode:ValidateArtifacts mode.


B. The /mode:FullGeneration mode.
C. The /mode:FromSSDLGeneration mode.
D. The /mode:ViewGeneration mode.

Answer: A
Explanation:
References:
http://msdn.microsoft.com/en-us/library/bb387165.aspx

QUESTION NO: 24

"Pass Any Exam. Any Time." - www.actualtests.com 14


Microsoft 70-487 Exam
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a new application using ASP.NET Web API. You have been
informed that blog administrators should have the ability to regulate blog comments. You,
therefore, have to configure the use of a suitable HTTP verb.

Which of the following is the HTTP verb you should use?

A. GET
B. SET
C. LOCATE
D. PUT

Answer: D
Explanation:

QUESTION NO: 25

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating an ASP.NET MVC web application for ABC.com. You have
included an HTML for a client table in the application.

You have previously created an ASP.NET Web API application, which is configured to include a
client retrieval request. You have been informed that the format used to send and retrieve client
information, should be in the smallest size it can be.

You then receive instructions to write the necessary code to create a script for making sure that
the HTML is suitably updated to include information from the Web API application.

Which of the following is a data type that should be included in your code?

A. The AJAX data type.


B. The XML data type.
C. The JSON data type.
D. The XAML data type.

Answer: C

"Pass Any Exam. Any Time." - www.actualtests.com 15


Microsoft 70-487 Exam
Explanation:

QUESTION NO: 26

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a new application using ASP.NET MVC Web API. You have
been informed that the Web API method names should correspond with the RESTful services
naming recommendations.

Which of the following is a suitable method to retrieve data in an HTTP service?

A. The SET method.


B. The GET method.
C. The PUT method.
D. The POST method.

Answer: B
Explanation:
References:
http://msdn.microsoft.com/en-us/library/ff478141.aspx

QUESTION NO: 27

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating ASP.NET MVC Web API application. You are required to write
code that includes a member of the TransferMode Enumeration.

The selected member should allow for the request message to be buffered and the response
message to be streamed.

Which of the following actions should you take?

A. You should consider making use of the Buffered member.


B. You should consider making use of the Streamed member.
C. You should consider making use of the StreamedRequest member.

"Pass Any Exam. Any Time." - www.actualtests.com 16


Microsoft 70-487 Exam
D. You should consider making use of the StreamedResponse member.

Answer: D
Explanation:

QUESTION NO: 28

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You have been informed that ABC.com websites must be migrated from IIS 6 to IIS 7.5. You have
been tasked with performing the migration, even though SSH or a VPN is inaccessible to you.

Which of the following actions should you take?

A. You should consider making use of the Gpupdate tool.


B. You should consider making use of the Web Deploy tool.
C. You should consider making use of an SDK.
D. You should consider broadcasting the websites.

Answer: B
Explanation:

QUESTION NO: 29

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a new application using ASP.NET MVC. You have been
informed that a suitable deployment tool should be made available to administrators who have
been assigned the necessary elevated permissions for deploying the application. Visual Studio
2102 is inaccessible to these administrators.

Which of the following actions should you take?

A. You should consider configuring the use of an SDK.


B. You should consider broadcasting the application.
C. You should consider configuring the use of Gpupdate.
D. You should consider configuring the use of Web Deployment Package.

Answer: D

"Pass Any Exam. Any Time." - www.actualtests.com 17


Microsoft 70-487 Exam
Explanation:

QUESTION NO: 30

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a set of libraries for ABC.com. To make sure that the libraries a
shared throughout ABC.com, you have to generate a NuGet feed that exposes the libraries.

Which of the following actions should you take FIRST?

A. You should consider installing the NuGet.Feed package.


B. You should consider installing the NuGet.Server package.
C. You should consider installing the NuGet.Client package.
D. You should consider installing the NuGet.Library package.

Answer: B
Explanation:

QUESTION NO: 31

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You have created a new ASP.NET MVC application for ABC.com. The Secure Sockets Layer
(SSL) protocol has been configured to secure the application.

You are preparing to create a deployment package that should contain the installation of the SSL
certificate.

Which of the following actions should you take?

A. You should consider creating a web publish pipeline target file that includes a custom web
deploy target.
B. You should consider creating a web publish pipeline target file that includes the default web
deploy target.
C. You should consider extending the CopyAllFilesToSharedFolder target in the project file.
D. You should consider extending the CopyAllFilesToSharedFolder target in the target file.

Answer: A

"Pass Any Exam. Any Time." - www.actualtests.com 18


Microsoft 70-487 Exam
Explanation:

QUESTION NO: 32

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a library that should be configured to support numerous
ASP.NET MVC web applications on ABC.com’s shared server. The library will be used to supply
security algorithm applications.

You have been informed that a new version of the library must be generated and installed as soon
as an issue with any of the security algorithms arises. Updating the library should not require the
application to be offline for longer than necessary.

You want to make sure that the new edition of the library is available to application in the least
time required.

Which of the following actions should you take FIRST?

A. You should consider installing the security assembly in the Global Catalog.
B. You should consider installing the security assembly in a Global Group.
C. You should consider installing the security assembly in the Global Names Zone.
D. You should consider installing the security assembly in the Global Assembly Cache (GAC).

Answer: D
Explanation:

QUESTION NO: 33

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a new application using ASP.NET MVC. The new application
will be configured to read and write information from a ABC.com database.

You have decide to configure the application to make use of an isolation level that holds shared
locks while the information is being read for the purpose of avoiding dirty reads.

"Pass Any Exam. Any Time." - www.actualtests.com 19


Microsoft 70-487 Exam
Which of the following is the isolation level in question?

A. The ReadCommitted isolation level.


B. The Chaos isolation level.
C. The RepeatableRead isolation level.
D. The Unspecified isolation level.

Answer: A
Explanation:

QUESTION NO: 34

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a new Windows Azure based web application. You are
configuring the use of a storage service that allows for storing large amounts of unstructured data
that can be accessed from anywhere in the world via HTTP or HTTPS.

Which of the following is the storage service you are planning to use?

A. Table storage.
B. Queue storage.
C. Blob storage.
D. SQL Database.

Answer: C
Explanation:

QUESTION NO: 35

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a self-hosted WCF service that must be accessible to client
applications. You are preparing to write the necessary code to allow for this.

Which method of the ServiceHost class must be included in your code?

A. The BeginClose method.


B. The BeginOpen method.

"Pass Any Exam. Any Time." - www.actualtests.com 20


Microsoft 70-487 Exam
C. The AddServiceEndpoint method.
D. The ApplyConfiguration method.

Answer: C
Explanation:

QUESTION NO: 36

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a WCF service. The service is configured to evaluate a number
of information supplies, resulting in extensive processing.

You have been instructed to make sure that, even though the service is active, the client keeps on
running. You also have to make sure that when the service stops running, communication with the
client application is launched.

Which of the following actions should you take to complete your task?

A. You should consider configuring the use of the Send message pattern.
B. You should consider configuring the use of the Return message pattern.
C. You should consider configuring the use of the Duplex message pattern.
D. You should consider configuring the use of the Reaction message pattern.

Answer: C
Explanation:

QUESTION NO: 37

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a WCF service that will be configured to make use of
NetTcpBinding in transport security mode. The service will also make use of Ntlm authentication.

You need to write code that includes a binding class that represents an interoperable binding,
which allows for distributed transactions and secure, reliable sessions.

What binding class should you make use of?

"Pass Any Exam. Any Time." - www.actualtests.com 21


Microsoft 70-487 Exam
A. The BasicHttpBinding class.
B. The MsmqBindingBase class.
C. The NetHttpBinding class.
D. The WSHttpBinding class.

Answer: D
Explanation:

QUESTION NO: 38

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a WCF service that makes use of the PerCall instancing mode.

Which of the following suitably describes the reason for using this instancing mode?

A. It allows for a new service instance to be generated for every new client request, and
maintained for as long as the session lasts.
B. It allows for a single instance of the service class to handle multiple client requests.
C. It allows for a new service instance to be generated for every client request.
D. It prevents a new service instance from being generated for every client request.

Answer: C
Explanation:

QUESTION NO: 39

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a WCF service that must be able to stream messages to
Intranet clients. You have been informed that all messages should be binary encoded. You have
also been told to make use of Windows Authentication.

You are preparing to write the necessary code to configure the service.

Which of the following is the type of binding that should be included in your code?

A. BasicHttpBinding.
B. HttpBindingBase.

"Pass Any Exam. Any Time." - www.actualtests.com 22


Microsoft 70-487 Exam
C. netTcpBinding.
D. WSHttpBinding.

Answer: C
Explanation:

QUESTION NO: 40

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a WCF service that makes use of the PerSession instancing
mode.

Which of the following suitably describes the reason for using this instancing mode?

A. It allows for a new service instance to be generated for every new client request, and
maintained for as long as the session lasts.
B. It allows for a single instance of the service class to handle multiple client requests.
C. It allows for a new service instance to be generated for every client request.
D. It prevents a new service instance from being generated for every client request.

Answer: A
Explanation:

QUESTION NO: 41

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a WCF service for ABC.com. you have been informed that you
have to make sure that the endpoints of the service is exposed to the Windows Azure Service
Bus.

Which of the following actions should you take?

A. You should consider making changes to the app.config file.


B. You should consider making changes to the web.config file.
C. You should consider making changes to the machine.config file.
D. You should consider making changes to the service.config file.

"Pass Any Exam. Any Time." - www.actualtests.com 23


Microsoft 70-487 Exam
Answer: B
Explanation:

QUESTION NO: 42

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a WCF service that will be configured to make use of
NetTcpBinding in transport security mode.

You need to bind ClientCredentialType property to an authentication type that can be used when
Kerberos authentication cannot be used for whatever reason.

Which of the following actions should you take?

A. You should consider making use of Digest authentication.


B. You should consider making use of Ntlm authentication.
C. You should consider making use of Windows authentication.
D. You should consider making use of Certificate authentication.

Answer: B
Explanation:

QUESTION NO: 43

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating ASP.NET MVC Web API application. You are required to write
code that includes a member of the TransferMode Enumeration.

The selected member should allow for the request message to be streamed and the response
message to be buffered.

Which of the following actions should you take?

A. You should consider making use of the Buffered member.


B. You should consider making use of the Streamed member.
C. You should consider making use of the StreamedRequest member.

"Pass Any Exam. Any Time." - www.actualtests.com 24


Microsoft 70-487 Exam
D. You should consider making use of the StreamedResponse member.

Answer: C
Explanation:

QUESTION NO: 44

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a new application using ASP.NET Web API. You have been
informed that blog administrators should have the ability to remove comments from blogs. You,
therefore, have to configure the use of a suitable HTTP verb.

Which of the following is the HTTP verb you should use?

A. CUT
B. DELETE
C. COPY
D. SEND

Answer: B
Explanation:

QUESTION NO: 45

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating an ASP.NET Web API application for ABC.com. The application
will be used for various alterations. A composite application from a different web domain will used
to allow a web browser to consume the alterations.

You are preparing to write code to suitably configure the Web API. The code will include the
Access-Control-Allow-Origin header.

Which of the following is the value that should be specified for the Access-Control-Allow-Origin
header?

A. @

"Pass Any Exam. Any Time." - www.actualtests.com 25


Microsoft 70-487 Exam
B. %
C. *
D. :

Answer: C
Explanation:

QUESTION NO: 46

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are in the process of creating a new application using ASP.NET MVC. The new application
will be configured to read and write information from a ABC.com database.

You have decide to configure the application to make use of an isolation level that places a range
lock on the data set, thereby preventing other users from updating or inserting rows into the
dataset until the transaction has been completed.

Which of the following is the isolation level in question?

A. The RepeatableRead isolation level.


B. The Chaos isolation level.
C. The Serializable isolation level.
D. The Unspecified isolation level.

Answer: C
Explanation:

QUESTION NO: 47

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

ABC.com has an application that queries and accesses information via the ADO.NET Entity
Framework. You want to update the ADO.NET Entity Framework to the newest addition because it
includes bug fixes to enhance functionality.

Which of the following actions should you take?

"Pass Any Exam. Any Time." - www.actualtests.com 26


Microsoft 70-487 Exam
A. You should consider accessing the Architecture menu in Visual Studio 2012 and select Library
Package Manager.
B. You should consider accessing the Tools menu in Visual Studio 2012 and select Library
Package Manager.
C. You should consider accessing the Analyze menu in Visual Studio 2012 and select Library
Package Manager.
D. You should consider accessing the Tools menu in Visual Studio 2012 and select Extension
Manager.

Answer: B
Explanation:

QUESTION NO: 48

You are employed as a senior developer at ABC.com. ABC.com has a single Active Directory
domain, named ABC.com.

You are running a training exercise for junior developers. You are currently discussing the Publish
Web Site Tool.

Which of the following suitably describes the Publish Web Site Tool?

A. It is a .zip file that contains all the information needed for deployment.
B. It is a tool that precompiles the files in a Web site project and then writes the output to a folder
that you stipulate.
C. It is a .config file that contains all the information needed for deployment.
D. It is a feature in Visual Studio that lets you deploy directly from the Visual Studio IDE by clicking
a button.

Answer: B
Explanation:

QUESTION NO: 49

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are running a training exercise for junior developers. You are currently discussing the use of
Table storage.

Which of the following best describes the use of Table storage?

"Pass Any Exam. Any Time." - www.actualtests.com 27


Microsoft 70-487 Exam
A. To store large amounts of structured data.
B. To store your data on a back-end server and retrieve the data over the network.
C. To store large numbers of messages that can be accessed from anywhere in the world via
authenticated calls using HTTP or HTTPS.
D. To store large amounts of unstructured data that can be accessed from anywhere in the world
via HTTP or HTTPS.

Answer: A
Explanation:

QUESTION NO: 50

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.

You are running a training exercise for junior developers. You are currently discussing the one-
way message pattern.

Which of the following is another name for this message pattern?

A. Streaming.
B. Request-reply.
C. Callback.
D. Datagram.

Answer: D
Explanation:

"Pass Any Exam. Any Time." - www.actualtests.com 28

You might also like