DevOps API Interview QA Simple
DevOps API Interview QA Simple
1. What is an API?
API means one system can talk to another system. In DevOps, APIs help us do tasks like starting
We use APIs in tools like Azure DevOps, GitHub, Jenkins, and Terraform Cloud to start jobs, get
We use tokens like PAT (Personal Access Token), API keys, or client ID and secret. For secure
We can test APIs using Postman, curl (command-line tool), or write scripts in Python or PowerShell
We use a POST request to the pipeline URL with a token. This starts the build automatically without
clicking anything.
- GET: to read
- POST: to create
- PUT: to update
We use APIs to trigger other pipelines, get logs, or send messages to Teams or Slack after
deployment.
8. What is Workload Identity Federation?
It is a safe way for tools like Azure DevOps to login to Azure without using passwords. Azure trusts
- 200: OK
- 201: Created
We use monitoring tools like Prometheus or Grafana to pull data using APIs. Also, we send alerts to
When pipeline is complete, I use an API to send a message to Slack. I also use APIs to get the build