ExamGecko
Home / MuleSoft / MCD - Level 2
Ask Question

MCD - Level 2: MuleSoft Certified Developer - Level 2 (Mule 4)

Vendor:
Exam Questions:
60
 Learners
  2.370
Last Updated
April - 2025
Language
English
2 Quizzes
PDF | VPLUS

This study guide should help you understand what to expect on the exam and includes a summary of the topics the exam might cover and links to additional resources. The information and materials in this document should help you focus your studies as you prepare for the exam.

MuleSoft MCD - Level 2 Practice Tests

Related questions

Refer to the exhibit.

What is the result if ''Insecure'' selected as part of the HTTP Listener configuration?

MuleSoft MCD - Level 2 image Question 16 52806 09182024213621000000

Become a Premium Member for full access
  Unlock Premium Member

Which statement is true when using XML SDK for creating custom message processors?

Become a Premium Member for full access
  Unlock Premium Member

Refer to the exhibit.

What is the result of the Mule Maven Plugin configuration of the value of property its,keystorePassoword in CloudHub 2.0?

MuleSoft MCD - Level 2 image Question 36 52826 09182024213621000000

Become a Premium Member for full access
  Unlock Premium Member

A custom policy needs to be developed to intercept all cutbound HTTP requests made by Mule applications.

Which XML element must be used to intercept outbound HTTP requests?

It is not possible to intercept outgoing HTTP requests, only inbound requests
It is not possible to intercept outgoing HTTP requests, only inbound requests
http-policy:source
http-policy:source
htt-policy:operation
htt-policy:operation
http-policy:processor
http-policy:processor
Suggested answer: D
Explanation:

The http-policy:processor element is used to intercept outbound HTTP requests made by Mule applications. It allows customizing the request before it is sent to the target API and modifying the response after it is received from the target API.

Reference: https://docs.mulesoft.com/api-manager/2.x/policy-mule4-custom-policy#policy-xml-file

asked 18/09/2024
Courage Marume
40 questions

A Flight Management System publishes gate change notification events whenever a flight's arrival gate changes. Other systems, including Baggage Handler System. Inflight Catering System and Passenger Notifications System, must each asynchronously receive the same gate change notification to process the event according.

Which configuration is required in Anypoint MQ to achieve this publish/subscribe model?

Publish each client subscribe directly to the exchange. Have each client subscribe directly to the queue.
Publish each client subscribe directly to the exchange. Have each client subscribe directly to the queue.
Publish the gate change notification to an Anypoint MC queue Have each client subscribe directly to the queue
Publish the gate change notification to an Anypoint MC queue Have each client subscribe directly to the queue
Publish the gate change notification to an Anypoint MQ queue. Create different anypoint MQ exchange meant for each of the other subscribing systems Bind the queue with each of the exchanges
Publish the gate change notification to an Anypoint MQ queue. Create different anypoint MQ exchange meant for each of the other subscribing systems Bind the queue with each of the exchanges
Publish the gate change notification to an Anypoint MQ exchanhe. Create different Anypoint MQ queues meant for each of the other subscribing systems. Bind the exchange with each of the queues.
Publish the gate change notification to an Anypoint MQ exchanhe. Create different Anypoint MQ queues meant for each of the other subscribing systems. Bind the exchange with each of the queues.
Suggested answer: D
Explanation:

To achieve a publish/subscribe model using Anypoint MQ, where each system receives the same gate change notification event, the developer should publish the gate change notification to an Anypoint MQ exchange, create different Anypoint MQ queues meant for each of the other subscribing systems, and bind the exchange with each of the queues. An exchange is a message routing agent that can send messages to different queues based on predefined criteria. By binding an exchange with multiple queues, each queue receives a copy of every message sent to that exchange. Therefore, each system can subscribe to its own queue and receive every gate change notification event.

Reference: https://docs.mulesoft.com/anypoint-mq/3.x/anypoint-mq-exchanges

asked 18/09/2024
Gerson Rodrigo Menendez
43 questions

A Mule API receives a JSON payload and updates the target system with the payload. The developer uses JSON schemas to ensure the data is valid.

How can the data be validation before posting to the target system?

Become a Premium Member for full access
  Unlock Premium Member

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?

Become a Premium Member for full access
  Unlock Premium Member

A developer deploys an API to CloudHub and applies an OAuth policy on API Manager. During testing, the API response is slow, so the developer reconfigures the API so that the out-of-the-box HTTP Caching policy is applied first, and the OAuth API policy is applied second.

What will happen when an HTTP request is received?

Become a Premium Member for full access
  Unlock Premium Member

Multiple individual Mute application need to use the Mule Maven plugin to deploy to CloudHub.

The plugin configuration should .. reused where necessary and anything project, specific should be property-based.

Where should the Mule Maven details be configured?

Become a Premium Member for full access
  Unlock Premium Member

An API has been built to enable scheduling email provider. The front-end system does very little data entry validation, and problems have started to appear in the email that go to patients. A validate-customer'' flow is added validate the data.

What is he expected behavior of the 'validate-customer'' flow?

MuleSoft MCD - Level 2 image Question 11 52801 09182024213621000000

If only the email address Is invalid a VALIDATION.INVALID_EMAIL error is raised
If only the email address Is invalid a VALIDATION.INVALID_EMAIL error is raised
If the email address is invalid, processing continues to see if the appointment data and customer name are also invalid
If the email address is invalid, processing continues to see if the appointment data and customer name are also invalid
If the appointment date and customer name are invalid, a SCHEDULE:INVALID_APPOINTMENT_DATE error is raised
If the appointment date and customer name are invalid, a SCHEDULE:INVALID_APPOINTMENT_DATE error is raised
If all of the values are invalid the last validation error is raised:SCHEDULE:INVALID_CUSTOMER_NAME
If all of the values are invalid the last validation error is raised:SCHEDULE:INVALID_CUSTOMER_NAME
Suggested answer: A
Explanation:

The validate-customer flow uses an until-successful scope to validate each field of the customer data. The until-successful scope executes its processors until they succeed or exhausts the maximum number of retries. If any processor fails, it raises an error and stops executing the remaining processors. Therefore, if only the email address is invalid, a VALIDATION.INVALID_EMAIL error is raised and the validation of appointment date and customer name is skipped.

Reference: https://docs.mulesoft.com/mule-runtime/4.3/until-successful-scope

asked 18/09/2024
Jason Wang
43 questions