ExamGecko
Home / MuleSoft / MCD - Level 1 / List of questions
Ask Question

MuleSoft MCD - Level 1 Practice Test - Questions Answers, Page 5

Add to Whishlist

List of questions

Question 41

Report Export Collapse

A Mule application contains a global error handler configured to catch any errors.

Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?

A configuration properties file
A configuration properties file
Nowhere, the global error handler is automatically used
Nowhere, the global error handler is automatically used
A global element
A global element
The pom.xml file
The pom.xml file
Suggested answer: C
Explanation:

Correct answer is A global element

Global error handlers are to be created in global element .

Quick note to remember here is Global error handlers come in to picture only when there are no error handlers specified as flow level.

Steps to create Global error handler

1) Click Global Elements to open Global Configuration Elements. Global Elements is located below the Studio canvas

2) In Global Configuration Elements, click Create to open the Choose Global Type dialog

MuleSoft MCD - Level 1 image Question 41 explanation 52596 09182024213609000000

3) From the dialog, select Global Configuration - Configuration, and then click OK to open the Configuration dialog.

MuleSoft MCD - Level 1 image Question 41 explanation 52596 09182024213609000000

4) From the select Configuration dialog, select allErrorHandler for the Default Error Handler field, and click OK.

asked 18/09/2024
mustapha amraui
43 questions

Question 42

Report Export Collapse

Refer to the exhibit.

MuleSoft MCD - Level 1 image Question 42 52597 09182024213609000000

What can be added to the flow to persist data across different flow executions?

Key/value pairs in the ObjectStore
Key/value pairs in the ObjectStore
Properties of the Mule runtime flow object
Properties of the Mule runtime flow object
properties of the Mule runtime app object
properties of the Mule runtime app object
session variables
session variables
Suggested answer: A
Explanation:

An object store is a facility for storing objects in or across Mule applications. Mule runtime engine (Mule) uses object stores to persist data for eventual retrieval. Internally, Mule uses object stores in various filters, routers, and other message processors that need to store states between messages.

Object stores are available in all deployment targets. If you deploy your application to CloudHub, you can also use Object Store V2.

Correct answer is Key/value pair in Object store

MuleSoft Documentation reference : https://docs.mulesoft.com/mule-runtime/4.3/mule-object-stores#use-cases

asked 18/09/2024
Wislon Pereira
41 questions

Question 43

Report Export Collapse

Refer to the exhibit.

MuleSoft MCD - Level 1 image Question 43 52598 09182024213609000000

This RAML specification includes a resource and method to retrieve accounts by account_type and industry.

What is the correct URI to get all retail finance accounts?

/accounts/retail/finance
/accounts/retail/finance
/accounts?account_type=retail&industry=finance
/accounts?account_type=retail&industry=finance
/accounts/account_type=retail/industry=finance
/accounts/account_type=retail/industry=finance
/accounts?account_type:retail&industry:finance
/accounts?account_type:retail&industry:finance
Suggested answer: B
Explanation:

Correct answer is/accounts?account_type=retail&industry=finance

Query parameters are a defined set of parameters attached to the end of a url. They are extensions of the URL that are used to help define specific content or actions based on the data being passed. To append query params to the end of a URL, a '?' Is added followed immediately by a query parameter.

To add multiple parameters, an '&' is added in between each.

MuleSoft MCD - Level 1 image Question 43 explanation 52598 09182024213609000000

asked 18/09/2024
Monterio Weaver
40 questions

Question 44

Report Export Collapse

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?

/apis/?
/apis/?
/apis/
/apis/
/apis/orders|customers
/apis/orders|customers
/apis/*
/apis/*
Suggested answer: D
Explanation:

Option 2 is the correct answer as /api/* accespts everything starting with /api/

asked 18/09/2024
Ankur Patel
44 questions

Question 45

Report Export Collapse

A web client submits a request to http://localhost:8081/books/0471767840. The value '0471767840' is captured by a Set Variable transformer to a variable named booklSBN.

What is the DataWeave expression to access booklSBN later in the flow?

booklSBN
booklSBN
attributes.booklSBN
attributes.booklSBN
flowVars.booklSBN
flowVars.booklSBN
vars. booklSBN
vars. booklSBN
Suggested answer: D
asked 18/09/2024
Brooke Galiata
36 questions

Question 46

Report Export Collapse

Refer to the exhibits.

MuleSoft MCD - Level 1 image Question 46 52601 09182024213609000000

The Set Payload transformer's value is set to {'year': '2020'}.

What message value should be added to the Logger component to output the message 'The year is 2020', without hardcoding 2020?

'#[The year is $(pay load .year)]*
'#[The year is $(pay load .year)]*
The year is #[payload.year]'
The year is #[payload.year]'
'#[The year is ' + paytoad.year]'
'#[The year is ' + paytoad.year]'
#['The year is '++ payload.year].
#['The year is '++ payload.year].
Suggested answer: D
asked 18/09/2024
Martijn Bot
43 questions

Question 47

Report Export Collapse

Refer to the exhibit.

MuleSoft MCD - Level 1 image Question 47 52602 09182024213609000000

What expression correctly specifies input parameters to pass the city and state values to the SQL query?

A)

MuleSoft MCD - Level 1 image Question 47 52602 09182024213609000000

B)

MuleSoft MCD - Level 1 image Question 47 52602 09182024213609000000

C)

MuleSoft MCD - Level 1 image Question 47 52602 09182024213609000000

D)

MuleSoft MCD - Level 1 image Question 47 52602 09182024213609000000

Become a Premium Member for full access
  Unlock Premium Member

Question 48

Report Export Collapse

A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?

Become a Premium Member for full access
  Unlock Premium Member

Question 49

Report Export Collapse

In an application network. If the implementation but not the interface of a product API changes, what needs to be done to the other APIs that consume the product API?

Become a Premium Member for full access
  Unlock Premium Member

Question 50

Report Export Collapse

Refer to the exhibit.

MuleSoft MCD - Level 1 image Question 50 52605 09182024213609000000

<a target='_blank' href='http://localhost:8081/'>What is the response to a web client request to http://localhost:8081?</a>

Become a Premium Member for full access
  Unlock Premium Member
Total 235 questions
Go to page: of 24
Search

Related questions