2014年7月1日星期二

L'avènement de la certification Microsoft pratique d'examen 70-576 70-513 questions et réponses

Pass4Test possède un l'outil de formation particulier à propos de test Microsoft 70-576. Vous pouvez améliorer les techniques et connaissances professionnelles en coûtant un peu d'argent à courte terme, et vous preuver la professionnalité dans le future proche. L'outil de formation Microsoft 70-576 offert par Pass4Test est recherché par les experts de Pass4Test en profitant les expériences et les connaissances riches.

Dans cette société de l'information technologies, c'est bien populaire que l'on prenne la formation en Internet, Pass4Test est l'un des sites d'offrir la formation particulère pour le test Microsoft 70-513. Pass4Test a une expérience riche pour répondre les demandes des candidats.

Si vous voulez ne se soucier plus à passer le test Microsoft 70-513, donc vous devez prendre la Q&A de Pass4Test comme le guide d'étude pendant la préparation de test Microsoft 70-513. C'est une bonne affaire parce que un petit invertissement peut vous rendre beaucoup. Utiliser la Q&A Microsoft 70-513 offerte par Pass4Test peut vous assurer à réussir le test 100%. Pass4Test a toujours une bonne réputation dans l'Industrie IT.

Code d'Examen: 70-576
Nom d'Examen: Microsoft (Designing and Developing Microsoft SharePoint 2010 Applications)
Questions et réponses: 172 Q&As

Code d'Examen: 70-513
Nom d'Examen: Microsoft (TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4)
Questions et réponses: 163 Q&As

Vous Microsoft 70-513 pouvez télécharger le démo Microsoft 70-513 gratuit dans le site Pass4Test pour essayer notre qualité. Une fois vous achetez le produit de Pass4Test, nous allons faire tous effort à vous aider à réussir le test à la première fois et vous laisser savoir qu'il ne faut pas beaucoup de travaux pour réussir ce que vous voulez.

Pass4Test est un bon site d'offrir la facilité aux candidats de test Microsoft 70-576. Selon les anciens test, l'outil de formation Microsoft 70-576 est bien proche de test réel.

Choisir le produit fait avec tous efforts des experts de Pass4Test vous permet à réussir 100% le test Certification IT. Le produit de Pass4Test est bien certifié par les spécialistes dans l'Industrie IT. La haute qualité du produit Pass4Test ne vous demande que 20 heures pour préparer, et vous allez réussir le test Microsoft 70-513 à la première fois. Vous ne refuserez jamais pour le choix de Pass4Test, parce qu'il symbole le succès.

Vous aurez le service de la mise à jour gratuite pendant un an une fois que vous achetez le produit de Pass4Test. Vous pouvez recevoir les notes immédiatement à propos de aucun changement dans le test ou la nouvelle Q&A sortie. Pass4Test permet tous les clients à réussir le test Microsoft 70-576 à la première fois.

70-513 Démo gratuit à télécharger: http://www.pass4test.fr/70-513.html

NO.1 host.Description.Behaviors.Add(new RoutingBehavior(rc));
Request-reply operations are failing. You need to ensure that the router can handle one-way and
request-reply operations.
What should you do?
A.Change line 03 as follows:
typeof(IRequestReplyRouter),
B.Change line 03 as follows:
typeof(IDuplexSessionRouter),
C.Change line 10 as follows:
typeof(IRequestReplyRouter)
D.Change line 10 as follows:
typeof(IDuplexSessionRouter)
Answer: B

Microsoft examen   70-513   70-513   certification 70-513
12.You are modifying an existing Windows Communication Foundation (WCF) service that is defined as
follows:
[ServiceContract]
public interface IMessageProcessor
{
[OperationContract]
void ProcessMessages();
}
public class MessageProcessor: IMessageProcessor
{
public void ProcessMessage();
SubmitOrder();
}
SubmitOrder makes a call to another service. The ProcessMessage method does not perform as
expected under a heavy load.
You need to enable processing of multiple messages. New messages must only be processed when the
ProcessMessage method is not processing requests,
or when it is waiting for calls to SubmitOrder to return.
Which attribute should you apply to the MessageProcessor class?
A.CallbackBehavior(ConcurrencyMode=ConcurencyMode.Reentrant)
B.CallbackBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)
C.ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Reentrant)
D.ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)
Answer: C

