最新的 MCTS 070-503 免費考試真題:
1. You are creating a remote database management application by using Microsoft Windows Forms and Microsoft .NET Framework 3.5. You use the Windows Communication Foundation model to create the application.
You write the following code segment. (Line numbers are included for reference only.)
01 Public Class ()ueryAnalyzerService 02 Implements IQueryAnalyzerService, IDisposable
04 Public Sub Open() 05 ...
06 End Sub 07 Public Sub ExecuteSql(ByVal sql As String) 08...
09 End Sub
10 Public Sub Close()
11 ...
12 End Sub
13 Public Sub Dispose() Implements IDisposable.Dispose 14...
15 End Sub 16...
17 End Class
You need to ensure that each time a client application calls the Open0 method, a new service instance is created. Which code segment should you insert at line 03?
A) <OperationBehavior(AutoDisposeParameters:=True)> _
B) <OperationBehavior(_ ReleaselnstanceMode:=ReleaselnstanceMode.BeforeCall>
C) <OperationBehavior(TransactionScopeRequired:=True)> _
D) <OperationBehavior( _ ReleaselnstanceMode:=ReleaselnstanceMode.None)> _
2. You create a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. Client applications that run on different platforms access the WCF service.
These applications transmit confidential data to the WCF service. You write the following binding configuration.
....
<binding name="TransportSecurity" >
<security mode="Transport" />
</binding>
...
You need to configure the service for optimum interoperability and optimum security.
Which code fragment should you use?
A) Option B
B) Option D
C) Option C
D) Option A
3. You are creating a Windows Communication Foundation client application by using Microsoft .NET Framework 3.5.
You need to inspect the parameters on the client application.
Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)
A) Implement the lEndpointBehavior behavior to add the parameter inspector to the Dispatcher. DispatchOperation.Parameterlnspectors method.
B) Implement the ICIientMessagelnspector interface.
C) Implement the lEndpointBehavior behavior to add the parameter inspector to the Dispatcher. ClientOperation.Parameterlnspectors method.
D) Insert a code segment that creates a behavior in the ICallContextlnitializer.BeforelnvokeO method.
E) Insert a behavior before you call the ClientBase.Open method.
F) Implement the IParameterlnspector interface.
4. You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.
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) Option B
B) Option D
C) Option C
D) Option A
5. You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.
You need to ensure that concurrent calls are allowed on the service instance.
Which code segment should you insert at line 06?
A) <ServiceBehavior(ConcurrencyMode:=ConcurrencyMode.Reentrant, _ ReleaseServicelnstanceOnTransactionComplete:=True)> _
B) <ServiceBehavior(ConcurrencyMode:=ConcurrencyMode.Multiple, _ ReleaseServicelnstanceOnTransactionComplete:=True)> _
C) <ServiceBehavior(ConcurrencyMode:=ConcurrencyMode.Reentrant, _ ReleaseServicelnstanceOnTransactionComplete:=False)> _
D) <ServiceBehavior(ConcurrencyMode:=ConcurrencyMode.Multiple, _ ReleaseServicelnstanceOnTransactionComplete:=False)> _
問題與答案:
| 問題 #1 答案: B | 問題 #2 答案: C | 問題 #3 答案: C,E,F | 問題 #4 答案: A | 問題 #5 答案: D |

下載最新試用版
768位客戶反饋
我們對我們的產品非常有信心,所以我們不提供会给客户带去麻煩的產品。








167.246.62.* -
非常簡單易懂,答案正確,是很好用的題庫資料,在這個的幫助下順利的通過了我的070-503考試。