首页 > Microsoft > TS > 70-503VB

TS: MS.NET Frmwrk 3.5, Wndws Commun Fndtion App Dev:70-503VB

科目编号:70-503VB

科目名称:TS: MS.NET Frmwrk 3.5, Wndws Commun Fndtion App Dev

描述:
70-503VB 考试是 Microsoft 公司的 TS: MS.NET Frmwrk 3.5, Wndws Commun Fndtion App Dev 认证考试官方代号,kaoccna 的 70-503VB 权威考试题库软件是 Microsoft 认证厂商的授权产品,kaoccna 绝对保证顺利通过,否则承诺全额退款!
TS: MS.NET Frmwrk 3.5, Wndws Commun Fndtion App Dev 认证作为全球IT领域专家 Microsoft 热门认证之一,是许多大中 IT 企业选择人才标准的必备条件。 如果你正在准备 70-503VB 考试,为 Microsoft TS: MS.NET Frmwrk 3.5, Wndws Commun Fndtion App Dev认证做最后冲刺,又苦于没有绝对权威的考试真题模拟

    mcsepass 实行"一次不过全额退款"承诺。如果您购买我们 70-503VB 的考题,只要不是首次通过,凭盖有 PROMETRIC 或 VUE 考试中心钢印的考试成绩单,我们将退还您购买 70-503VB 考题大师的全部费用,绝对保证您的利益不受到任何的损失。

70-503VB
  • 科目: 70-503VB
  • 原价: ¥ 462.00
  • 现价: ¥ 397.00

kaoccna 的优势

70-503VB 试题的质量和价值
mcsepass 模拟测试题具有最高的专业技术含量,只供具有相关专业知识的专家和学者学习和研究之用。
100% 保证您通过 70-503VB 的考试
如果你使用 mcsepass 模拟测试,我们将保证你的第一次参加考试即取得成功,否则,我们将全额退款!
试用后再购买
mcsepass 提供每种产品免费测试。在您决定购买之前,请检测联接,可能存在的问题及试题质量和适用性。
kaoccna认证考试题库网专业提供 Microsoft 70-503VB 最新题库下载,完全覆盖 mcsepass 考试原题。

部分考题展示

 
 
Exam : Microsoft 70-503VB
Title : TS: MS.NET Frmwrk 3.5, Wndws Commun Fndtion App Dev


1. You create a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.
The WCF service contains two operations named ProcessSimpleOrder and ProcessComplexOrder.
You need to expose the ProcessSimpleOrder operation to all the client applications. You also need to expose the ProcessComplexOrder operation only to specific client applications.
Which code segment should you use?
A. <ServiceContract()> _
Public Interface IOrderManager
<OperationContract(Action:="*")> _
Sub ProcessSimpleOrder()
<OperationContract()> _
Sub ProcessComplexOrder()
End Interface
B. <ServiceContract()> _
Public Interface IOrderManager
<OperationContract(Name:="http: //contoso.com/Simple")> _
Sub ProcessSimpleOrder()
<OperationContract(Name:="http: //contoso.com/Complex")> _
Sub ProcessComplexOrder()
End Interface
C. <ServiceContract()> _
Public Interface ISimpleOrderManager
<OperationContract()> _
Sub ProcessSimpleOrder()
End Interface
<ServiceContract()> _
Public Interface IComplexOrderManager
Inherits ISimpleOrderManager
<OperationContract()> _
Sub ProcessComplexOrder()
End Interface
D. <ServiceContract()> _
Public Interface ISimpleOrderManager
<OperationContract(Name:="http: //contoso.com/Simple")> _
Sub ProcessSimpleOrder()
End Interface
Public Interface IComplexOrderManager
Inherits ISimpleOrderManager
<OperationContract(Name:="http: //contoso.com/Complex")> _
Sub ProcessComplexOrder()
End Interface
Answer: C

2. You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You write the following code segment.
Namespace MyServices
<ServiceContract()>Interface IManageOrders
...
End Interface
End Namespace
The service metadata must be exposed at the relative address named meta.
You need to add an endpoint element to the app.config file of the service host.
Which code fragment should you add?
A. <endpoint address="meta" binding="wsHttpBinding" _
contract="IManageOrders" />
B. <endpoint address="meta" binding="wsHttpBinding" _
contract="MyServices.IMetadataExchange" />
C. <endpoint address="meta" binding="mexHttpBinding" _
contract="IMetadataExchange" />
D. <endpoint address="meta" binding="mexHttpBinding" _
contract="MyServices.IManageOrders" />
Answer: C

