Exam4Training

Mulesoft MCD Level 1 Delta MuleSoft Certified Developer – Level 1 (Mule 4) DELTA Online Training

Question #1

What DataWeave expression transforms the example XML input to the CSV output?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: A
Question #2

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

Reveal Solution Hide Solution

Correct Answer: D
Question #3

Refer to the exhibits.

Each route in the Scatter-Gather sets the payload to the number shown in the label.

What response is returned to a web client request to the HTTP Listener?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: C
Question #4

Refer to the exhibits.

In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the transform Flow.

That flow transforms the incoming payload into JSON format and returns the response to the HTTP request. The response of the request is stored in a target variable named the Result.

What is the payload at the Logger component after the HTTP Request?

  • A . A non-empty Java object
  • B . The original XML payload
  • C . null
  • D . The returned JSON response

Reveal Solution Hide Solution

Correct Answer: B
Question #5

Refer to the exhibits.

A web client sends a POST request to the HTTP Listener with the payload "Hello-".

What response is returned to the web client?

  • A . Hello- HTTP-] MS2-Three
  • B . HTTP-JMS2-Three
  • C . Helb-JMS1-HTTP-JMS2 -Three
  • D . Hello-HTTP-Three

Reveal Solution Hide Solution

Correct Answer: A
Question #6

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") ]

Reveal Solution Hide Solution

Correct Answer: B
Question #7

Refer to the exhibit.

What is the correct way to create a user?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: B
Question #8

Refer to the exhibit.

What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?

  • A . (employeelD)
  • B . ${emp!oyeelD}
  • C . {employeelD}
  • D . # [employeelD]

Reveal Solution Hide Solution

Correct Answer: C
Question #9

Refer to the exhibits.

A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.

What is the next step to fix this error?

  • A . Set a header In the Consume operation equal to the destination query parameter
  • B . set a SOAP payload before the Consume operation that contains the destination query parameter
  • C . set a property m the Consume operation equal to the destination query parameter
  • D . set a JSON payload before the Consume operation that contains the destination query parameter

Reveal Solution Hide Solution

Correct Answer: B
Question #10

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]

Reveal Solution Hide Solution

Correct Answer: B

Question #11

Refer to the exhibit.

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

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: A
Question #12

Refer to the exhibits.

A web client sends a POST request with the payload {"oid": "1000", "itemid": "AC200", "qty": "4" } to the Mule application. The File Write operation throws a FILE:CONNECTIVITY error.

What response message is returned to the web client?

  • A . ‘’FILE:CONNECnvnY’
  • B . "ORDER:NOT_CREATED"
  • C . "OTHER ERROR"
  • D . "File written"

Reveal Solution Hide Solution

Correct Answer: A
Question #13

Refer to the exhibits.

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?

  • A . ‘#[The year is $(pay load .year)]*
  • B . The year is #[payload.year]’
  • C . ‘#[The year is " + paytoad.year]’
  • D . ‘#["Theyear is++payload-year"]’

Reveal Solution Hide Solution

Correct Answer: D
Question #14

Refer to the exhibits.

A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml.

What valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?

  • A . ${training.host}
  • B . ${training:host}
  • C . #[training:host]
  • D . #[training.host]

Reveal Solution Hide Solution

Correct Answer: A
Question #15

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)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: D
Question #16

Refer to the exhibit.

In the execution of the Scatter-Gather, the "steep 1 sec" Flow Reference takes about 1 second to complete, and the "sleep 5 sees" Row Reference takes about 5 seconds to complete.

About how many seconds does it take from the time the Scatter-Gather is called until the Set Payload transformer is called?

  • A . 0
  • B . 1
  • C . 5
  • D . 6

Reveal Solution Hide Solution

Correct Answer: C
Question #17

A company has an API to manage purchase orders, with each record identified by a unique purchase order ID. The API was built with RAML according to MuleSoft best practices.

What URI should a web client use to request order P05555?

  • A . /orders/{P05555}
  • B . /orders/order=P05555
  • C . /orders?order=P05555
  • D . /orders/P05555

Reveal Solution Hide Solution

Correct Answer: D
Question #18

A Mule flow has three Set Variable transformers.

What global data structure can be used to access the variables?

  • A . Mule event attributes
  • B . Mule event message
  • C . Mule application properties
  • D . Mule event

Reveal Solution Hide Solution

Correct Answer: D
Question #19

A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project’s src/main/resources/modules folder.

What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module’s formatString function?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: D
Question #20

