0% found this document useful (0 votes)
1K views6 pages

MCD Level 2

- The document contains sample questions and answers for the MuleSoft Certified Developer - Level 2 (MCD-Level-2) exam. - It includes questions about configuring common flows across applications using plugins, scaffolding flows from API specifications, cache invalidation strategies, validating payloads against schemas, implementing readiness endpoints, and monitoring connectors in Anypoint Platform.

Uploaded by

madhurikmwt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views6 pages

MCD Level 2

- The document contains sample questions and answers for the MuleSoft Certified Developer - Level 2 (MCD-Level-2) exam. - It includes questions about configuring common flows across applications using plugins, scaffolding flows from API specifications, cache invalidation strategies, validating payloads against schemas, implementing readiness endpoints, and monitoring connectors in Anypoint Platform.

Uploaded by

madhurikmwt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

PASS4TEST

IT Certification Guaranteed, The Easy Way!

http://www.pass4test.com
We offer free update service for one year
MCD-Level-2 Exam Questions, MCD-Level-2 study materials. MuleSoft Certified Developer - Level 2 (Mule 4)
IT Certification Guaranteed, The Easy Way!

Exam : MCD-Level-2

Title : MuleSoft Certified Developer -


Level 2 (Mule 4)

Vendor : MuleSoft

Version : DEMO

1
MCD-Level-2, MCD-Level-2 dumps, Pass4Test MCD-Level-2
https://www.pass4test.com/MCD-Level-2.html
MCD-Level-2 Exam Questions, MCD-Level-2 study materials. MuleSoft Certified Developer - Level 2 (Mule 4)
IT Certification Guaranteed, The Easy Way!

NO.1 An organization uses CloudHub to deploy all of its applications.


How can a common-global-handler flow be configured so that it can be reused across all of the
organization's deployed applications?
A. Create a common-global-error-handler flow in all Mule Applications Refer to it flow-ref wherever
needed.
B. Create a Mule Plugin project
Create a common-global-error-handler flow inside the plugin project.
Use this plugin as a dependency in all Mule applications
C. Create a Mule daman project.
Create a common-global-error-handler flow inside the domain project.
Use this domain project as a dependency.
D. Create a Mule plugin project
Create a common-global-error-handler flow inside the plugin project.
Use this plugin as a dependency in all Mute applications.
Import that configuration file in Mute applications.
Answer: B
Explanation
To configure a common-global-handler flow that can be reused across all of the organization's
deployed applications, the developer should create a Mule Plugin project, create a common-global-
error-handler flow inside the plugin project, and use this plugin as a dependency in all Mule
applications. This way, the developer can import the common-global-error-handler flow in any
application that needs it and avoid duplicating the error handling logic. References:
https://docs.mulesoft.com/mule-runtime/4.3/error-handling#global-error-handler

NO.2 Refer to the exhibit.

When creating a new project, which API implementation allows for selecting the correct API version
and scaffolding the flows from the API specification?
A. Generate a local RAML from anypoint Studio

2
MCD-Level-2, MCD-Level-2 dumps, Pass4Test MCD-Level-2
https://www.pass4test.com/MCD-Level-2.html
MCD-Level-2 Exam Questions, MCD-Level-2 study materials. MuleSoft Certified Developer - Level 2 (Mule 4)
IT Certification Guaranteed, The Easy Way!

B. Import a published API


C. Import RAML from local file
D. Download RAML from Design Center'
Answer: B
Explanation
To create a new project that selects the correct API version and scaffolds the flows from the API
specification, the developer should import a published API. This option allows importing an API
specification that has been published to Anypoint Exchange or Design Center, and selecting a specific
version of that API specification.
The developer can also choose to scaffold flows based on that API specification. References:
https://docs.mulesoft.com/apikit/4.x/apikit-4-new-project-task

NO.3 Which type of cache invalidation does the Cache scope support without having to write any
additional code?
A. Notification-based invalidation
B. White-behind invalidation
C. Time to live
D. Write-through invalidation
Answer: C
Explanation
The Cache scope supports time to live (TTL) as a cache invalidation strategy without having to write
any additional code. TTL specifies how long the cached response is valid before it expires and needs
to be refreshed. The Cache scope also supports custom invalidation strategies using MEL or
DataWeave expressions. References: https://docs.mulesoft.com/mule-runtime/4.3/cache-
scope#cache_invalidation