3. You have created a Windows Communication Foundation service by using Microsoft .NET Framework 5.
The existing service interface is named IMyService, and contains the following code segment.
<ServiceContract(Name:="SvcOrder", _
Namespace:="http: //contoso.com/services")> _
Public Interface IMyService
<OperationContract()> _
Sub DoSomething()
End Interface
You create a new service named IMyServiceV1 that contains an operation named DoSomethingElse.
You need to ensure that existing client applications are still able to access the IMyService.DoSomething method without modifying client code.
Which code segment should you use?
A. <ServiceContract(Namespace:="http: //contoso.com/services/V1")> _
Public Interface IMyServiceV1
Inherits IMyService
<OperationContract()> _
Sub DoSomethingElse()
End Interface
B. <ServiceContract(Name:="SvcOrder")> _
Public Interface IMyServiceV1
Inherits IMyService
<OperationContract()> _
Sub DoSomethingElse()
End Interface
C. <ServiceContract(Name:="SvcOrderV1", _
Namespace:="http: //contoso.com/services")> _
Public Interface IMyServiceV1
Inherits IMyService
<OperationContract()> _
Sub DoSomethingElse()
End Interface
D. <ServiceContract(Name:="SvcOrder", _
Namespace:="http: //contoso.com/services")> _
Public Interface IMyServiceV1
Inherits IMyService
<OperationContract()> _
Sub DoSomethingElse()
End Interface
Answer: D

4. You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5.
You configure a binding to enable streaming.
You need to ensure that the client application is able to stream large XML files to the WCF service.
Which operation contract should you create?
A. <OperationContract()> _
Sub UploadFile(ByVal xmlData As Stream)
B. <OperationContract()> _
Sub UploadFile(ByVal xmlData As XmlWriter)
C. <OperationContract()> _
Sub UploadFile(ByVal xmlData As StreamWriter)
D. <OperationContract()> _
Sub UploadFile(ByVal xmlData As Byte())
Answer: A

5. You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You write the following code segment. (Line numbers are included for reference only.)
01 <ServiceContract(SessionMode:=SessionMode.Required)> _
02 Public Interface IOrderManager
03
04 Sub CloseOrder()
05 End Interface
You need to decorate the operation as the method that closes the current session.
Which code segment should you insert at line 03?
A. <OperationContract(IsInitiating:=False)> _
B. <OperationContract(IsTerminating:=True)> _
C. <OperationContract()> _
<OperationBehavior( _
ReleaseInstanceMode:=ReleaseInstanceMode.AfterCall)> _
D. <OperationContract(IsTerminating:=False)> _
<OperationBehavior( _
ReleaseInstanceMode:=ReleaseInstanceMode.AfterCall)> _
Answer: B

6. You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to ensure that data sent in a SOAP header is in the following XML format.
<Data>
<string>String 1</string>
<string>String 2</string>
<string>String 3</string>
</Data>
Which code segment should you use?
A. <MessageContract()> _
Public Class MyMessage
<MessageHeader()> _
Public Data() As String
End Class
B. <MessageContract()> _
Public Class MyMessage
<MessageHeaderArray()> _
Public Data() As String
End Class
C. <MessageContract()> _
Public Class MyMessage
<MessageProperty()> _
Public Data() As String
End Class
D. <MessageContract()> _
Public Class MyMessage
<MessageBodyMember(Order:=0)> _
Public Data() As String
End Class
Answer: A

7. You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
The service contains the following code segment.
<DataContract()> _
Public Class Person
...
End Class
<DataContract()> _
Public Class Customer
Inherits Person
...
End Class
You need to create a service contract that meets the following requirements:
·The service contract must have an operation contract named GetPerson that returns an object of type Person.
·The GetPerson operation must be able to return an object of type Customer.
Which code segment should you use?
A. <ServiceContract()> _
<ServiceKnownType("GetPerson")> _
Public Interface IMyService
<OperationContract()> _
Function GetPerson() As Person
End Interface
B. <ServiceContract()> _
Public Interface IMyService
<OperationContract()> _
<ServiceKnownType("Customer")> _
Function GetPerson() As Person
End Interface
C. <ServiceContract()> _
<ServiceKnownType(GetType(Customer))> _
Public Interface IMyService
<OperationContract()> _
Function GetPerson() As Person
End Interface
D. <ServiceContract()> _
<ServiceKnownType("GetPerson", GetType(Customer))> _
Public Interface IMyService
<OperationContract()> _
Function GetPerson() As Person
End Interface
Answer: C