An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCore for a new Mule application to act as an API proxy.

What is the next step to preseive the current vCore usage, but still allow the Mule application to be managed by API Manager?

  • A . Register the same API implementation in Runtime Manager to connect to API Manager
  • B . Modify the API implementation to use auto-discovery to register with API Manager
  • C . Upload the Mule application’s JAR file to the API instance in API Manager
  • D . Deploy the same API implementation behind a VPC and configure the VPC to connect to API Manager

Reveal Solution Hide Solution

Correct Answer: B

Question #21

Refer to the exhibits.

A Mule application contains a Choice router.

What is logged when the flow completes?

  • A . EU
  • B . US
  • C . "REGION"
  • D . ["US", "EU"]

Reveal Solution Hide Solution

Correct Answer: B
Question #22

Refer to the exhibit.

The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

  • A . [10. 20, 30. 40, 50, 60]
  • B . [10. 20] [30, 40] [50, 60]
  • C . [20, 40, 60]
  • D . [20. 40] [60]

Reveal Solution Hide Solution

Correct Answer: D
Question #23

An HTTP Request operation sends an HTTP request with a non-empty JSON object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML body. The result is stored in a target named the Result.

What is the payload at the event processor after the HTTP Request?

  • A . The XML response body
  • B . null
  • C . The original JSON request body
  • D . A non-empty Java object

Reveal Solution Hide Solution

Correct Answer: C
Question #24

Refer to the exhibit.

The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer.

What is the next step to fix the error to get the project to run successfully?

  • A . Edit the dependency in the Mule project’s pom.xml file
  • B . Install the dependency to the computer’s local Maven repository
  • C . Deploy the dependency to MuleSoft’s Maven repository
  • D . Add the dependency to the MULE_HOME/bin folder

Reveal Solution Hide Solution

Correct Answer: B
Question #25

Refer to the exhibits.

The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured with the same host string and the port number, path, and operation values are shown in the display names.

What is the minimum number of global elements that must be defined to support all these HTTP Listeners?

  • A . 1
  • B . 2
  • C . 3
  • D . 4

Reveal Solution Hide Solution

Correct Answer: B
Question #26

Refer to the exhibits.

The input array of strings is processed by the batch job that processes, fitters, and aggregates the values.

What is the last message logged by the Logger component after the batch job completes processing?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: C
Question #27

Refer to the exhibit.

The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP: NOT_FOUND error.

What response message is returned?

  • A . APP: API RESOURCE NOT FOUND
  • B . HTTP: NOT FOUND
  • C . other error
  • D . success – main flow

Reveal Solution Hide Solution

Correct Answer: A
Question #28

Refer to the exhibit.

What is the response to a web client request to http://localhost:8081?

  • A . After
  • B . before
  • C . Validation Error
  • D . null

Reveal Solution Hide Solution

Correct Answer: A
Question #29

A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.

What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?

  • A . Put the Database SELECT operation inside a Cache scope
  • B . Put the Database SELECT operation inside a Message Enricher scope
  • C . Nothing, previous payloads are combined into the next payload
  • D . Save the payload from the Database SELECT operation to a variable

Reveal Solution Hide Solution

Correct Answer: D
Question #30

An On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.

How should the listener be configured so it retrieves new rows at most one time?

  • A . Set the target to store the last retrieved record_id value
  • B . Set the ObjectStore to store the last retrieved record_id value
  • C . Set the target to the record_id column
  • D . Set the watermark column to the record id column

Reveal Solution Hide Solution

Correct Answer: D

Question #31

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?

  • A . booklSBN
  • B . attributes.booklSBN
  • C . flowVars.booklSBN
  • D . vars. booklSBN

Reveal Solution Hide Solution

Correct Answer: D
Question #32

Refer to the exhibit.

What Database expression transforms the input to the output?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: C
Question #33

Refer to the exhibit.

The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.

What is a valid RAML specification that reuses the Plan data type?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: D
Question #34

To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file.

Where does the configuration file’s location need to be specified in the Mule application?

  • A . The pom.xml file
  • B . A global element
  • C . The mule-art if act .json file
  • D . a flow attribute

Reveal Solution Hide Solution

Correct Answer: B
Question #35

Refer to the exhibit.

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

  • A . Key/value pairs in the ObjectStore
  • B . Properties of the Mule runtime flow object
  • C . properties of the Mule runtime app object
  • D . session variables

Reveal Solution Hide Solution

Correct Answer: A
Exit mobile version