Updated Feb 28, 2023 Verified Pass MCD-Level-1 Exam in First Attempt Guaranteed [Q112-Q133]

Share

Updated Feb 28, 2023 Verified Pass MCD-Level-1 Exam in First Attempt Guaranteed

Free MCD-Level-1 Sample Questions and 100% Cover Real Exam Questions (Updated 226 Questions)


The MCD - Level 1 exam was envisioned for would-be developers. It assesses them and proves that they have the knowledge in addition to experience in implementing basic projects concerning Mule 4. Passing this test leads to the MuleSoft Certified Developer - Level 1 (Mule 4) certification.

 

NEW QUESTION 112
A Mule application's HTTP Listener is configured with the HTTP protocol. The HTTP listeners port attribute is configured with a property placeholder named http.port. The mule application sets the http.port property placeholder's value to 9090 The Mule application is deployed to CloudHub without setting any properties in the Runtime manager Properties tab and a log message reports the status of the HTTP listener after the Mule application deployment completes.
After the mule applications is deployed, what information is reported in the worker logs related to the port on which the Mule application's HTTP Listener listens?

  • A. The HTTP Listener is listening on port 80
  • B. The HTTP Listener failed to bind to the port and is not listening for connections
  • C. The HTTP Listener is listening on port 8081
  • D. The HTTP Listener is listening on port 9090

Answer: C

Explanation:
Cloudhub expose services on port 8081 and override value in http.port with this one .
Sample log in Runtime Manager is below
21:15:53.148 08/08/2021 Worker-0 ArtifactDeployer.start.01 INFO
Listening for connections on 'http://0.0.0.0:8081'

 

NEW QUESTION 113
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]

Answer: A

 

NEW QUESTION 114
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. 0
  • B. "none"
  • C. The entire CSV file
  • D. The database response

Answer: A

 

NEW QUESTION 115
What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?

  • A. Attributes are replaced with new attributes from the HTTP Request response (which might be null)
  • B. Attributes do not change
  • C. Previous attributes are passed unchanged
  • D. New attributes may be added from the HTTP response headers, but no headers are ever removed

Answer: A

Explanation:
Attributes are replaced with new attributes from the HTTP Request response.
Attributes include everything apart from Payload/body. For ex: Headers, query parameters, URI parameters.
So, when outbound HTTP request is made, new attributes need to pass the outbound HTTP request and old attributes are replaced.
I have created below diagram to make it easy for you to understand:

 

NEW QUESTION 116
Refer to the exhibit.

What is the correct way to create a user?
A)

B)

C)

D)

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

Answer: C

 

NEW QUESTION 117
Refer to the exhibit.

The Mule application Is debugged in Any point Studio and stops at the breakpoint What is the value of the payload displayed In the debugger at this breakpoint?

  • A. "Processing"
  • B. 0
  • C. Complete"
  • D. "Start"

Answer: D

 

NEW QUESTION 118
Refer to the exhibit.

What data is expected by the POST /accounts endpoint?
A)

B)

C)

D)

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

Answer: D

 

NEW QUESTION 119
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. Nothing, previous payloads are combined into the next payload
  • B. Put the Database SELECT operation inside a Message Enricher scope
  • C. Put the Database SELECT operation inside a Cache scope
  • D. Save the payload from the Database SELECT operation to a variable

Answer: D

 

NEW QUESTION 120
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. Deploy the dependency to MuleSoft's Maven repository
  • B. Install the dependency to the computer's local Maven repository
  • C. Add the dependency to the MULE_HOME/bin folder
  • D. Edit the dependency in the Mule project's pom.xml file

Answer: B

Explanation:
As dependency is not present in Mulesoft Maven repository, we need to install the dependency on computer's local Maven repository. Option 3 is correct choice.

 

NEW QUESTION 121
Refer to the exhibits.


A Mule application contains a Choice router. What is logged when the flow completes?

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