NO.4 Refer to the exhibit.

Based on the code snippet, schema,json file, and payload below, what is the outcome of the given

3
MCD-Level-2, MCD-Level-2 dumps, Pass4Test MCD-Level-2
https://www.pass4test.com/MCD-Level-2.html
MCD-Level-2 Exam Questions, MCD-Level-2 study materials. MuleSoft Certified Developer - Level 2 (Mule 4)
IT Certification Guaranteed, The Easy Way!

code snippet when a request is sent with the payload?


A. The Mule flow will throw the exception 'JSON:SCHEMA_NOT_HONOURED
B. The Mule flow will execute successfully with status code 200, and the response will be the JSON
sent in request
C. The Mule flow will execute successfully with status code 204
D. The Mule flow will execute successfully with status code 200m and a response will display the
message
'' Age in years which must equal to or greater than zero.''
Answer: A
Explanation
Based on the code snippet, schema.json file, and payload below, the outcome of the given code
snippet when a request is sent with the payload is that the Mule flow will throw the exception
'JSON:SCHEMA_NOT_HONOURED'. This is because the payload does not conform to the schema.json
file, which specifies that age must be a number greater than or equal to zero. The payload has age as
a string with a negative value, which violates the schema. Therefore, the validate-schema operation
throws an error with type
'JSON:SCHEMA_NOT_HONOURED'. References:
https://docs.mulesoft.com/json-module/1.1/json-validate-schema

NO.5 A system API that communicates to an underlying MySQL database is deploying to CloudHub.
The DevOps team requires a readiness endpoint to monitor all system APIs.
Which strategy should be used to implement this endpoint?
A. Use an existing resource endpoint of the API
B. Create a dedicated endpoint that responds with the API status and reachability of the underlying
systems
C. Create a dedicated endpoint that responds with the API status and health of the server
D. Create a dedicated endpoint that responds with the API status only
Answer: B
Explanation
To implement a readiness endpoint to monitor all system APIs, the developer should create a
dedicated endpoint that responds with the API status and reachability of the underlying systems. This
way, the DevOps team can check if the system API is ready to receive requests and if it can
communicate with its backend systems without errors. References:
https://docs.mulesoft.com/mule-runtime/4.3/deployment-strategies#readiness-probes

NO.6 A company with MuleSoft Titanium develops a Salesforce System API using MuleSoft out-of-
the-box Salesforce Connector and deploys the API to CloudHub.
Which steps provide the average number of requests and average response time of the Salesforce
Connector?
A. Access Anypoint Monitoring's built-in dashboard. Select a resource.
Locate the information under the Connectors tab.
B. Access Anypoint Monitoring built-in dashboard.
Select a resource.
Locate the information under Log Manager < Raw Data.
C. Change the API Implementation to capture the information in the log.

4
MCD-Level-2, MCD-Level-2 dumps, Pass4Test MCD-Level-2
https://www.pass4test.com/MCD-Level-2.html
MCD-Level-2 Exam Questions, MCD-Level-2 study materials. MuleSoft Certified Developer - Level 2 (Mule 4)
IT Certification Guaranteed, The Easy Way!

Retrieve the information from the log file.


D. Access Anypoint Monitoring's built-in dashboard
Seclect a resource.
Create a custom dashboard to retrieve the information.
Answer: A
Explanation
To get the average number of requests and average response time of the Salesforce Connector, the
developer should access Anypoint Monitoring's built-in dashboard, select a resource (such as an
application or an API), and locate the information under the Connectors tab. The Connectors tab
shows metrics for each connector used by the resource, such as average requests per minute,
average response time, and failures. References:
https://docs.mulesoft.com/monitoring/built-in-dashboard-reference

5
MCD-Level-2, MCD-Level-2 dumps, Pass4Test MCD-Level-2
https://www.pass4test.com/MCD-Level-2.html

You might also like