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

Mule-Dev-301 Questions and Answers

Question # 6

Which pattern can a web API use to notify its client of state changes as soon as they occur?

A.

ETL data load

B.

Schedule Event Publisher

C.

HTTP Webhook

D.

Shared database trigger

Full Access
Question # 7

An API has been developed and deployed to CloudHub. Among the policies applied to this API is an allowlist of IP addresses. A developer wants to run a test in Anypoint Studio and does not want any policies applied because their workstation is not included in the allowlist.

What must the developer do in order to run this test locally without the policies applied?

A.

Pass in the runtime parameter "-Danypoint.platform.gatekeeper=disabled"

B.

Deactivate the API in API Manager so the Autodiscovery element will not find the application when it runs in Studio

C.

Run the test as-is, with no changes, because the Studio runtime will not attempt to connect to API Manager

D.

Create a properties file specifically for local development and set the API instance ID to a value that is not used in API Manager

Full Access
Question # 8

Two APIs are deployed to a two-node on-prem cluster. Due to a requirements change, the two APIs must communicate to exchange data asynchronously.

How can this be solved?

A.

Instead of using the VM Connector use directly

B.

It is not possible to use the VM Connector since the APIs are running in a cluster mode and each node has its own set of VM Queues

C.

If the two APIs use the same domain, VM Connector can be leveraged

D.

The VM Connector is used for inter-application communication, so it is not possible to use the VM Connector

Full Access
Question # 9

A Mule application uses API autodiscovery to access and enforce policies for a RESTful implementation.

What needs to be configured for the flowRef attribute of the autodiscovery global element?

A.

The name of the flow that has APIkit Console to receive all incoming RESTful operation requests

B.

Nothing because flowRef is an optional attribute which can be passed during runtime

C.

The name of the flow that has HTTP Listener to receive all incoming RESTful operation requests

D.

Any of the APIkit generated implementation flows

Full Access
Question # 10

A Mule application needs to invoke an API hosted by an external system to initiate a process. The external API takes anywhere between one minute and 24 hours to complete its process.

Which implementation should be used to get response data from the external API after it completes processing?

A.

Expose an HTTP callback API in Mule and register it with the external system

B.

Use a Scheduler to check for a response every minute

C.

Use an HTTP Connector inside Async scope to invoke the API and wait for a response

D.

Use an HTTP Connector to invoke the API and wait for a response

Full Access
Question # 11

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

A.

Operations can be reused in recursive calls

B.

An XML SDK provides both inbound and outbound operations

C.

Properties are fields defined by an end user of the XML SDK component and serve as a global configuration for the entire Mule project in which they are used

D.

All operations are public

Full Access
Question # 12

Refer to the exhibit.

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

Exhibit:

Question # 12

A.

The HTTP Listener will trust any certificate presented by the HTTP client

B.

The HTTP Listener will only accept HTTP requests

C.

Mutual TLS authentication will be enabled between this HTTP Listener and an HTTP client

D.

The HTTP Listener will accept any unauthenticated request

Full Access
Question # 13

A Mule application defines an SSL/TLS keystore property "tls.keystore.keyPassword" as secure.

How can this property be referenced to access its value within the application?

A.

${secure::tls.keystore.keyPassword}

B.

p(secure::tls.keystore.keyPassword)

C.

$(secure::tls.keystore.keyPassword)

D.

#[secure::tls.keystore.keyPassword]

Full Access
Question # 14

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 validated before posting to the target system?

A.

Add the JSON module dependency and add the validate schema operation in the flow, configured to reference the schema

B.

Using the DataWeave If Else condition, test the values of the payload against the examples included in the schema

C.

Apply the JSON Schema policy in API Manager and reference the correct schema in the policy configuration

D.

Use a DataWeave 2.0 transform operation, and at the top of the DataWeave script, add: %dw 2.0 / import json-module

Full Access
Question # 15

Refer to the exhibit.

A developer generates the base scaffolding for an API in Anypoint Studio.

Which HTTP status code is returned while testing using the API Kit console if no values are entered in client-id and client-secret?

Exhibit:

Question # 15

A.

HTTP status code: 403

B.

HTTP status code: 500

C.

HTTP status code: 400

D.

HTTP status code: 200

Full Access
Question # 16

An organization uses CloudHub to deploy all of its applications.

How can a common-global-error-handler flow be configured so that it can be reused across all of the organization's deployed applications?

A.

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. Import that configuration file in Mule applications.

B.

Create a Mule domain project. Create a common-global-error-handler flow inside the domain project. Use this domain project as a dependency.

C.

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.

D.

Create a common-global-error-handler flow in all Mule applications. Refer to it via flow-ref wherever needed.

Full Access
Question # 17

Which pattern should be used to invoke multiple HTTP APIs in parallel and roll back any failed requests in sequence?

A.

Scatter-Gather as central Saga orchestrator for all API requests with compensating actions for failing routes

B.

A Parallel For Each scope with each HTTP request wrapped in a Try scope

C.

VM queues as a reliability pattern with error handlers to roll back any requests

D.

A database as a transactional outbox and an Until Successful router to retry any requests

Full Access
Question # 18

Refer to the exhibits.

BioInfo System API is implemented and published to Anypoint Exchange. A developer wants to invoke this API using its REST Connector.

What should be added to the POM?

Exhibit / Answer Configurations:

Question # 18

A.

Add the generated asset as a Maven < dependency > with the Exchange groupId, artifactId, version, and < classifier > mule-plugin < /classifier > .

B.

Add the generated asset as a Maven < plugin > .

C.

Add the generated asset through a < rest-connect > element.

D.

Add the generated asset as a < repository > entry.

Full Access