Answer: C

 

NEW QUESTION 122
Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?

  • A. Allows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener
  • B. Allows CloudHub to automatically register the application with API Manager
  • C. Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener
  • D. Allows clients to VPN directly to the application at the Mule application's configured HTTP port

Answer: C

 

NEW QUESTION 123
There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?

  • A. Incoming array objects would be split into three and each part would be sent to one route each in parallel
  • B. Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
  • C. Entire event would be sent to each route in parallel
  • D. Entire event would be sent to each route sequentially

Answer: C

Explanation:
Entire event would be sent to each route in parallel.
Scatter-Gather works as follows :
- The Scatter-Gather component receives a Mule event and sends a reference of this Mule event to each processing route.
- Each of the processing routes starts executing in parallel. After all processors inside a route finish processing, the route returns a Mule event, which can be either the same Mule event without modifications or a new Mule event created by the processors in the route as a result of the modifications applied.
- After all processing routes have finished execution, the Scatter-Gather component creates a new Mule event that combines all resulting Mule events from each route, and then passes the new Mule event to the next component in the flow.

 

NEW QUESTION 124
Refer to the exhibits.

How many private flows does APIKIt generate from RAML specification?

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

Answer: B

Explanation:
APIKIt Creates a separate flow for each HTTP method. Hence 4 private flows would be generated.
MuleSoft Documentation Referrence : https://docs.mulesoft.com/mule-runtime/4.3/build-application-from-api

 

NEW QUESTION 125
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 attributes
  • D. Mule message payload

Answer: A

 

NEW QUESTION 126
What are the latest specification of RAML available?

  • A. 0
  • B. 1.2
  • C. 0.8
  • D. 1

Answer: D

Explanation:
The current version of the RAML specification is 1.0
You can check RAML version in RAML definition by referring to first comment. See highlighted part in below image.

 

NEW QUESTION 127
Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?

  • A. Select the Include project modules and dependencies option only
  • B. Select only Attach Project Sources only
  • C. Select both Attach Project Sources and Include project modules and dependencies option
  • D. De-select both Attach Project Sources and Include project modules and dependencies option

Answer: B

Explanation:
Correct answer is Select only Attach Project Sources only
You must keep the Attach Project Sources option selected to be able to import the packaged JAR file back into a Studio workspace.
Deselect the Include project modules and dependencies option.
This option skips bundling the actual modules and external dependencies required to run the Mule application in a Mule runtime engine, creating a lightweight JAR file package that does not include any dependencies specified in the Mule application's pom.xml file.
The generated JAR file is not a functional deployable archive and cannot be deployed to a Mule runtime engine, but instead offers a way to archive only the source files that make up the Mule application. This is the same as using the -lightWeightPackage flag when packaging using the Mule Maven Plugin and is useful if you want to distribute your project to other Studio installations because it only keeps a reference to all its dependencies. When you import a lightweight package into Studio, all your dependencies are automatically downloaded MuleSoft Doc Ref : https://docs.mulesoft.com/studio/7.8/import-export-packages

 

NEW QUESTION 128
Which of the below functionality is provided by zip operator in DataWeave?

  • A. Merges elements of two lists (arrays) into a single list
  • B. All of the above
  • C. Minimize the size of long text using encoding.
  • D. Used for sending attachments

Answer: A

Explanation:
Correct answer is Merges elements of two lists (arrays) into a single list MuleSoft Doc Reference : https://docs.mulesoft.com/mule-runtime/4.3/dw-core-functions-zip

 

NEW QUESTION 129
What valid RAML retrieves details on a specific by its orderld as a URL parameter?
A)

B)

C)

D)

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

Answer: C

 

NEW QUESTION 130
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 fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333
  • B. The mule application start successfully
    Web client requests can be received at URI on port 2222 and on port 3333.
  • 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
    There is URL path conflict because both HTTP Listeners are configured with same path

