Weekend Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: big75certs

Mule-Dev-301 Salesforce Exam Lab Questions

Salesforce Certified MuleSoft Developer II Questions and Answers

Question 5

Refer to the exhibits.

Based on the code snippet, schema.json file, and payload below, what is the outcome of the given code snippet when a request is sent with the payload?

Exhibits:

Options:

A.

The Mule flow will execute successfully with status code 204

B.

The Mule flow will execute successfully with status code 200, and in response will display the message "Age in years which must be equal to or greater than zero."

C.

The Mule flow will throw the exception "JSON:SCHEMA_NOT_HONOURED"

D.

The Mule flow will execute successfully with status code 200, and the response will be the JSON sent in request

Question 6

Which type of cache invalidation does the Cache scope support without having to write any additional code?

Options:

A.

Write-behind invalidation

B.

Write-through invalidation

C.

Time to live

D.

Notification-based invalidation

Question 7

Multiple individual Mule applications need to use the Mule Maven plugin to deploy to CloudHub. The plugin configuration should be reused where necessary and anything project-specific should be property-based.

Where should the Mule Maven plugin details be configured?

Options:

A.

A Bill of Materials (BOM) parent pom

B.

A parent pom.xml

C.

pom.xml

D.

settings.xml

Question 8

Refer to the exhibit.

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

What is the expected behavior of the "validate-customer" flow?

Exhibit:

Options:

A.

If the appointment date and customer name are invalid, a SCHEDULE:INVALID_APPOINTMENT_DATE error is raised

B.

If only the email address is invalid, a VALIDATION:INVALID_EMAIL error is raised

C.

If the email address is invalid, processing continues to see if the appointment date and customer name are also invalid

D.

If all of the values are invalid, the last validation error is raised: SCHEDULE:INVALID_CUSTOMER_NAME