MCD - Level 1

MCD - Level 1 practice questions, page 6 of 7, with answer review and explanations.

Question 26

A flow has a JMS Publish consume operation followed by a JMS Publish operation. Both of these operations have the default configurations. Which operation is asynchronous and which one is synchronous?

  1. Publish consume: Synchronous. Publish: Asynchronous.
  2. Publish consume: Asynchronous. Publish: Synchronous.
  3. Publish consume: Asynchronous. Publish: Asynchronous.
  4. Publish consume: Synchronous. Publish: Synchronous.

Question 27

What is the use of API Notebooks?

  1. None of these
  2. Test Policies
  3. Test API functions
  4. Test RAML

Question 28

What is the DataWeave expression to log the Content-Type header using a Logger component?

  1. #["Content-Type: " ++ attributes.headers.'content-type']
  2. #["Content-Type: " ++ headers.'content-type']
  3. #["Content-Type: " + headers.'content-type']
  4. #["Content-Type: " + attributes.headers.'content-type']

Question 29

What is the trait name you would use for specifying client credentials in RAML?

  1. headers
  2. client-id
  3. client-id-required
  4. we do not specify in RAML

Question 30

What is the purpose of API autodiscovery?

  1. Enables API Manager to discover the published API on Anypoint Exchange.
  2. Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy.
  3. Enables an API to be directly managed in API Manager.
  4. Allows the Mule application to be automatically discovered on Anypoint Exchange.