MuleSoft Practice Exam

Ace your homework & exams now with Quizwiz!

What is required for two Mule applications to share data using a VM connector component? - Put the Mule applications in the same Anypoint Platform environment - Put the Mule applications in the same Anypoint Platform business group - Put the Mule applications in the same non-default Mule domain - Put the Mule applications in the same default Mule domain

Put the Mule applications in the same non-default Mule domain

What is NOT part of a Mule 3 message? - payload - inbound properties - outbound properties - variables - attachments

variables

In a RAML specification, what attribute defines a query parameter to be optional for a resource? - required: false - optional: true - provided: false - mandatory: false

required: false

A RAML example fragment named BankAccountsExample.raml is placed in the examples folder in an API specification project. What is the correct syntax for to reference the fragment? - example: !include BankAccountsExample.raml - example: #import BankAccountsExample.raml - example: !include examples/BankAccountsExample.raml - example: #import examples/BankAccountsExample.raml

!include examples/BankAccountsExample.raml

A web service implements an API to handle requests to http://acme.com/customers/{state}. A web client makes a request to this API implementation at http://acme.com/customers/CA. What is the correct MEL expression to retrieve the value CA? - #[message.payload.inboundProperties.'http.query.params'.state] - #[message.inboundProperties.'http.uri.params'.state] - #[message.payload.inboundProperties.state] - #[message.inboundProperties.state]

#[message.inboundProperties.'http.uri.params'.state]

What reserved property can be used in a Mule application to allow an HTTPS Listener to be accessed by external web clients after the Mule application is deployed to CloudHub? - ${ssl.port} - ${ssl.listener.port} - ${https.listener.port} - ${https.port}

${https.port}

What is the maximum number of Mule applications that can run in a Cloud Hub Worker? - 1 - 2 - 4 - 8

1

What port number is used to expose the domain URL of a Mule application deployed to CloudHub? - 8081 - 81 - 80 - 8080

80

What is the minimum required configuration in a flow for a Mule application to compile? - A message processor in the Process section of a flow - A message processor in the Source section of a flow - An empty flow - A message processor in both the Source and Process sections of a flow

A message processor in the Process section of a flow

What MuleSoft product enables publishing, sharing, and searching of APIs? - API Designer - API MUnit - API Exchange - API Notebook

API Exchange

What asset can NOT be created using Anypoint Platform Design Center? - API Specifications - Mule Applications - API Fragments - API Portals

API Portals

What happens to the outbound properties of a Mule message after completing an outbound HTTP Request? - new outbound properties are added from the HTTP response headers - previous outbound properties are passed through unchanged - outbound properties are replaced with all the previous inbound properties - all previous outbound properties are removed

All previous outbound properties are removed

A Payload filter is configured to test for type java.lang.String. What happens when the filter is passed a message with the payload null? - The Mule application stops - The message is replayed from the start of the flow - The message is passed to subsequent message processors - All subsequent message processors are skipped

All subsequent message processors are skipped

A Scatter-Gather flow control sends the inbound message to three separate HTTP requests. Each request returns a JSON object. What is the final output of the Scatter-Gather flow control? - An array of JSON objects - An array of array objects - An object that contains JSON objects - The last JSON object

An array of JSON objects

How are outbound properties automatically passed to an outbound REST request using an HTTP Request component? - As headers - As query parameters - As URI parameters - In the message payload - As attachments - As flow variables

As headers

What part of a Mule flow can contain a Poll scope? - Async scope - Message source - For Each scope - Message Enricher scope

Message source

What statement is part of MuleSoft's description network? - Create reusable APIs and assets designed to be consumed by other business units - Create and manage high availability and fault tolerent services and infrastructure - Central IT delivers complete point-to-point solutions with master data management - Create and manage a collection of JMS messaging services and infrastructure

Create reusable APIs and assets designed to be consumed by other business units.

According to MuleSoft, what is the Center for Enablement's role in the new IT operating model? - Creates and manages discoverable assets to be consumed by line of business developers - Centrally manages partners and consultants to implement line of business projects - Implements line of business projects to enforce common security requirements - Produces & manages API policies for line of business deployments

Creates and manages discoverable assets to be consumed by line of business developers.

