MCD-Level-1 Practice Test Questions

229 Questions


What payload is returned by a Database SELECT operation that does not match any rows
in the database?


A.

false


B.

null


C.

Exception


D.

Empty Array





D.
  

Empty Array



A Mule application contains an ActiveMQ JMS dependency. The Mule application was
developed in Anypoint Studio and runs successfully in Anypoint Studio.
The Mule application must now be exported from Anypoint Studio and shared withanother
developer. What export options create the smallest JAR file that can be imported into the other
developer's Anypoint Studio and run successfully


A.

Option A


B.

Option B


C.

Option C


D.

Option D





B.
  

Option B



A Mule project contains a MySQL Database dependency. The project is exported from
Anypoint Studio so it can be deployed to CloudHub.
What export options create the smallest deployable archive that will successfully deploy to
CloudHub? What export option create their smallest deployable archive that will successfully deploy to
CloudHub?



A.

Option A


B.

Option B


C.

Option C


D.

Option D





B.
  

Option B



Refer to the exhibit. 

What should be changed to fix the 415 error?


A.

set the response Content-Type header to text/plain


B.

set the response Content-Type header to application/json


C.

Set the request Content-Type header toapplication/] son


D.

set the request Content-Type header to text/plain





C.
  

Set the request Content-Type header toapplication/] son



Refer to the exhibit. 

What is a valid expression for the Choice router’s when expression to route events to the
documenticShipping flow?


A.

0#[ payload = 'US' ]


B.

#[ payload == 'US' J


C.

#[ if(payload = 'US') J


D.

#[ if(payload == "US") ]





B.
  

#[ payload == 'US' J



Refer to the exhibits. A company has defined this Book data typeand Book example to be
used in APIs. What is valid RAML for an API that uses this Book data type and Book


A.

Option A


B.

Option B


C.

Option C


D.

Option D





D.
  

Option D



A Mule application contains two HTTP Listeners, each configured for different API
endpoints: http://acme.com/apis/orders and http: //acme .com/a pis/customers.
What base path value should be set in an HTT? Listener config element so that it can be
used to configure both HTTP Listeners?


A.

/apis/?


B.

/apis/


C.

/apis/orders|customers


D.

/apis/*





D.
  

/apis/*



A company has an API to manage departments, with each department identified by a
unique deptld. The API was built with RAML according to MuleSoft best practices.
What is valid RAML to specify a method to update the details for a specific department?



A.

Option A


B.

Option B


C.

Option C


D.

Option D





D.
  

Option D



An SLA based policy has been enabled in API Manager. What is the next step to configure
the API proxy to enforce the newSLA policy?


A.

Add new property placeholders and redeploy the API proxy


B.

Add new environment variables and restart the API proxy


C.

Restart the API proxy to clear the API policy cache


D.

Add required headers to the RAML specification and redeploy the newAPI proxy





D.
  

Add required headers to the RAML specification and redeploy the newAPI proxy



A RAML specification is defined to manage customers with a unique identifier for each
customer record. What URI does MuleSoft recommend to uniquely access the customer
identified with the unique ID 1234?


A.

/customers?custid=true&custid=1234


B.

/customers/1234


C.

/customers/custid=1234


D.

/customers?operation=get&custid=1234





B.
  

/customers/1234



What is the correct syntax for a Logger component to output a message with the contents
of a 3SON Object payload?


A.

The payload is: $(payload)


B.

#["The payload is: " ++ payload]


C.

The payload is: #[payload]


D.

#["The payload is: " + payload]





B.
  

#["The payload is: " ++ payload]



According to MuleSoft. what is the first step to create a Modern API?


A.

Gather a list of requirements to secure the API


B.

Create an API specification and get feedback from stakeholders


C.

Performance tune and optimize the backend systems and network


D.

Create a prototype of the API implementation





B.
  

Create an API specification and get feedback from stakeholders




Page 1 out of 20 Pages