05_DeployManageAPIs Flashcards
During development, apps are deployed to ????
Embedded Mule runtime in Anypoint Studio
For testing, Q&A, production (anything not development) , apps are deployed to ???? or ?????
CloudHub (MuleSoft hosted runtime) OR Customer-hosted Mule runtimes (on-prem or cloud)
Benefits of CloudHub?
No hardware to maintain, continous software updates, built-in scalabilits for cloud capacity during periods of high demand, globally available,
Where can a Customer-hosted Mule runtime be managed?
Runtime Manager in MuleSoft-hosted Platform OR Runtime Manager in customer-hosted Anypoint Platform (Anypoint Platform Private Cloud Edition)
Where can you deploy apps to CloudHub?
from Anypoint Studio OR from AnypointPlatform using Runtime Manager
What should you set when deploying a app to CloudHub?
You must set worker size and number (For apps deployed from Flow Designer these values were set automatically).
What is a worker?
A dedicated instance of Mule that runs an app.
What is an API proxy?
An application that controls access to a web service, restricting access and usage through the use of an API gateway.
What is an API gateway?
A runtime designed and optimized to host an API or to open a connection to an API deployed to another runtime. (included as part of the Mule runtime).
What determines which traffic is authorized to pass through the API to backend services?
API Gateway
What meters the traffic flowing through and logs all transactions, collecting anf tracking analytics fata
API Gateway
What appplies runtime policies to enforce governance like rate limiting, throttling and caching.
API Gateway.
What do you use the API Manager for?
Create proxy applications. Deploy proxies to an API Gateway runtime (on CloudHub or customer-hosted runtime). Specify policies (throttling, security,…). Specify tiers with different types of access. Approve, reject or revoke access to APIs by clients. Promote managed APIs between environments. Review analytics.
What should you use to manage access to API proxies?
API Manager
How can you used the API Manager to manage access to API proxies?
Define SLA tiers.
Apply runtime policies.
What enforces the policies that are set by the API Manager to manage access to API proxies?
The API Gateway enforces the policies.
What are some examples of out-of-the box policies?
Rate limiting. Spike control. Security.
How do you define custom policies?
Using XML or YAML.
Can you apply multiple policies and set the order?
Yes
What is an SLA tier? What is request approval?
Defines the # of requests that can be made in a given time frame to an API. It can be set to automatic (free) or manual (for tiers that cost $)
What does SLA stand for?
Service Level Agreement
What do SLA based policies require all applications to do …
- Register for access to a specific tier (From an API portal in private or public exchange).
- Pass their client credentials in calls made to the API
Where do you request access to an API?
In the API portal in private or public exchange.
When developers request access to SLA tiers what must they do?
Go to API portal private or public exchange to register/add an app to their Anypoint Platform account and select a tier.
Who can review (approve, reject or revoke requests) the applications in API Manager for SLA tier access requests?
Organization Administrators.
For manual approval of SLA tier access requests, how are the Organization Administrations notified that developers have requested access for applications?
Email.
Where do you need to add client ID enforcement?
API spec.
When you’ve added the client ID enforcement to the API spec, what does this allow for?
The REST connector that is created for the API to enforce the authentication. Required headers to automatically show up in the API console so you don’t have to manually add them for every call.
What controls access to APIs by enforcing policies?
The API Gateway runtime. (It’s part of the Mule runtime but requires a separate license).