Free MCD-Level-2 Exam Braindumps (page: 7)

Page 7 of 16

Which properties are mandatory on the HTTP Connector configuration in order to use the OAuth 2.0 Authorization Code grant type for authentication?

  1. External callback URL, access token URL, client ID response access token
  2. Token URL, authorization URL, client ID, client secret local callback URL
  3. External callback URL, access token URL, client ID, response refresh token
  4. External callback URL, access token URL, local authorization URL, authorization URL, client ID, client secret

Answer(s): B

Explanation:

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.


Reference:

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.

  1. Error,errorMesage.payload.results [`2']
  2. Payload failures[`2']
  3. Error,errorMessage,payload.failures[`2']
  4. Payload [`2']

Answer(s): C

Explanation:

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.


Reference:

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?

  1. Set an appropriate reconnection strategy and use persistent connections for the listener
  2. Set an appropriate keystore configuration and use persistent connections for the listener
  3. Set an appropriate keystore and truststore configuration for the listener
  4. Set an appropriate truststore configuration and reconnection strategy for the listener

Answer(s): C

Explanation:

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.


Reference:

https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#mutual-authentication



Which command is used to convert a JKS keystore to PKCS12?

  1. Keytool-importkeystore ­srckeystore keystore p12-srcstoretype PKCS12 ­destkeystore keystore.jks ­deststoretype JKS
  2. Keytool-importkeystore ­srckeystore keystore p12-srcstoretype JKS ­destkeystore keystore.p12 ­ deststoretype PKCS12
  3. Keytool-importkeystore ­srckeystore keystore jks-srcstoretype JKS ­destkeystore keystore.p13 ­ deststoretype PKCS12
  4. Keytool-importkeystore ­srckeystore keystore jks-srcstoretype PKCS12 ­destkeystore keystore.p12 ­deststoretype JKS

Answer(s): B

Explanation:

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).


Reference:

https://docs.oracle.com/en/java/javase/11/tools/keytool.html#GUID-5990A2E4-78E3-47B7-AE75- 6D1826259549



Page 7 of 16



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