8. You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You write the following code segment.
<ServiceContract()> _
Public Interface IMathService
<OperationContract()> _
Function AddNumbers( _
ByVal a As Integer, ByVal b As Integer) As Integer
Function AddNumbers( _
ByVal a As Double, ByVal b As Double) As Double
End Interface
You have not deployed the IMathService service.
You need to expose the AddNumbers (a As Double, b As Double) As Double operation to the IMathService service contract.
Which code segment should you use?
A. <OperationContract()> _
Function AddNumbers( _
ByVal a As Integer, ByVal b As Integer) As Integer
<OperationContract()> _
Function AddNumbers( _
ByVal a As Double, ByVal b As Double) As Double
B. <OperationContract(Name:="AddInt")> _
Function AddNumbers( _
ByVal a As Integer, ByVal b As Integer) As Integer
<OperationContract(Name:="AddDouble")> _
Function AddNumbers( _
ByVal a As Double, ByVal b As Double) As Double
C. <OperationContract(Action:="IMathService/AddInt")> _
Function AddNumbers( _
ByVal a As Integer, ByVal b As Integer) As Integer
<OperationContract(Action:="IMathService/AddDouble")> _
Function AddNumbers( _
ByVal a As Double, ByVal b As Double) As Double
D. <OperationContract(Action:="AddInt/*")> _
Function AddNumbers( _
ByVal a As Integer, ByVal b As Integer) As Integer
<OperationContract(Action:="AddDouble/*")> _
Function AddNumbers( _
ByVal a As Double, ByVal b As Double) As Double
Answer: B

9. You create a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5.
You write the following code segment. (Line numbers are included for reference only.)
01 Public Interface IMyService
02
03 Function ProcessString(ByVal name As String) As String
04 End Interface
You create a host for the WCF service. You also create a service endpoint at http: //localhost:8080/service. You add an instance of the HttpTransferEndPointBehavior class to the host.
You need to ensure that the ProcessString method can be invoked from a Web browser by using the URL http: //localhost:8080/service/process?name=value
Which code segment should you insert at line 02?
A. <OperationContract(Name:="process", Action:="Get")> _
B. <OperationContract(Name:="process", Action:="Post")> _
C. <OperationContract()> _
<HttpTransferContract(Path:="process", Method:="Get")> _
D. <OperationContract()> _
<HttpTransferContract(Path:="process", Method:="Post")> _
Answer: C

10. You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to ensure that the service can send data in the following format to the client applications.
<Account Id="">
<Name> </Name>
<Balance Currency=""> </Balance>
</Account>
Which code segment should you use?
A. <Serializable()> _
Public Class Account
<XmlAttribute()> _
Public Id As String
<XmlElement()> _
Public Name As String
<XmlAttribute()> _
Public Currency As String
<XmlElement()> _
Public Balance As Double
End Class
B. <DataContract()> _
Public Class Account
<DataMember(Order:=0)> _
Public Id As String
<DataMember(Order:=1)> _
Public Name As String
<DataMember(Order:=0)> _
Public Balance As Double
<DataMember(Order:=1)> _
Public Currency As String
End Class
C. <Serializable()> _
Public Class Account
<XmlAttribute()> _
Public Id As String
Public Name As String
<XmlElement("Balance")> _
Public Balance As BalanceVal
End Class
<Serializable()> _
Public Class BalanceVal
<XmlText()> _
Public Amount As Double
<XmlAttribute()> _
Public Currency As String
End Class
D. <DataContract()> _
Public Class Account
<DataMember(Order:=0)> _
Public Id As String
<DataMember(Order:=1)> _
Public Name As String
<DataMember(Name:="Balance", Order:=2)> _
Public Balance As BalanceVal
End Class
<DataContract()> _
Public Structure BalanceVal
<DataMember(Order:=0)> _
Public Amount As Double
<DataMember(Order:=1)> _
Public Currency As String
End Structure
Answer: C

