Computer Science  >  EXAM  >  MuleSoft Certification Practice Exam Questions and Answers (All)

MuleSoft Certification Practice Exam Questions and Answers

Document Content and Description Below

What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic? - experience - data - system - process - security - ANSWER system What HTTP ... method in a RESTful web service is typically used to replace a resource completely? - PATCH - PUT - POST - GET - ANSWER PUT 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 - ANSWER 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 - ANSWER Creates and manages discoverable assets to be consumed by line of business developers. What is the format of documents exchanged in a SOAP request/response interaction? - RAML - JSON - WSDL - YAML - ANSWER WSDL 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 - ANSWER Develop fully functional Mule applications in a hosted development environment What is the maximum number of Mule applications that can run in a Cloud Hub Worker? - 1 - 2 - 4 - 8 - ANSWER 1 What MuleSoft product enables publishing, sharing, and searching of APIs? - API Designer - API MUnit - API Exchange - API Notebook - ANSWER API Exchange What asset can NOT be created using Anypoint Platform Design Center? - API Specifications - Mule Applications - API Fragments - API Portals - ANSWER API Portals 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 - ANSWER attributes In a RAML specification, what attribute defines a query parameter to be optional for a resource? - required: false - optional: true - provided: false - mandatory: false - ANSWER required: false 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 - ANSWER http://dev.acme.com/api/patients?year=2016 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 - ANSWER !include examples/BankAccountsExample.raml 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 - ANSWER Indent "get" method under {flight_id} resource one level down (to the right) 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 - ANSWER D 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 - ANSWER Validates requests against RAML API specifications and routes them to API implementations What is NOT part of a Mule 3 message? - payload - inbound properties - outbound properties - variables - attachments - ANSWER variables 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 - ANSWER A message processor in the Process section of a flow 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 - ANSWER Java What out-of-the-box policy can safeguard against Denial of Service type attacks? - Rate limiting - Throttling - Cross-origin resource sharing - LDAP security manager - ANSWER Rate limiting 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 - ANSWER In a Property Placeholder element 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} - ANSWER ${https.port} What port number is used to expose the domain URL of a Mule application deployed to CloudHub? - 8081 - 81 - 80 - 8080 - ANSWER 80 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 - ANSWER Determine which response message is allowed to pass back from the API backend service 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 - ANSWER All previous outbound properties are removed What message processor can set the HTTP response status code to 200? - Variable - Set Payload - Property - Record Variable - Attachment - ANSWER Property 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] - ANSWER #[message.inboundProperties.'http.uri.params'.state] What property of a Mule message is immutable? - Attachments - Outbound properties - Session variables - Payload - Inbound properties - Flow variables - ANSWER Inbound properties 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 - ANSWER The flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow. 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 - ANSWER It is executed synchronously What is the default processing strategy of a one-way flow? - Queued-asynchronous - Synchronous - Non-blocking - Thread-per-processor - Queued-thread-per-processor - ANSWER Queued-asynchronous 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 - ANSWER Put the Mule applications in the same non-default Mule domain 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 - ANSWER As headers 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 - ANSWER In the message payload What file type is required to configure a Web Service Consumer to consume a SOAP web service? - RAML - WSDL - JSON - OAS - ANSWER WSDL 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 - ANSWER Set inbound properties before the HTTP Request component 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 - ANSWER To the first exception strategy whose condition evaluates to true 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 - ANSWER In a configuration global element in any Mule configuration XML file 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 - ANSWER To find the first true condition, then routes the message to the matched Choice target message processor 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 - ANSWER An array of JSON objects 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 - ANSWER The entire message is sent to each route and processed in parallel 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 - ANSWER All subsequent message processors are skipped 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 - ANSWER Is Number validator 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 - ANSWER Inbound property What part of a Mule flow can contain a Poll scope? - Async scope - Message source - For Each scope - Message Enricher scope - ANSWER Message source 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 - ANSWER In a flow variable 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 - ANSWER The file is deleted from the input directory, but is not moved anywhere 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 - ANSWER Process Records 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 - ANSWER The payload returns to the original payload 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 - ANSWER Stops processing the entire batch job 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 - ANSWER In all batch steps, but not in the On Complete phase [Show More]

Last updated: 3 years ago

Preview 1 out of 33 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of MuleSoft Certification Practice Exam Questions and Answers document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Reviews( 0 )

$9.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

261
0

Document information


Connected school, study & course


About the document


Uploaded On

Sep 09, 2022

Number of pages

33

Written in

All

Seller


Profile illustration for MARKALLAN
MARKALLAN

Member since 3 years

58 Documents Sold

Reviews Received
5
2
0
0
1
Additional information

This document has been written for:

Uploaded

Sep 09, 2022

Downloads

 0

Views

 261

Document Keyword Tags

Recommended For You

Get more on EXAM »

$9.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·