Free MuleSoft MCD-Level-1 Exam 2023 Practice Materials Collection [Q89-Q114]

Share

Free MuleSoft MCD-Level-1 Exam 2023 Practice Materials Collection

MCD-Level-1 Exam Info and Free Practice Test All-in-One Exam Guide Oct-2023


MuleSoft MCD-Level-1 certification is an essential certification for developers who want to demonstrate their mastery of MuleSoft-based applications, integrations, and APIs. MuleSoft Certified Developer - Level 1 (Mule 4) certification validates the developer's expertise in designing, building, testing, and deploying MuleSoft-based applications using various tools and techniques. With the MuleSoft MCD-Level-1 certification, developers can advance their careers in the integration and API development field and gain a competitive edge in the job market.

 

NEW QUESTION # 89
What MuleSoft product enables publishing, sharing, and searching of APIs?

  • A. API Designer
  • B. Runtime Manager
  • C. API Notebook
  • D. Anypoint Exchange

Answer: D

Explanation:
Anypoint Exchange provided a way to publish , share and search API's.
MuleSoft Doc Ref : https://docs.mulesoft.com/exchange/


NEW QUESTION # 90
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/orders|customers
  • C. /apis/
  • D. /apis/?

Answer: C


NEW QUESTION # 91
Refer to the payload.


The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]" What is the output of logger when this flow executes?

  • A. 1. 1. "You called the function '++' with these arguments:
    2. 2. 1: String ("INFO")
    3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)
  • B. Result INFOpayload
  • C. Result INFO{"student":{"name":"Anay","age":6}}
  • D. Error : You evaluated inline expression # without ++

Answer: A

Explanation:
Correct answer is as below as concatenation operation works only with string and not with the objects. In this case payload is object.
"You called the function '++' with these arguments:
1: String ("INFO")
2: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age


NEW QUESTION # 92
Which file is used to define the interface contract to invoke a web service implemented as a SOAP service

  • A. RAML
  • B. WSDL
  • C. JSON
  • D. OAS

Answer: B

Explanation:
WSDL is used to define the contract in case of SOAP . RAML/OAS is used to REST services


NEW QUESTION # 93
Refer to the exhibits.

The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.
What values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or = red?

  • A. payload
    quantity var color query param
  • B. payload
    quantity var
  • C. payload
    color query param
  • D. payload

Answer: D


NEW QUESTION # 94
According to Semantic Versioning, which version would you change for incompatible API changes?

  • A. MINOR
  • B. No change
  • C. MAJOR
  • D. PATCH

Answer: C

Explanation:
Correct answer is MAJOR
MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards compatible manner, and PATCH version when you make backwards compatible bug fixes.
For details refer to this documentation : https://semver.org/


NEW QUESTION # 95
Refer to the exhibits.

The orders.csv file is read, then processed to look up the orders in a database. The Mule application is debugged in Any point Studio and stops at the breakpoint.
What is the payload shown in the debugger at this breakpoint?

  • A. The entire CSV file
  • B. "none"
  • C. 0
  • D. The database response

Answer: C


NEW QUESTION # 96
Refer to the exhibit.

What DataWeave expression transforms the conductorlds array to the XML output?
A)

B)

C)

D)

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

Answer: B


NEW QUESTION # 97
Refer to the exhibits.


The Validation component in the private flow throws an error. What response message is returned to a client request to the main flow's HTTP Listener?

  • A. Success - main flow
  • B. Error - private flow
  • C. Validation Error
  • D. Error - main flow

Answer: A


NEW QUESTION # 98
As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?

  • A. { port : p('db.port')}
  • B. { port : p['db.port']}
  • C. Application property cannot be accessed in Dataweave
  • D. { port : {db:port}}

Answer: A

Explanation:
Option 1 is the correct syntax


NEW QUESTION # 99
Refer to the exhibits.


A
web client submits a request to http://localhQst:8081 /flights. What is the result at the end of the flow?

  • A. "Java"
  • B. "XML"
  • C. "string"
  • D. "object"

Answer: D


NEW QUESTION # 100
Refer to the exhibit.

A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?

  • A. Mule message
  • B. Mule event
  • C. Mule message payload
  • D. Mule message attributes

Answer: B

Explanation:


NEW QUESTION # 101
Refer to the exhibits.
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?

  • A. ""
  • B. "String is not blank"
  • C. "End"
  • D. "Start"

Answer: B


NEW QUESTION # 102
Refer to the exhibit.

What Database expression transforms the input to the output?
A)

B)

C)

D)

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

Answer: B

Explanation:
This kind of questions are best solved with filtering technique. Key thing to note here is XML attributes are always access by @ notation. So in this example orderId can be accessed as @OrderId which makes option 3 and option 4 false. Now difference in optin and option 2 is in mapping of lineItemPrice. Correct syntax to format a String in Numbse is value.price as Number. Hence option 2 is correct


NEW QUESTION # 103
Refer to the exhibits.

What payload and quantity are togged at the end of the main flow?

  • A. [[1,2,3,4], 10]
  • B. [[1,2,3,4], 14]
  • C. [[order1, order2, order3, order4], 14]
  • D. [orderlorder2order3order4, 14]

Answer: B


NEW QUESTION # 104
Refer to the exhibit.

In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds.
How many seconds does it take for the Scatter_Gather to complete?

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

Answer: D


NEW QUESTION # 105
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)

B)

C)

D)

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

Answer: D


NEW QUESTION # 106
What is the purpose of the api:router element in APIkit?

  • A. Validates requests against RAML API specifications and routes them to API implementations
  • B. Serves as an API implementation
  • C. Validates responses returned from API requests and routes them back to the caller
  • D. Creates native connectors using a 3rd party Java library

Answer: A

Explanation:
The APIkit Router is a key message processor that validates requests against the provided definition, enriches messages (for example by adding default values to the messages) and routes requests to a particular flow. Also, the Router raises errors messages if errors occurs while routing, validating or processing the user request.


NEW QUESTION # 107
Refer to the exhibit.

What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?

  • A. createCustomerObject( "Alice", "Green")
  • B. lookupC createCustomerObJect( "Alice", "Green- ) )
  • C. createCustomerObject( { first: "Alice", last: "Green" > )
  • D. lookupf "createCustomerObject", { first: "Alice", last: "Green" > )

Answer: D

Explanation:
lookup(String, Any, Number)
This function enables you to execute a flow within a Mule app and retrieve the resulting payload.
It works in Mule apps that are running on Mule Runtime version 4.1.4 and later.
Similar to the Flow Reference component (recommended), the lookup function enables you to execute another flow within your app and to retrieve the resulting payload. It takes the flow's name and an input payload as parameters. For example, lookup("anotherFlow", payload) executes a flow named anotherFlow.
Correct answer is
lookup( "createCustomerObject", {first: "Aice, last: "Green"})
MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/dw-mule-functions-lookup


NEW QUESTION # 108
A web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?

  • A. #[message.queryParams.hrstName]
  • B. #[attributes.'http.query.params'.firstName]
  • C. #[attributes.queryParams.firstName]
  • D. #[message.inboundProperties.'http.query.params'.firstName]

Answer: C


NEW QUESTION # 109
Refer to exhibits.

What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?

  • A. #[The city is ${payload.City}
  • B. #["The city is" ++ payload.City]
  • C. The city is + #[payload.City]
  • D. The city is #[payload.City]

Answer: D

Explanation:
Correct answer is The city is #[payload.City]
Answer can get confused with the option #["The city is" ++ payload.City] But note that this option will not print the space between is and city name. This will print The city isPune


NEW QUESTION # 110
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 B
  • B. Option D
  • C. Option C
  • D. Option A

Answer: B


NEW QUESTION # 111
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. 2
  • D. 3

Answer: B


NEW QUESTION # 112
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?order=P05555
  • B. /orders/P05555
  • C. /orders/order=P05555
  • D. /orders/{P05555}

Answer: B


NEW QUESTION # 113
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. 0
  • B. 1
  • C. 2
  • D. 3

Answer: A

Explanation:
In this case three configurations will be required each for port 8000, 6000 and 7000.
There would be three global elements defined for HTTP connections.
Each HTTP connection will have host and port. One example shown below with host as localhost and port 6000


NEW QUESTION # 114
......

Pass MuleSoft MCD-Level-1 Actual Free Exam Q&As Updated Dump: https://testinsides.actualpdf.com/MCD-Level-1-real-questions.html