Refer to the exhibits. What is the syntax to define this datatype in RAML? <?xml version="1.0" encoding="UTF-8"?> <music> <collection>Classic Rock</collection> <artists> <artist>Deep Purple</artist> <artist>Rainbow</artist> </artists> </music> A. music: collection: Classic Rock artists: - Deep Purple - Rainbow B. music: collection: Classic Rock artists: Deep Purple Rainbow C. music: collection: Classic Rock artists: Deep Purple, Rainbow D. music: collection: Classic Rock artists: artist: Deep Purple artist: Rainbow

D

What is NOT a role of an API proxy application running in a Mule runtime? - Determine which request message is allowed to pass through to the API backend service - Apply runtime policies to enforce governance - Measure the traffic flowing through to the API backend service - Determine which response message is allowed to pass back from the API backend service

Determine which response message is allowed to pass back from the API backend service

What is the main purpose of flow designer in Design Center? - Design API RAML files in a graphical way - Develop fully functional Mule applications in a hosted development environment - Define API lifecycle management in a graphical way - Design and mock Mule application templates that must be implemented using Anypoint Studio

Develop fully functional Mule applications in a hosted development environment

A Mule application properties file named training-DEV.properties has been defined. How is the properties file referenced in the Mule application? - In an attribute in the main mule element - In a Property Placeholder element - As a -M-D placeholder when starting the Mule runtime - In an attribute in the HTTP Listener element

In a Property Placeholder element

How is a default exception strategy set in a Mule application? - In a configuration global element in any Mule configuration XML file - In the mule-app.properties file - As an attribute of one or more flow configuration elements in one or more Mule configuration XML files - As an attribute of a global exception strategy - As a JVM system environment variable

In a configuration global element in any Mule configuration XML file

How is a Poll scope's watermark accessed from a message processor in a flow? - In a session variable - In an outbound property - In an inbound property - In a flow variable - In a header

In a flow variable

What is the scope of a record variable in a Batch scope? - In a single batch step, but not in the other batch steps - In all batch steps, but not in the On Complete phase - In the message source, each batch step, and the On Complete phase - In all batch steps, and the On Complete phase

In all batch steps, but not in the On Complete phase

A WSDL defines a conversionRate operation with an input message that requires two parts: fromCurrency and toCurrency. How are fromCurrency and toCurrency set in the flow in order to call the conversionRate operation using a Web Service Consumer component? - In two flow variables - As outbound properties - As inbound properties - In the message payload - As attachments

In the message payload

What property of a Mule message is immutable? - Attachments - Outbound properties - Session variables - Payload - Inbound properties - Flow variables

Inbound properties

A Mule flow has a JMS queue listener as the message source. Where can the next message processor access a JMS message's header? - Outbound property - Inbound property - Payload - Attachment - Flow variable

Inbound property

Refer to the exhibit. There is an error underneath the flight_id resources in the GET method. What needs to be done to fix the problem? 1 #%RAML 1.0 2 title: American Flights API 3 version: 1.0 4 5 /flights: 6 get: 7 8 /{flight_id}: 9 10 get: 11 - remove blank line on row 9 - enclose flight_id with parenthesis () instead of curly braces {} - indent "get" method under {flight_id} resource one level down (to the right) - outdent /flight_id

Indent "get" method under {flight_id} resource one level down (to the right)

What message processor will throw an exception if a message payload is not a number? - Is Number validator - Is Not Number validator - Is Number filter - Is Not Number filter

Is Number validator

What is true for a Mule subflow? - It can have its own exception strategy - It is executed synchronously - An external client can send messages directly to it - It must be in the same configuration file as the parent flow

It is executed synchronously

An inbound Database connector is configured to select rows from a MySQL database. What is the format of results returned from the database query? - Java - JSON - XML - CSV

Java

What HTTP method in a RESTful web service is typically used to replace a resource completely? - PATCH - PUT - POST - GET

PUT

What phase of a batch job using a Batch scope must contain at least one message processor? - Input - Load and Dispatch - Process Records - On Complete

Process Records

What message processor can set the HTTP response status code to 200? - Variable - Set Payload - Property - Record Variable - Attachment

Property

What is the default processing strategy of a one-way flow? - Queued-asynchronous - Synchronous - Non-blocking - Thread-per-processor - Queued-thread-per-processor

Queued-asynchronous

What out-of-the-box policy can safeguard against Denial of Service type attacks? - Rate limiting - Throttling - Cross-origin resource sharing - LDAP security manager

Rate limiting