Answer: B

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 131
What HTTP method in a RESTful web service is typically used to completely replace an existing resource?

  • A. POST
  • B. GET
  • C. PATCH
  • D. PUT

Answer: D

Explanation:
PUT replaces the original version of the resource, whereas the PATCH method supplies a set of instructions to modify the resource

 

NEW QUESTION 132
A Utlility.dwl is located in a Mule project at src/main/resources/modules. The Utility.dwl file defines a function named encryptString that encrypts a String What is the correct DataWeave to call the encryptString function in a Transform Message component?

  • A. 1. %dw 2.0
    2. output application/json
    3. import modules.Utility
    4. ---
    5. Utility.encryptString( "John Smith" )
  • B. 1. %dw 2.0
    2. output application/json
    3. import modules::Utility
    4. ---
    5. encryptString( "John Smith" )
  • C. 1. %dw 2.0
    2. output application/json
    3. import modules.Utility
    4. ---
    5. encryptString( "John Smith" )
  • D. 1. %dw 2.0
    2. output application/json
    3. import modules::Utility
    4. ---
    5. Utility::encryptString( "John Smith" )

Answer: B

Explanation:
Correct answer is
%dw 2.0
output application/json
import modules::Utility
---
Utility::encryptString( "John Smith" )
DataWeave 2.0 functions are packaged in modules. Before you begin, note that DataWeave 2.0 is for Mule 4 apps. For Mule 3 apps, refer to DataWeave Operators in the Mule 3.9 documentation. For other Mule versions, you can use the version selector for the Mule Runtime table of contents.
Functions in the Core (dw::Core) module are imported automatically into your DataWeave scripts. To use other modules, you need to import the module or functions you want to use by adding the import directive to the head of your DataWeave script, for example:
import dw::core::Strings
import camelize, capitalize from dw::core::Strings
import * from dw::core::Strings
The way you import a module impacts the way you need to call its functions from a DataWeave script. If the directive does not list specific functions to import or use * from to import all functions from a function module, you need to specify the module when you call the function from your script. For example, this import directive does not identify any functions to import from the String module, so it calls the pluralize function like this: Strings::pluralize("box").
Transform
%dw 2.0
import dw::core::Strings
output application/json
---
{ 'plural': Strings::pluralize("box") }

 

NEW QUESTION 133
......


MuleSoft MCD-Level-1 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Manually create a RESTful interface for a Mule application
  • Explain MuleSoft’s proposal for closing the IT delivery gap
Topic 2
  • Use RAML to define API parameters, requests, and responses
  • Describe the capabilities and high-level components of Anypoint Platform for the API lifecycle
Topic 3
  • Use transformers to set event payloads, attributes, and variables
  • Describe the purpose and roles of a Center for Enablement (C4E)
Topic 4
  • Describe how requests are routed through flows generated by APIkit
  • Identify when and how to define query parameters vs URI parameters
Topic 5
  • Parameterize an application using property placeholders
  • Describe the basics of the HTTP protocol and the characteristics of requests and responses
Topic 6
  • Use APIkit to create implementation flows from a RAML file
  • Use RAML to define API resources, nested resources, and methods
Topic 7
  • Use the Choice router to route events based on conditional logic
  • Enrich Mule events using target parameters
Topic 8
  • Define and reuse global configurations in an application
  • Define and describe the benefits of API-led connectivity and application networks


Understanding functional and technical aspects of MuleSoft Certified Developer - Level 1 Accessing and modifying Mule events

The following will be asked from you in the exam:

  • Use transformers to set event payloads, attributes, and variables
  • Describe the Mule event data structure
  • Write DataWeave expressions to access and modify event payloads, attributes, and variables
  • Accessing and modifying Mule events
  • Enrich Mule events using target parameters

 

Download Real MuleSoft MCD-Level-1 Exam Dumps Test Engine Exam Questions: https://passleader.free4dump.com/MCD-Level-1-real-dump.html