MCD Walk Through Flashcards
Enable the business to self-serve and deliver more of their own projects the right way
Consumption and innovation
IT builds reusable APIs & services for accessing data and resources
Enablement and assets
Web Service
A method of communication that allows two software systems to exchange data over the internet
API Documentation
Should include the list of all possible resources, how to get access to the API, and more.
API Portals
Accelerate onboarding by providing developers a centralized place for discovering all the tools they need to successfully use the API which include:
- Documentation, tutorials, code snippets, and examples
- A way to register applications to get access to the API
- A way to provide feedback and make requests
- A way to test the API by making calls to it
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
What MuleSoft API-led connectivity layer is intended to expose part of the database backend without business logic?
System
What statement is part of MuleSoft’s description of an application network?
Creates reusable APIs and assets designed to be consumed by other business units
What is a core characteristic of the Modern API?
API is designed first using an API specification for rapid feedback.
What HTTP method in a RESTful web service is typically used to completely replace an existing resource.
PUT
The 3 aspects of MuleSoft Catalyst Approach
- Business outcomes - define outcomes with clear KPIs and align stakeholders
- Customer success - Ensure your organization is ready to use and adopt Anypoint Platform
- Technology delivery - Get up and running with Anypoint Platform and start building APIs and integrations
Flow Designer
Web app for building integration apps that connect systems and consume APIs
API Designer
Web app for designing, documenting, and mocking APIs
Where does a deployed Flow Designer application run in Anypoint Platform?
CloudHub Worker
What MuleSoft product enables sharing, publishing, and searching of APIs?
Anypoint Exchange
What is the main purpose of Flow designer in Design Center?
To design and develop fully functional Mule applications in a hosted development environment.
A web client submits a GET request to a Mule 4 application to the endpoint /customers?id=48493.
Where is the id stored in the Mule event by the HTTP Listener?
Attributes
What asset can NOT be created using Design Center?
API Portals
What is Spec Driven development?
A development process where the application is built in two distinct phases
- The creation of a spec (the design phase)
- Development of code to match the spec (the development phase)
The API console is available in:
API Designer so the API designer can test
API portals in Exchange so users/developers can test
There are many RAML fragment types:
Data types, examples, traits, resource types, overlays, extensions, security schemes, documentation, annotations, and libraries
You publish RAML API specifications and RAML fragments to the exchange from API Designer
API portals are automatically created for REST APIs added to Exchange
- An API console for consuming and testing APIs
- An automatically generated API endpoint that uses a mocking service to allow the API to be tested without having to implement it
- API portals can be shared with internal and external users
What is not part of a mule event?
inboundProperties
How does APIkit determine the number of flows to generate from a RAML specification?
Creates a separate flow for each HTTP method
A Database connector is configured to select rows from a MYSQL database. What is the format of the array returned from the database query?
Java
What is the minimum required configuration in a flow for a Mule application to compile?
An event processor
What is the purpose of the api:router element in APIkit?
Validates requests against RAML API specifications and routes them to the API implementations
Restricting Access to APIs
- An API proxy is an application that controls access to a web service, restricting access and usage through the use of an API gateway
- The API Gateway is a runtime designed and optimized to host an API or to open a connection to an API deployed to another runtime
The API Gateway is the point of control
- Determines which traffic is authorized to pass through the API to backend service
- Meters the traffic flowing through
- Logs all transactions, collecting and tracking analytics data
- Applies runtime policies to enforce governance like rate limiting, throttling, and caching.
Using API Manger to manage access to APIs
- Create proxy applications
- Deploy proxies to an API Gateway runtime
- Specify throttling, security, and other policies
- Specify tiers with different types of access to APIs
- Approve, reject, or revoke access to APIs by clients
- Promote managed APIs between environments
- Review analytics
API Autodiscovery
Mechanism that enables a deployed Mule application to download policies from API Manager, act as its own proxy.
SLA -Service Level Agreement
Defines the # of requests that can be made per time frame to an API
To enforce and apply SLA based rate limiting policy, SLA based policies require all applications that consume the API to:
- Register for access to a specific tier
- Pass their client credentials in calls made to the API
What is the purpose of API autodiscovery?
Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy
What does the Mule runtime use to enforce policies and limit access to APIs?
The Mule runtime’s embedded API Gateway
How many Mule applications can run on a CloudHub worker?
At most one
What does an API proxy application NOT do?
Determine which response Mule event is allowed to pass through to the API backend service
Objects can be accessed in flows using Dataweave expressions
message: #[message.payload]
attributes: #{attributes.queryParams.param1]
payload: #[payload]
vars: # [vars.foo]
Using selectors in Dataweave functions
For each and parallel for each outputs
A batch job has 3 different phases
Information about errors when they happen are kept in what object?
Was is the error hierarchy?
General errors can be handled. Critical errors can not.
You can specify scope execution for specific error types.
Set the type to ANY (the default) or one or more types of errors
You can specify scope execution upon a specific condition using Dataweave
Which error scope handles the error? It depends.
How are errors handled in a Try scope?