DevOps

GitLab CI/CD

.gitlab-ci.yml, stages, jobs, runners, artifacts, cache, environments, deployments, troubleshooting pipelines

22 คำถามสัมภาษณ์·
Mid-Level
1

What is the name of the configuration file to define GitLab CI/CD pipelines?

คำตอบ

.gitlab-ci.yml file located at the repository root defines all pipelines, stages, jobs and CI/CD configurations. GitLab automatically detects this file and executes pipelines on every push or merge request. The YAML format provides declarative syntax for defining pipeline infrastructure as code.

2

What does a 'stage' represent in GitLab CI/CD?

คำตอบ

A stage is a logical pipeline phase that groups multiple jobs executed in parallel. Stages run sequentially in the defined order (e.g., build → test → deploy). Jobs within the same stage can run in parallel if multiple runners are available. If a job fails in a stage, the pipeline stops by default.

3

What is the main difference between 'artifacts' and 'cache' in GitLab CI?

คำตอบ

Artifacts are files generated by a job and passed to subsequent jobs or downloadable (e.g., compiled binaries, test reports). Cache stores dependencies to speed up builds (e.g., node_modules, .m2). Artifacts are guaranteed between jobs, cache is best-effort. Cache uses a key for sharing between pipelines, artifacts are per-pipeline.

4

Which keyword controls when a job executes in GitLab CI?

5

What is a GitLab Runner?

+19 คำถามสัมภาษณ์

หัวข้อสัมภาษณ์ DevOps อื่นๆ

Version Control & Git

Junior
20 คำถาม

Linux Fundamentals

Junior
22 คำถาม

Shell Scripting & Bash

Mid-Level
20 คำถาม

Networking Basics

Junior
22 คำถาม

Docker Fundamentals

Junior
24 คำถาม

CI/CD Fundamentals

Junior
18 คำถาม

GitHub Actions

Mid-Level
22 คำถาม

Jenkins

Mid-Level
22 คำถาม

Kubernetes Basics

Mid-Level
26 คำถาม

Kubernetes Networking

Mid-Level
24 คำถาม

Kubernetes Advanced

Mid-Level
24 คำถาม

Ingress & API Gateway

Mid-Level
20 คำถาม

Terraform Basics

Mid-Level
22 คำถาม

Terraform Advanced

Mid-Level
22 คำถาม

Ansible & Configuration Management

Mid-Level
20 คำถาม

AWS Essentials

Mid-Level
26 คำถาม

Azure Fundamentals

Mid-Level
22 คำถาม

GCP Fundamentals

Mid-Level
22 คำถาม

Monitoring & Prometheus

Mid-Level
22 คำถาม

Logging & ELK Stack

Mid-Level
20 คำถาม

Alerting & Incident Response

Mid-Level
20 คำถาม

Cloud Identity & Secrets

Mid-Level
22 คำถาม

CI/CD Pipeline Security

Mid-Level
20 คำถาม

Helm & Kubernetes

Mid-Level
20 คำถาม

Runtime & Cluster Security

Senior
24 คำถาม

Container Supply Chain Security

Senior
22 คำถาม

Service Mesh & Istio

Senior
24 คำถาม

GitOps & ArgoCD

Senior
22 คำถาม

Progressive Delivery

Senior
20 คำถาม

Distributed Observability

Senior
22 คำถาม

Disaster Recovery & Backup

Senior
20 คำถาม

Performance Optimization

Senior
22 คำถาม

Cloud Cost Optimization

Senior
20 คำถาม

SRE Principles

Senior
24 คำถาม

Chaos Engineering

Senior
20 คำถาม

Platform Engineering

Senior
22 คำถาม

เชี่ยวชาญ DevOps สำหรับการสัมภาษณ์ครั้งถัดไป

เข้าถึงคำถามทั้งหมด flashcards แบบทดสอบเทคนิค แบบฝึกหัด code review และตัวจำลองสัมภาษณ์

เริ่มใช้ฟรี