Which properties are mandatory on the HTTP Connector configuration in order to use the OAuth 2.0 Authorization Code grant type for authentication?
Answer(s): B
To use the OAuth 2.0 Authorization Code grant type for authentication, the HTTP Connector configuration requires the following properties: token URL, authorization URL, client ID, client secret, and local callback URL. The token URL is the endpoint of the authorization server that provides access tokens. The authorization URL is the endpoint of the authorization server that initiates the user consent flow. The client ID and client secret are the credentials of the Mule application registered with the authorization server. The local callback URL is the endpoint of the Mule application that receives the authorization code from the authorization server.
https://docs.mulesoft.com/http-connector/1.6/http-authentication#oauth-2-0
A scatter-gather router is configured with four routes:Route A, B, C and D.Route C false.
Answer(s): C
The result of accessing route C failure is Error,errorMessage,payload.failures[`2']. This is because a scatter-gather router returns an aggregated message that contains an array of results from each route and an array of failures from each route. The failures array contains error objects with information about each failed route execution. To access route C failure, which is the third route (index 2), the developer needs to use Error.errorMessage.payload.failures[`2'] expression.
https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-reference#scatter-gather-output
Which configurations are required for HTTP Listener to enable mTLS authentication?
To enable mTLS authentication for HTTP Listener, the developer needs to set an appropriate keystore and truststore configuration for the listener. The keystore contains the certificate and private key of the Mule application that are used to prove its identity to clients. The truststore contains the certificates of trusted clients that are allowed to access the Mule application.
https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#mutual-authentication
Which command is used to convert a JKS keystore to PKCS12?
To convert a JKS keystore to PKCS12, the developer needs to use the keytool-importkeystore command with the following options: -srckeystore keystore.jks -srcstoretype JKS -destkeystore keystore.p12 -deststoretype PKCS12. This command imports all entries from a source JKS keystore (keystore.jks) into a destination PKCS12 keystore (keystore.p12).
https://docs.oracle.com/en/java/javase/11/tools/keytool.html#GUID-5990A2E4-78E3-47B7-AE75- 6D1826259549
Post your Comments and Discuss MuleSoft MCD-Level-2 exam with other Community members:
Anonymous commented on November 10, 2024 Good ONE FOR mcd l2 INDIA upvote
RM commented on October 30, 2024 Thank you for the dumps Anonymous upvote
Champ commented on September 26, 2024 Good to see that something is still free. I truly appreciate this service. Mexico upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the MCD-Level-2 content, but please register or login to continue.