Shared Flashcard Set

Details

Mulesoft Fundamentals I
Flashcards built for studying for the Mulesoft Fundamentals I exam
84
Computer Science
Professional
11/07/2022

Additional Computer Science Flashcards

 


 

Cards

Term
Flow level error handler
Definition
when an error scope has been added to the error handling section of the flow, and processors have been added to the scope
Term
Choice Router
Definition
Only one of the routes in a Choice router executes: this means the first expression that evaluates to true triggers that routes' execution. If none of the expressions are true, then the default route executes.
Term
Unsupported Media Type client error response code
Definition
Indicates that the server refuses to accept the request because the payload format is in an unsupported format. This means the Content-Type of Content Encoding header in the request is wrong
Term
For Each
Definition
splits a payload into elements and processes them one by one through the components that you place in the scope.

The collection can be any supported content type (ie. application/json, application/java or application/xml)

**For Each does not modify the current payload - the output payload is the same as the input!

You can use this to set variables though
Term
When an outbound call is made during a flow, by using a request element (could be in a subflow) what happens to the attributes?
Definition
attributes (including query parameters) are overwritten!

Note if the subflow does not have a request element, the query parameters are still accessible
Term
Scatter Gather Router
Definition
a routing event processor that processes a Mule event through different parallel processing routes that contain different event processors.

Each route receives a reference to the Mule event and executes a sequence of one or more event processors. Each of these routes uses a separate thread to execute the event processors, and the resulting Mule event can be either the same Mule event without modifications or a new Mule event with its own payload, attributes, and variables.