certification Microsoft   70-513   70-513   70-513 examen
13.A Windows Communication Foundation (WCF) service listens for messages at
net.tcp://www.contoso.com/MyService.
It has a logical address at http://www.contoso.com/MyService. The configuration for the WCF client is as
follows:
<endpoint address="http://www.contoso.com/MyService"
binding="netTcpBinding"
bindingConfiguraton="NetTcpBinding_IMyService"
contract="ServiceReference1.IMyService"
name="NetTcpBinding_IMyService"/>
The generated configuration does not provide enough information for the client to communicate with the
server.
You need to update the client so that it can communicate with the server. What should you do?
A.In the client configuration, change the value of the address attribute to
net.tcp://www.contoso.com/MyService
B.In the client configuration, change the value of the address attribute to
net.tcp://www.contoso.com/MyService listen=http://www.contoso.com/MyService.
C.After instantiating the client and before invoking any service operation, add this line of code.
EndpointBehaviors.Add(new EndpointDiscoveryBehavior(){ Enabled = true });
D.After instantiating the client and before invoking any service operation, add this line of code.
client.Endpoint.Behaviors.Add(new ClientViaBehavior(new
Uri("net.tcp://www.contoso.com/IMyService")));
Answer: D

certification Microsoft   certification 70-513   70-513 examen   70-513 examen
14.A Windows Communication Foundation (WCF) service is self-hosted in a console application.
The service implements the IDataAccess contract, which is defined in the MyApplication namespace.
The service is implemented in a class named DataAccessService which implements the IDataAccess
interface and also is defined in the MyApplication namespace. The hosting code is as follows.
(Line numbers are included for reference only.)
01 static void Main(string[] args)
02 {
03 ServiceHost host;
04 ...
05 host.Open();
06 Console.ReadLine();
07 host.Close();
08 }
You need to create a ServiceHost instance and assign it to the host variable. You also need to instantiate
the service host.
Which line of code should you insert at line 04?
A.host = new ServiceHost("MyApplication.DataAccessService");
B.host = new ServiceHost("MyApplication.DataAccess");
C.host = new ServiceHost(typeof(IDataAccess));
D.host = new ServiceHost(typeof(DataAccessService));
Answer: D

Microsoft   70-513   70-513   70-513 examen   certification 70-513   certification 70-513
15.A Windows Communication Foundation (WCF) service implements the following contract.
[ServiceContract]
public interface IHelloService
{
[OperationContract(WebGet(UriTemplate="hello?name={name}"))]
string SayHello(string name);
}
The implementation is as follows:
public class HelloService: IHelloService
{
public string SayHello(string name)
{
return "Hello " + name;
}
}
The service is self-hosted, and the hosting code is as follows:
WebServiceHost svcHost = CreateHost();
svcHost.Open();
Console.ReadLine();
svcHost.Close();
You need to implement CreateHost so that the service has a single endpoint hosted at
http://localhost:8000/HelloService.
Which code segment should you use?
A.WebServiceHost svcHost = new WebServiceHost(typeof(HelloService));
svcHost.AddServiceEndpoint(typeof(IHelloService),
new WebHttpBinding(WebHttpSecurityMode.None),
"http://localhost:8000/HelloService");
return svcHost;
B.Uri baseAddress = new Uri("http://localhost:8000");
WebServiceHost svcHost = new WebServiceHost(typeof(HelloService), baseAddress);
svcHost.AddServiceEndpoint(typeof(IHelloService),
new WebHttpBinding(WebHttpSecurityMode.None),
"HelloService");
return svcHost;
C.WebServiceHost svcHost = new WebServiceHost(new HelloService());
svcHost.AddServiceEndpoint(typeof(IHelloService),
new WebHttpBinding(WebHttpSecurityMode.None),
"http://localhost:8000/HelloService");
retumn svcHost
D.Uri baseAddress = new Uri("http://localhost:8000/");
WebServiceHost svcHost = new WebServiceHost(new HelloService(), baseAddress);
svcHost.AddServiceEndpoint(typeof(IHelloService),
new WebHttpBinding(WebHttpSecurityMode.None),
"HelloService");
retumn svcHost;
Answer: B

Microsoft examen   70-513   certification 70-513
16.You are building a client for a Windows Communication Foundation (WCF) service.
You need to create a proxy to consume this service. Which class should you use?
A.ChannelFactory<TChannel>
B.ServiceHost
C.ClientRuntime
D.CommunicationObject
Answer: A