What is NOT a way to pass data to a RESTful web service in a flow using an outbound HTTP Request component? - Set URI parameters in the HTTP Request component - Set inbound properties before the HTTP Request component - Set query parameters in the HTTP Request component - Set outbound properties before the HTTP Request component

Set inbound properties before the HTTP Request component

A Batch scope has three batch steps. A message processor in the second batch step throws an exception because the input data is incomplete. What is the default behavior after the exception is thrown? - Continues to the third batch step - Stops processing the entire batch job - Retries the second batch step - Retries the first batch step

Stops processing the entire batch job

How is a data collection routed in a Scatter-Gather flow control? - The entire message is sent to each route and processed sequentially - The message is split and different pieces are routed and processed in parallel - The message is split and different pieces are routed and processed sequentially - The entire message is sent to each route and processed in parallel

The entire message is sent to each route and processed in parallel

A File connector is configured to read files from a /mule/input directory. All other File connector settings are the default settings. What happens to a file after it is processed by the File connector? - The file is moved to /mule/output - The file is deleted from the input directory, but is not moved anywhere - The file is moved to /tmp - The file stays in the input directory

The file is deleted from the input directory, but is not moved anywhere

A Mule application has two flows named parentFlow and childFow. A flow variable is defined in parentFlow. What is the scope of the flow variable when the parentFlow calls childFlow using a flow reference? - The flow variable is accessible in childFlow but is immutable - The flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow - The flow variable is NOT accessible in childFlow - The flow variable is accessible in childFlow, can be changed, but changes are NOT seen back in parentFlow

The flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow.

A message payload is modified using a Message Enricher scope with an empty target. What is true about the message payload that leaves the Message Enricher scope? - The payload is changed to the modified payload - The modified payload is stored in a flow variable - The modified payload is stored as an inbound property - The payload returns to the original payload - The modified payload is stored as an outbound property

The payload returns to the original payload

How are conditions used in a Choice flow control? - To find the first true condition, then routes the message to that and all subsequent target message processors. - To select a set of target message processors to which to route the same message - To find the first true condition, then routes the message to the matched Choice target message processor - To select from the responses after routing the message to every Choice target message processor

To find the first true condition, then routes the message to the matched Choice target message processor

An exception is caught by a choice exception strategy. How is the exception routed? - To all exceptions whose conditions evaluate to true - To the first exception strategy whose condition evaluates to true - To the first exception strategy whose condition evaluates to true and to the default exception strategy - To the first exception strategy whose condition evaluates to true and to the global exception strategy

To the first exception strategy whose condition evaluates to true

What is the purpose of the router element in APIkit? - Routes requests to API implementations, but does not validate them against RAML API specifications - Routes responses to the caller, but does not validate them against RAML API specifications - Validates requests against RAML API specifications and routes them to API implementations - Validates responses returned from API requests and routes them to the caller

Validates requests against RAML API specifications and routes them to API implementations

What file type is required to configure a Web Service Consumer to consume a SOAP web service? - RAML - WSDL - JSON - OAS

WSDL

What is the format of documents exchanged in a SOAP request/response interaction? - RAML - JSON - WSDL - YAML

WSDL

A client submits a GET request to a Mule 4.0 application to the endpoint /customers?id=48493. Where can the id be accessed in the Mule 4.0 application? - inbound properties - variables - attributes - payload

attributes

Refer to the exhibit. What is the correct URL to perform a GET request to /patients? #%RAML 1.0 title: ACME Medical API baseUri: http://dev.acme.com/api /patients: get: queryParameters: year: type: integer - http://dev.acme.com/patients?year=2016 - http://dev.acme.com/api/patients - http://dev.acme.com/patients - http://dev.acme.com/api/patients?year=2016

http://dev.acme.com/api/patients?year=2016

What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic? - experience - data - system - process - security

system


Related study sets

Tableau Server Certified Associate Exam

View Set

2nd Half of 2021 Practice Exam MCQ

View Set

MIS 6382 - Object Oriented Programming in Python

View Set

Free code ...- Just look up http://html.m0.to/ and paste.

View Set

Module 2 Quiz - Cardiovascular Endurance

View Set

Auditing 05: Substantive Tests of Cash

View Set

accounting finalGAAP refers to guidelines for accounting information in the United States. The acronym GAAP in this statement refers to​ ________.

View Set