Oct-2022 FREE MuleSoft MCD-Level-1 PRACTICE QUESTIONS AND ANSWERS UPDATES [Q60-Q85]

Share

Oct-2022 FREE MuleSoft MCD-Level-1 PRACTICE QUESTIONS AND ANSWERS UPDATES

DEMO FREE BEFORE YOU BUY MCD-Level-1 DUMPS


Recommended Experience

Anyone intending to sit for this MCD - Level 1 (Mule 4) exam should have basic experience in developing, executing, and running Mule 4 projects. Though not mandatory, it is recommended that you take official training to gain the abilities needed. These, in turn, should include carrying out the following:

  • Processing batch records.
  • Connecting to various resources that include files, web services, databases, JMS queues, and SaaS applications;
  • Taking advantage of DataWeave 2.0 to perform basic transformations of data;
  • Handling errors and controlling event flows;
  • Using the Anypoint platform hosted on MuleSoft in taking basic APIs through all their lifecycle steps of developing, building, deploying, managing, and governing;

 

NEW QUESTION 60
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. "string"
  • B. "XML"
  • C. "Java"
  • D. "object"

Answer: A

 

NEW QUESTION 61
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 with another 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 D
  • C. Option B
  • D. Option C

Answer: B

 

NEW QUESTION 62
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 63
What DataWeave expression transforms the example XML input to the CSV output?

A)

B)

C)

D)

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

Answer: A

Explanation:
Correct answer is as below. Attributes in the incoming xml payload are always accessed using @.Similarly *item is required as we have multiple items in the request
%dw 2.0
output application/csv
---
payload.sale.*item map ((value, index) -> {
index: index,
sale: value.@saleId,
itemName: value.desc,
itemPrice: (value.quantity) * (value.price),
item: value.@itemId
} )

 

NEW QUESTION 64
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. "Start"
  • B. "End"
  • C. "String is not blank"
  • D. ""

Answer: C

 

NEW QUESTION 65
Refer to the exhibits.


Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.
What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?

  • A. customer.firstName
  • B. vars."customer"."firstName"
  • C. vars."customer.firstName"
  • D. firstName

Answer: B

Explanation:
Correct answer is vars."customer"."firstName"
Please you can also access firstName using this syntax vars.customer.firstName.

 

NEW QUESTION 66
Refer to the exhibits.
Larger image

Larger image

Larger image

The Mule application configures and uses two HTTP Listener global configuration elements.
Mule application is run in Anypoint Studio.
If the mule application starts correctly, what URI and port numbers can receive web client requests? If the mule applications fails to start , what is the reason for the failure?

  • A. The mule application start successfully
    Web client requests can be received at URI on port 2222 and on port 3333.
  • B. The mule application fails to start
    There is URL path conflict because both HTTP Listeners are configured with same path
  • C. The mule application start successfully
    Web client requests can only be received at URI on port 2222 but not on port 3333
  • D. The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333

Answer: A

Explanation:
In this case both the flows can start without any error and requests can be received on both ports. Flow names httpListener1 can call other flow using HTTP request without any issues.

 

NEW QUESTION 67
Refer to the exhibits.

The main flow contains a Flow Reference to the child flow.
A web client sends a GET request to the main flow's HTTP Listener that includes a make query parameter.
What values are accessible in the child flow?

  • A. payload
    make query param model var
  • B. payload
  • C. payload
    model var
  • D. payload
    make query param

Answer: A

 

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

A)

B)

C)

D)

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

Answer: B

 

NEW QUESTION 69
What module and operation will throw an error if a Mule events payload is not number ?

  • A. Filter modules Is Number operation
  • B. None of these
  • C. Validation modules Is Number operation
  • D. Validation modules Is not Number operation

Answer: C

Explanation:
Correct answer is Validation modules Is Number operation.
Mule 4 does not use filters anymore. The functionality provided by filters in Mule 3 can be achieved by using the Validation Module.

 

NEW QUESTION 70
Refer to the exhibit.

What should be changed to fix the 415 error?

  • A. set the response Content-Type header to application/json
  • B. set the response Content-Type header to text/plain
  • C. Set the request Content-Type header to application/] son
  • D. set the request Content-Type header to text/plain

Answer: C