Microsoft examen   70-513   70-513 examen   70-513 examen
17.You are working with a Windows Communication Foundation (WCF) client application that has a
generated proxy named SampleServiceProxy.
When the client application is executing, in line 04 of the following code, the channel faults (Line numbers
are included for reference only.)
01 SampleServiceProxy proxy = new SampleServiceProxy();
02 try
03 {
04 proxy.ProcessInvoice(invoice);
05 }
06 catch
07 {
08 if(proxy.State == CommunicationState.Faulted)
09 {
10 ...
11 }
12 }
13 proxy.UpdateCustomer(customer);
You need to return proxy to a state in which it can successfully execute the call in line 13.
Which code segment should you use at line 10?
A.proxy.Close();
B.proxy = new SampleServiceProxy();
C.proxy.Abort();
D.proxy.Open();
Answer: B

certification Microsoft   certification 70-513   70-513 examen   70-513
18.A Windows Communication Foundation (WCF) service has a callback contract. You are developing a
client application that will call this service.
You must ensure that the client application can interact with the WCF service. What should you do?
A.On the OperationContractAttribute, set the AsyncPattern property value to true.
B.On the OperationContractAttribute, set the ReplyAction property value to the endpoint address of the
client.
C.On the client, create a proxy derived from DuplexClientBase<TChannel>.
D.On the client, use GetCallbackChannel<T>.
Answer: C

Microsoft examen   certification 70-513   70-513 examen   70-513 examen   70-513

NO.2 You are creating a Windows Communication Foundation (WCF) service. You have the following
requirements:
Messages must be sent over TCP
The service must support transactions.
Messages must be encoded using a binary encoding
Messages must be secured using Windows stream-based security.
You need to implement a custom binding for the service. In which order should the binding stack be
configured?
A.tcpTransport, windowsStreamSecurity, transactionFlow, binaryMessageEncoding
B.transactionFlow, binaryMessageEncoding, windowsStreamSecurity, tcpTransport
C.windowsStreamSecurity, tcpTransport, binaryMessageEncoding, transactionFlow
D.binaryMessageEncoding, transactionFlow, tcpTransport, windowsStreamSecurity
Answer: B

certification Microsoft   certification 70-513   70-513   70-513   certification 70-513

NO.3 You are creating a Windows Communication Foundation (WCF) service that implements operations in a
RESTful manner.
You need to add a delete operation. You implement the delete method as follows:
void DeleteItems(string id);
You need to configure WCF to call this method when the client calls the service with the HTTP DELETE
operation. What should you do?
A.Add the WebInvoke(UriTemplate="/Items/{id}", Method="DELETE") attribute to the operation
B.Add the HttpDelete atribute to the operation
C.Replace the string parameter with a RemovedActivityAction parameter
D.Replace the return type with RemovedActivityAction.
Answer: A

certification Microsoft   70-513 examen   certification 70-513

NO.4 A Windows Communication Foundation (WCF) service uses the following service contract.
[ServiceContract]
public interface IService
{
[OperationContract]
string Operation1(string s);
}
You need to ensure that the operation contract Operation1 responds to HTTP POST requests.
Which code segment should you use?
A.[OperationContract]
[WebInvoke(Method="POST")]
string Operation1(string s);
B.[OperationContract]
[WebGet(UriTemplate="POST")]
string Operation1(string s);
C.[OperationContract(ReplyAction="POST")]
string Operation1(string s);
D.[OperationContract(Action="POST")]
string Operation1(string s);
Answer: A

Microsoft examen   70-513   certification 70-513   certification 70-513   certification 70-513