The scatter gather component then combines Mule events returned by each processing route into a new Mule event that is passed to the next event processor only after every route completes successfully. Returns a collection of all the results. The collection is an Object of Objects. Each object contains attributes and payload from each Mule event returned
Term
How to import a module into a dataweave transform message component
Definition
use double colons
Term
HTTP Listener Configuration
Definition
you need a configuration for each port used. (you can have listeners using the same port with different methods and not need an additional configuration)
Term
What path setting is required for an HTTP Listener endpoint to route all requests to an API Kit router?
Definition
/*
Term
What is the default port used by the debugger in Anypoint Studio?
Definition
6666
Term
WSDL
Definition
Web Services Description Language: used to describe SOAP based web services
Term
C4E
Definition
Center for Enablement
Term
What does the zip operator do in Dataweave?
Definition
Merges elements of two lists into a single list
Term
Mandatory configurations for HTTP Listener
Definition
Path
HTTP port in Connector Configuration
HTTP host in Connector Configuration
(Allowed methods is OPTIONAL)
Term
What activities support parallel execution?
Definition
Scatter Gather Router
Parallel For Each
Batch job
Term
First Successful Router
Definition
iterates through a list of configured processing routes until one of the routes executes successfully. Sequential execution.
Term
If there is no error handler defined, what happens?
Definition
A Mule default error handler is used and it stops the execution of the flow and logs information about the error. (Includes information like error message, error type, and where in the flow the error was thrown)

This behavior cannot be configured
Term
Two most important properties of an error object
Definition
error.description (a string)
error.errorType (an object)
Term
on error propagate
Definition
all processors in the error handling scope are executed

at the end of the scope -- the rest of the flow that threw the error is not executed, the error is rethrown up to the next level and handled there

An HTTP listener returns an ERROR response
Term
on error continue
Definition
all processors in the error handling scope are executed

At the end of the scope -- the rest of the flow that threw the error is NOT executed, and the event is PASSED UP to the next level as if the flow execution had completed successfully

The HTTP listener returns a SUCCESSFUL response
Term
Minimum requirement in a flow for a mule application to compile
Definition
event processors
Term
api:router element in APIkit
Definition
a message processor

validates requests against RAML definition, enriches messages, and routes requests to a flow.
Term
mule applications vertical scaling
Definition
changing worker size
Term
mule applications horizontal scaling
Definition
adding more workers
Term
API Gateway responsibilities
Definition
1. Determine which traffic is authorized
2. Meter the traffic
3. Logs transaction
4. Apply throttling and other policies
Term
where can application properties be defined?
Definition
.yaml or .properties file

Note String is the only supported type in both file formats
Term
pom.xml file
Definition
contains info about the project and configuration details used by Maven to build the project

defines settings for a Maven project describing an application. Includes plugin configurations and exists on a per-project basis.
Term
application-types.xml file
Definition
stores metadata around data types.
easy to share, commit and merge

enables you to do more meta-data driven development
Term
Connector types
Definition
Community
Mulesoft Certified
Select
Premium
Term
Community connector type
Definition
mulesoft or members of the mulesot community write and maintain the community connectors. connectors built by the community or mulesoft are generally open source, although each package may vary. you do not need any special account or license to use a community connector
Term
mulesoft certified connector type
Definition
developed by MuleSoft's partners and developer community. Are reviewed and certified by MuleSoft. For support, the customers should contact the mulesoft partner that created the mulesoft certified connector
Term
select connector type
Definition
MuleSoft maintains Select connectors. Connectors included in the open source Mule distribution can be used by everyone, however support is only included in an Anypoint Platform subscription.

To use all other Select Connectors and access support, you must have an active Anypoint Platform subscription
Term
premium connector type
Definition
MuleSoft maintains Premium connectors -- you must have an active CloudHub Premium plan or an Enterprise subscription with an entitlement for the specific connector you wish to use.
Term
Choice Router
Definition
dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routing option.

Only one of the routes in the Chocie router executes, meaning that the first expression that evaluates to TRUE triggers that route's execution and the others are not checked.
Term
Round Robin Router
Definition
The Round Robin router iterates through a list of two or more routes in order, but it only routes to one of the routes each time it is executed. It keeps track of the previously selected route and never selects the same route consecutively. For example, the first time Round Robin executes, it selects the first route. The next time, it selects the second route. If the previously selected route is the last route in the list, Round Robin jumps to the first route.
Term
First Successful Router
Definition
iterates through a list of configured processing routes until one of the routes executes successfully. If any processing route fails execution, the router executes the next configured route.
Term
Where to create SLA Tiers for an API
Definition
API Manager
Term
how many mule applications can run on a cloudhub worker?
Definition
One cloudhub worker can host one Mule application only.
Term
Flow Designer
Definition
creates Mule applications to integrate systems into workflows. You create them as projects that have one or more flows.
Term
API Notebooks
Definition
open source, shareable web application for API documentation, interactive API tutorial and example generation, and a client for your API endpoints.

You can make requests and quickly transform the responses into readable format. It can NOT be used as a mock service
Term
Is Publish Consume Synchronous or Asynchronous?
Definition
Synchronous
Term
Is Publish Synchronous or Asynchronous
Definition
Asynchronous
Term
How can an error scope be configured to catch all errors in the HTTP namespace?
Definition
Type:
When: #[error.errorType.namespace == "HTTP"]
Term
What does the Select node return?
Definition
An array
Term
On Complete (Batch Job)
Definition
Has access to the batch job result statistics.

Payload is NOT available.

You can optionally configure the runtime to create a report or summary of the records it processed for the particular batch job instance.

Purpose is to give system administrators and developers some insight into which records failed to address any issues that might exist with the input data
Term
For each method of RAML specification, what does a REST connect module provide?
Definition
an operation.

"i.e. create flight, delete flight by id, get flight by id, get flights, update flight by id"
Term
process apis
Definition
api's that interact with and shape data within a single system or across systems (breaking down data silos) and are created here without a dependence on the source systems from which that data originates, as well as the target channels through which that data is delivered.
Term
Process layer
Definition
all orchestration and transformation logic should be in process layer as per Mulesoft's recommended approach for API led connectivity
Term
API led connectivity
Definition
a methodical way to connect data to applications through reusable and purposeful APIs. These APIs are developed to play a specific role-- unlocking data from systems, composing data into processes, or delivering an experience.
Term
Experience APIs
Definition
Connects to Process APIs

Feeds to browser
Developers - Discover, self serve, reuse and consume
Term
Process APIs
Definition
Connects to System APIs
Organizes information (i.e. order status, customers, order history)

Line of Business IT - Discover, reuse assets and compose information
Term
System APIs
Definition
Connects to backend systems (like SAP, Salesforce, etc).

Cleans out backend system ism's (like __c in salesforce)

Central IT - Unlock assets and decentralize access
Term
API proxy
Definition
application that controls access to a web service, restricting access and usage through the use of an API gateway
Term
JBDC driver
Definition
a software component enabling a JAVA application to interact with a database
Term
Changes made to the payload in a for each loop
Definition
are NOT available outside the for each scope
Term
for each scope
Definition
splits a payload into elements and processes them one by one through the components that you place in the scope.

does NOT modify the current payload. the output payload is the same as the input
Term
wrap the map
Definition
when mapping array elements to XML, wrap the map operations in {( ... )}
Term
mule event
Definition
contains the core information processed by the runtime

travels through components inside your Mule app following the configured application logic

Immutable, so every change to an instance of a mule event results in the creation of a new instance.

Composed of a mule Message that contains a message payload and its associated attributes

variables are mule event metadata that you use in your flow

global data structure
Term
Where are API portals created?
Definition
API Exchange
Term
To avoid hard coding values, a flow uses some property placeholders and corresponding values are stored in a configuration file. Where does the configuration file's location need to be specified in the mule application?
Definition
a global element
Term
global element
Definition
a reusable object containing parameters that any number of elements in a flow can share
Term
where can you create a global element
Definition
from Global Elements tab in the Anypoint Studio canvas

OR from the properties panel of any connector or module that supports global elements
Term
Anypoint Visualizer
Definition
provides real time graphical representation of the APIs and Mule applications that are running and discoverable. It also displays third party systems that are invoked by a Mule API, proxy, or application within your application network.
Term
What is the difference between a subflow and a sync flow
Definition
subflow has no error handling of its own and sync flow does
Term
subflow
Definition
processes messages SYNCHRONOUSLY (relative to the flow that triggered its execution) and always inherits both the processing strategy and exception stragety employed by the triggering flow.
Term
sync flow (or synchronous flow)
Definition
processes messages SYNCHRONOUSLY relative to the flow that triggered its execution. While a synchronous flow is running, processing on the triggering flow pauses, then resumes only after the synchronous flow completes its processing and hands the message back to the triggering flow. However, unlike a subflow this type of flow does not inherit processing or exception strategies form the triggering flow.

Processes messages along a single thread which is ideally suited to transactional processing
Term
How to make API discoverable
Definition
publish to Anypoint Exchange
Term
What is the output of a dataweave map operator?
Definition
an array
Term
API autodiscovery
Definition
configuring autodiscovery allows a deployed Mule runtime engine application to connect with API Manager to download and manage policies and to generate analytics data.

With autodiscovery you can configure your mule applications to act as their own API proxy
Term
How can you call a subflow from dataweave
Definition
TRICK QUESTION not possible in Mule4.
you can only call FLOWS using lookup function NOT subflows
Term
lookup function
Definition
enables you to execute a flow within a muel app and retrieve the resulting payload.

similar to a flow reference component, the lookup function enables you to execute another flow within your app and retrieve the resulting payload.
Term
What payload is returned by a database SELECT operation that does not match any rows in the database
Definition
Empty Array
Term
What is the first step to create a modern API
Definition
Create an API specification and get feedback from stakeholders
Term
What is the latest version of RAML available?
Definition
1.0
Term
Publish
Definition
an asynchronous operation
Term
publish consume
Definition
a synchronous operation
Term
asset types
Definition
connectors
templates
examples
policies
REST APIs
SOAP APIs
HTTP APIs
API Groups
API Spec Fragments
Custom
Term
Connectors
Definition
packaged connectivity to an endpoint developed on Anypoint Platform with third party APIs and standard integration protocols

Use connectors with your applications flows to send and receive data using a protocol or specific API.

Anypoint studio comes with many bundled connectors and exchange has many more
Term
What is Center for Enablement's role in the new IT operating model?
Definition
Creates and manages discoverable assets to be consumed by line of business developers
Term
Pom.xml
Definition
contains info about the project and configuration details used by maven to build the project

project object model file that defines settings for a Maven project describing an application. it includes all settings necessary to build the application such as build plugin configurations
Term
What object type is returned by the file list operation
Definition
an array of mule event objects
Term
In what file does the mule project keep track of all of its dependencies
Definition
pom.xml
Term
what can ONLY be done with VM connectors and NOT with flow references in a single mule applciation
Definition
allow a flow to pass events to another flow asynchronously
Term
Why must a mule application's deployable archive package all its dependencies in order to be deployed to cloudhub
Definition
cloudhub workers cannot download ALL possible dependencies a project may contain
Supporting users have an ad free experience!