11. You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You have successfully created two interfaces: IMyService and IMyServiceClient.
You need to ensure that the service is able to call methods from the client application by using the IMyServiceClient interface.
Which code segment should you use?
A. <ServiceContract(CallbackContract:=GetType(IMyServiceClient))> _
Public Interface IMyService
...
End Interface
Public Interface IMyServiceClient
...
End Interface
B. <ServiceContract(CallbackContract:=GetType(IMyService))> _
Public Interface IMyService
...
End Interface
Public Interface IMyServiceClient
...
End Interface
C. <ServiceContract(SessionMode:=SessionMode.Allowed)> _
<ServiceKnownType(GetType(IMyServiceClient))> _
Public Interface IMyService
Inherits IMyServiceClient
...
End Interface
Public Interface IMyServiceClient
...
End Interface
D. <ServiceContract()> _
<ServiceKnownType(GetType(IMyServiceClient))> _
Public Interface IMyService
Inherits IMyServiceClient
...
End Interface
Public Interface IMyServiceClient
...
End Interface
Answer: A

12. You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You create the following service contract. (Line numbers are included for reference only.)
01 <ServiceContract()> _
02 Public Interface IMyService
03 <OperationContract()> _
04
05 Function GetData(ByVal index As Integer) As List(Of String)
06 End Interface
You need to ensure that the GetData operation can be accessed by using the URI in the following manner:
·GetData/1 for the index value 1
·GetData/2 for the index value 2
·.
·.
·GetData/n for the index value n
Which code segment should you insert at line 04?
A. <WebGet(UriTemplate:="GetData/{index}", _
BodyStyle:=WebMessageBodyStyle.Bare)> _
B. <WebGet(UriTemplate:="GetData?index={index}", _
BodyStyle:=WebMessageBodyStyle.Bare)> _
C. <WebGet(UriTemplate:="GetData/[index]", _
BodyStyle:=WebMessageBodyStyle.Bare)> _
D. <WebGet(UriTemplate:="GetData?index=[index]", _
BodyStyle:=WebMessageBodyStyle.Bare)> _
Answer: A

13. You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You create the following service contract.
<ServiceContract()> _
Public Interface IMath
<OperationContract()> _
Function Add(ByVal num1 As Integer, ByVal num2 As Integer) _
As Integer
End Interface
You need to add an operation contract to perform the Add operation asynchronously.
Which operation contract should you use?
A. <OperationContract(AsyncPattern:=True)> _
Function BeginAdd(ByVal num1 As Integer, ByVal num2 As Integer) _
As IAsyncResult
Function EndAdd(ByVal res As IAsyncResult) As Integer
B. <OperationContract()> _
Function BeginAdd(ByVal num1 As Integer, ByVal num2 As Integer, _
ByVal cb As AsyncCallback, ByVal state As Object) As Integer
Function EndAdd() As IAsyncResult
C. <OperationContract()> _
Function BeginAdd(ByVal num1 As Integer, ByVal num2 As Integer) _
As IAsyncResult
<OperationContract()> _
Function EndAdd(ByVal res As IAsyncResult) As Integer
D. <OperationContract(AsyncPattern:=True)> _
Function BeginAdd(ByVal num1 As Integer, ByVal num2 As Integer, _
ByVal cb As AsyncCallback, ByVal state As Object) As IAsyncResult
Function EndAdd(ByVal res As IAsyncResult) As Integer
Answer: D

14. You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service will expose a method named DoProcess to the client applications.
You write the following code segment. (Line numbers are included for reference only.)
01 <ServiceContract()> _
02 Public Interface IMyService
03
04 End Interface
You need to ensure that the client applications are not required to obtain results from the DoProcess method.
Which code segment should you insert at line 03?
A. <OperationContract(IsOneWay:=True)> _
Function DoProcess() As Boolean
B. <OperationContract(IsOneWay:=True)> _
Sub DoProcess()
C. <OperationContract(AsyncPattern:=False)> _
Function DoProcess() As Boolean
D. <OperationContract(AsyncPattern:=False)> _
Sub DoProcess()
Answer: B

联系我们
联系手机:13861768475
MSN:saleintest@hotmail.com
QQ留言 QQ留言

首页 |代考流程 | 常见问题 | 证书查询 | 认证资讯 | 联系我们 | 站点导航 1 2 3 4 | 站点地图

Any charges made through this site will appear as CertBible Tech LTD. All trademarks are the property of their respective owners.

Copyright©2006-2011 mcsepass Limited. All Rights Reserved