NO.5 A class named TestService implements the following interface:
[ServiceContract]
public interface ITestService
{
[OperationContract]
DateTime GetServiceTime();
}
TestService is hosted in an ASP.NET application.
You need to modify the application to allow the GetServiceTime method to return the data formatted as
JSON.
It must do this only when the request URL ends in /ServiceTime. What should you do?
A.Add this attribute to the GetServiceTime method.
[WebInvoke(Method="POST")]
In the web.config file, add this element to system.serviceModel/behaviors/endpointBehaviors.
<behavior name="Json">
<enableWebScript />
</behavior>
In the web.config file, configure TestService in the system.serviceModel/services collection as follows:
<service name="TestService">
<endpoint address="/ServiceTime"
contract="TestService"
behaviorConfiguration="Json"
binding="webHttpBinding" />
</service>
B.Add this attribute to the GetServiceTime method.
[WebInvoke(Method="GET", UriTemplate="/ServiceTime", ResponseFormat=WebMessageFormat.Json)]
In the web.config file, configure TestService in the system.serviceModel/services collection as follows:
<service name="TestService">
<endpoint address="/ServiceTime"
contract="TestService"
binding="webHttpBinding"/>
</service>
C.Add this attribute to the GetServiceTime method
[WebGet(ResponseFormat=WebMessageFormat.Json, UriTemplate="/ServiceTime")]
Create a new svc file named Jsonversion.svc with the following content.
<% @ServiceHost Service="TestService"
Factory="System.ServiceModel.ActivationWebServiceHostFactory" %>
D.Add this attribute to the GetServiceTime method.
[WebGet(UriTemplate="Json)/ServiceTime")]
Create a new .svc file named Jsonversion.svc with the following content
<% @ServiceHost Service="TestService"
Factory="System.ServiceModel.ActivationWebServiceHostFactory" %>
Answer: C

Microsoft examen   70-513 examen   certification 70-513   certification 70-513

NO.6 The following is an example of a SOAP envelope.
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope">
<s:Header>
<h:StoreId xmlns:h="http://www.contoso.com">6495</h:StoreId>
</s:Header>
<s:Body>
<CheckStockRequest xmlns="http://www.contoso.com">
<ItemId>2469<ItemId>
</CheckStockRequest>
</s: Body>
</s:Envelope>
You need to create a message contract that generates the SOAP envelope.
Which code segment should you use?
A.[MessageContract(WrapperName="http://www.contoso.com")]
public class CheckStockRequest
{
[MessageHeader(Namespace="http://www.contoso.com")]
public int StoreId { get; set; }
[MessageBodyMember(Namespace="http://www.contoso.com")]
public int ItemId { get; set; }
}
B.[MessageContract(WrapperNamespace="http://www.contoso.com")]
public class CheckStockRequest
{
[MessageHeader(Namespace="http://www.contoso.com")]
public int StoreId { get; set; }
[MessageBodyMember(Namespace="http://www contoso.com")]
public int ItemId { get; set; }
}
C.[MessageContract(WrapperNamespace="http://www.contoso.com")]
public class CheckStockRequest
{
[MessageHeader(Namespace="http://www.contoso.com")]
public int StoreId { get; set; }
public int ItemId { get; set; }
}
D.[MessageContract(WrapperNamespace="http://www.contoso.com")]
public class CheckStockRequest
{
[MessageHeader(Namespace="http://www.contoso.com")]
public int StoreId { get; set; }
[MessageBodyMember]
public int ItemId { get; set; }
}
Answer: D

Microsoft examen   70-513 examen   70-513 examen   70-513

NO.7 You are developing a data contract for a Windows Communication Foundation (WCF) service.
The data in the data contract must participate in round trips. Strict schema validity is not required.
You need to ensure that the contract is forward-compatible and allows new data members to be added to
it.
Which interface should you implement in the data contract class?
A.ICommunicationObject
B.IExtension<T>
C.IExtensibleObject<T>
D.IExtensibleDataObject
Answer: D

Microsoft examen   70-513   certification 70-513   70-513

NO.8 You are creating a Windows Communication Foundation (WCF) service that is implemented as follows.
(Line numbers are included for reference only.)
01 [ServiceContract]
02 [ServiceBehavior(IncludeExceptionDetailsInFaults = true)]
03 public class OrderService
04 {
05 [OperationContract]
06 public void SubmitOrder(Order anOrder)
07 {
08 try
09 {
10 ...
11 }
12 catch(DivideByZeroException ex)
13 {
14 ...
15 }
16 }
17 }
You need to ensure that the stack trace details of the exception are not included in the error information
sent to the client.
What should you do?
A.Replace line 14 with the following line:
throw;
B.Replace line 14 with the following line:
throw new FaultException<Order>(anOrder, ex.ToString());
C.After line 05, add the following line:
[FaultContract(typeof(FaultException<Order>))]
Replace line 14 with the following line:
throw ex;
D.Alter line 05, add the following line:
[FaultContract(typeof(FaultException<Order>))]
Replace line 14 with the following line:
throw new FaultException<Order>(anOrder, "Divide by zero exception");
Answer: D

Microsoft examen   certification 70-513   70-513 examen   70-513   certification 70-513

没有评论:

发表评论