Explanation:
The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format. The format problem might be due to the request's indicated Content-Type or Content-Encoding , or as a result of inspecting the data directly. In this case as per RAML specification data is expected in application/json and in request Content-Type is set as "text/plain" which is incorrect. Hence solution is set the request Content-Type header to application/json

 

NEW QUESTION 71
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. Error - private flow
  • B. Error - main flow
  • C. Validation Error
  • D. Success - main flow

Answer: D

 

NEW QUESTION 72
What statement is a part of MuleSoft's description of an application network?

  • A. Leverages Central IT to deliver complete point-to-point solutions with master data management
  • B. Creates reusable APIs and assets designed to be consumed by other business units
  • C. Creates and manages high availability and fault tolerant services and infrastructure
  • D. Creates and manages a collection of JMS messaging services and infrastructure

Answer: B

Explanation:
Creates reusable APIs and assets designed to be consumed by other business units

 

NEW QUESTION 73
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?''
What response message is returned?

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

Answer: D

 

NEW QUESTION 74
What is the correct syntax to define and call a function in Database?
A)

B)

C)

D)

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

Answer: A

 

NEW QUESTION 75
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?

  • A. The applications associated with the other APIs must be recoded
  • B. The other APIs must be updated to consume the updated product API
  • C. Nothing needs to be changed in the other APIs or their associated applications
  • D. The applications associated with the other APIs must be restarted

Answer: C

 

NEW QUESTION 76
Refer to the exhibits.


The <when> expression for the Choice router needs to be written.
What is a valid <when> expression to route Mule events to the non-default flow?

  • A. #['MuleSoft' == paytoad'company']
  • B. #[ if( company = "MuleSoft") ]
  • C. #[ company = "MuleSoft" ]
  • D. #[ if( 'MuleSoff == payload.company) ]

Answer: D

 

NEW QUESTION 77
Refer to the exhibits.


A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?

  • A. "String"
  • B. "JSON"
  • C. "Object"
  • D. "Array"

Answer: D

 

NEW QUESTION 78
What does C4E stands for in MuleSoft recommended IT operating model?

  • A. Centre for Excellence
  • B. Centre for Enablement
  • C. Centre for Empowerment
  • D. Centre for Engagement

Answer: B

Explanation:
Centre for Enablement (C4E) is an IT operating model that enables an enterprise to build reusable assets, accumulate API's, leverage best practices and knowledge to enable self service and efficient delivery in the organization and implement new solutions faster

 

NEW QUESTION 79
Refer to the exhibits.

What is valid text to set the field in the Database connector configuration to the username value specified in the config.yaml file?

  • A. #[db.username]
  • B. #[db:username]
  • C. ${db:username>
  • D. ${db.username>

Answer: D

 

NEW QUESTION 80
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. flowVars.booklSBN
  • B. attributes.booklSBN
  • C. booklSBN
  • D. vars. booklSBN

Answer: A

 

NEW QUESTION 81
Refer to the exhibit.

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

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

Answer: A

Explanation:

 

NEW QUESTION 82
In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?

  • A. To save the most recent records retrieved from a database to enable database caching
  • B. To delete the most recent records retrieved from a database to enable database caching
  • C. To enable duplicate processing of records in a database
  • D. To avoid duplicate processing of records in a database.

Answer: D

Explanation:
The correct answer is To avoid duplicate processing of records in a database.
If a watermark column is provided, the values taken from that column are used to filter the contents of the next poll, so that only rows with a greater watermark value are returned. If an ID column is provided, this component automatically verifies that the same row is not picked twice by concurrent polls.
Mule doc reference : https://docs.mulesoft.com/db-connector/1.8/database-documentation#listener

 

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

Answer: C

 

NEW QUESTION 84
What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?

  • A. 1. /customers:
    2. get:
    3. /{customerId}:
  • B. 1. /customers:
    2. /customerId:
    3. get:
  • C. 1. /customers:
    2. /{customerId}:
    3. get:
  • D. 1. /customers:
    2. /get:
    3. /customerId:

Answer: C

Explanation:
Correct answer is below as it follows the correct syntax.
/customers:
/{customerId}:
get:

 

NEW QUESTION 85
......

Latest MuleSoft MCD-Level-1 Dumps with Test Engine and PDF: https://vcepractice.pass4guide.com/MCD-Level-1-dumps-questions.html