Azure API Management Flashcards

1
Q

API Management

What are the possible tiers(sku) and their associated costs?

A
Developer at 33,75$ p/m
Basic at 103,21$ p/m
Standard at 481,66$ p/m
Premium 1961,76$ p/m
Consumption(Premium)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is API Management?

A

APIM helps organizations publish APIs to external, partner, and internal developers to unlock the potential of their data and services. Businesses everywhere are looking to extend their operations as a digital platform, creating new channels, finding new customers and driving deeper engagement with existing ones.

API Management provides the core competencies to ensure a successful API program through developer engagement, business insights, analytics, security, and protection. You can use Azure API Management to take any backend and launch a full-fledged API program based on it.

It is basically a Gateway for Integration to various services and users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

API Management

When a user or company connects to the API Management service…

A

They obtain a subscription. This subscription is used to help manage incoming requests.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Once you have ingested these APIs you can create…

A

different products

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Azure API Management offers a flexible way to…

A

version, test and publish API’s to internal and external users

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Benefits of Azure API Management

A
Freedom of language of choice
Scalable
Limited access or number of calls
Offload security
Insights for performance and troubleshooting
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Postman?

A

Allows you to share API, orchestrate API requests and troubloeshoot issues

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Reorder these:
Create GetSession Request with Subscription Key in Postman
Capture Subscription Key
Import XXXX API from publisher
Create API Management Service in Azure Portal
Create a user in Portal
Test call to Get Session in Azure Portal

A
  1. Create API Management Service in Azure Portal
  2. Import XXXX API from publisher
  3. Capture Subscription Key
  4. Create a user in Portal
  5. Test call to Get Session in Azure Portal
  6. Create GetSession Request with Subscription Key in Postman
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What Authentication services can be used to access API?

A
Azure AD
Azure B2C
Facebook
Google
Microsoft
Twitter
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

APIM has some features to help secure APIs using…

A

OpenID Connect or OAuth 2.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is OAuth?

A

A user can obtain a token which they give to an app to use as proof of identity. This token is called a Bearer token

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What’s an Authorization code flow?

A

An authorization code flow is when a client obtains a user’s approval and gets an authorization code that can be exchanged for an access token which is used to gain access to privileged resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the eight steps in the OAuth flow for Authorization Process

A

First, the process will be initiated by the user trying to get into a client application. Second, the client will redirect the user to an authorization server that they trust. Third, the user will log into the authorization server with their username and password. Fourth, the authorization server will validate the user’s credentials and redirect them to the client application to the reply or callback URL with an authorization token. Fifth, the browser hands the authorization token to the client application. Sixth, the client application will send the authorization token to the authorization server, to the token endpoint, and get an access token. It will also gain a refresh token. Seventh, the application will submit the access token to the resource server. Eighth, the resource server will validate the access token and will allow the client application access to the resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are API Policies and uses

A

A key strength of APIM is that it allows you to apply policies to change the behavior of the API. The policies can be applied on different attributes, like the subscription or data types returned and much more. The policies allow publishers to control or manipulate the requests or the various data at different stages.

Securing your API by requiring an OAuth token,
Converting XML to JSON or JSON to XML,
Rate limiting the number of requests based on the specific subscription, or simply Changing header values and callback URLs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How can I delete specific header data or URL coming back from the API call?

A

By modifying Outbound policy for the specific Global / Product / API / Operation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Can we implement a Policy to change the specific operation in a API Call (maybe modifying the type of code delivered from JSON to XML)?

A

Yes, by using an Operation API Policy

17
Q

How can we deploy a policy to validate the inbound Token?

A

By using an Inbound Policy and using the method and the values that need to be met

18
Q

How can we access all the implemented policies in one view?

A

Using the Effective policy view

19
Q

How can I decode the Token to validate what is being sent in decoded version??

A

Using the JWT decoder (jwt.io)

20
Q

How can we test the API Calls and Policies?

A

By using Postman application to see what is being sent and Tokens considered

21
Q

What is a Token comprised of?

A

Header, Payload and Signature