Best Microsoft MCTS Certification, Microsoft MCITP Training at certkingdom.com
QUESTION 1
Exhibit:
<endpoint address =” https://www.CertKingdom.com/CertKingdomService”
Binding=”netTc pBinding”
bindingConfiguraton-NetTcpBinding_CertKingdomService
contract=”ServiceReference 1. ICertKingdomService’
name=’NetTcpBinding_CertKingdomService”/>
There is a WCF (Windows Communication Foundation) service CertKingdomService.
CertKingdomService use address tcp:www.CertKingdom.com/CertKingdomService to listens for
messages.
The logical address is www.CertKingdom.com/CertKingdomService
The WCF client is configured as in the exhibit.
However, the client is unable to communicate with the server.
In what way must the configuration be adjusted?
Answer:
QUESTION 2
There is a WCF (Windows Communication Foundation) service CertKingdomService.
CertKingdomService has a callback contract.
There is a client application CertKingdomClient.
CertKingdomClient calls CertKingdomService.
How can you ensure that CertKingdomClient and CertKingdomService can communicate? Select two.
A. Use the OperationContractAttribute..
B. On CertKingdomService..
C. On CertKingdomClient..
D. ..set set the Async Pattern property value to false
E. ..set set the Async Pattern property value to true
F. ..use GetCallbackChannel <T>
G. ..add a proxy derived from DuplexClientBase <TChannel>
Answer: C,G
Explanation:
QUESTION 3
There is a WCF (Windows Communication Foundation) service CertKingdomService.
CertKingdomService has a callback contract.
There is a client application CertKingdomClient.
CertKingdomClient calls CertKingdomService.
How can you ensure that CertKingdomClient and CertKingdomService can communicate? Select two.
A. Use the OperationContractAttribute..
B. On CertKingdomService..
C. On CertKingdomClient..
D. ..set set the Async Pattern property value to false
E. ..set set the Async Pattern property value to normal
F. ..use GetCallbackChannel (Of T)
G. ..add a proxy derived from DuplexClientBase (Of TChannel)
Answer: C,G
Explanation:
QUESTION 4
There is a WCF (Windows Communication Foundation) service CertKingdomService.
CertKingdomService supports transactions. Messages handled by CertKingdomService must be
encoded using a binary encoding, must be secured using Windows stream-based security, and
must be sent over TCR.
CertKingdomService must implement a custom binding for the service.
How should the stacking order be defined?
Answer:
QUESTION 5
There is a WCF (Windows Communication Foundation) application CertKingdomApp.
CertKingdomApp exposes a service as and end point (SOAP) for consumption by cross-platforms
clients.
You want to log messages that the service receives from the client.
What action should you take?
Answer:
QUESTION 6
There is a WCF (Windows Communication Foundation) service CertKingdomService.
CertKingdomService communicates with a database CertKingdomDB.
CertKingdomDB uses a workflow engine.
CertKingdomDB handles data access authorization. A security exception is raised an unauthorized
user tries to access CertKingdomDB.
This exception must be transmitted the client that is calling CertKingdomService.
How can this be achieved? Select two.
A. Use CertKingdomDB..
B. Use CertKingdomService..
C. ..and configure service Debug.
D. ..and configure router.
E. ..and configure router Security Audit.
F. ..and configure Unhandled Exception
Answer: B,C
Explanation:
QUESTION 7
There is a WCF (Windows Communication Foundation) service CertKingdomService.
There are out of-process process resources that CertKingdomService must access on behalf of an
originating caller. What should you do?
A. Use the service contract PrincipalPermissionAttribute..
B. Use ServiceSecurityContext.CurrentWindowsidentity.ImpersonationLevel..
C. ..and set the value to…
D. ..and change the value of bindingConfiguration attribute in the endpoint element of the
configuration file to..
E. .. TokenImpersonationLevelDelegation
F. .. wsHttpBinding
G. .. ssHttpBinding
H. .. Impersonation
Answer: B,C,E
Explanation:
QUESTION 8
There is WCF (Windows Communication Foundation) application CertKingdomApp.
There is a data contract CertKingdomData, with several data members, that is used by
CertKingdomApp.
Consider a serialized instance of CertKingdomData which is deserialized. If any of data members
are not available CertKingdomApp must throw a Serialization Exception.
What action should you take? Select three.
A. For each data member…
B. Use CertKingdomData and..
C. Set a default value in each of the data member declarations.
D. .. Set the IsRequired property..
E. .. Emit Default Value proper..
F. .. Order property..
G. ..add the Unknown Type attribute.
H. ..add the Known Type attribute.
I. ..to false.
J. ..to true.
K. .. to a unique integer value.
L. .. to a unique string value.
Answer: A,D,J
Explanation:
QUESTION 9
There is a WCF (Windows Communication Foundation) service CertKingdomService.
CertKingdomService exposes the operations CertKingdom1 and CertKingdom2.
CertKingdom1 should run with the identity of the client.
CertKingdom2 should run with the identity of the CertKingdomService.
How can this be achieved?
Answer:
QUESTION 10
There is a WCF (Windows Communication Foundation) service CertKingdomService.
CertKingdomService handles accounting related processes.
You must ensure that CertKingdomService runs with the identity of the application that is calling
CertKingdomService.
How can this be ensured?
Answer:
QUESTION 11
There is a WCF (Windows Communication Foundation) service CertKingdomService.
CertKingdomService is secured.
How can you track attempts to access CertKingdomService that are unsuccessful? Select all that
apply.
A. Use the serviceAuthorization behavior..
B. Use the serviceDebugger behavior..
C. Use the serviceSecurityAudit behavior..
D. Use the security configuration element..
E. ..and use attribute..
F. ..and use method..
G. Mode
H. messageAuthenticationAuditLevel
I. includeExceptionDetailsInFaults
J. authorizationManagerType
K. ..and set it to..
L. True
M. False
N. Success
O. Failure
P. Service
Q. Message
Answer: C,E,H,K,O
Explanation:
Best Microsoft MCTS Certification, Microsoft MCITP Training at certkingdom.com