
GitLab CI/CD
.gitlab-ci.yml, stages, jobs, runners, artifacts, cache, environments, deployments, troubleshooting pipelines
1What is the name of the configuration file to define GitLab CI/CD pipelines?
What is the name of the configuration file to define GitLab CI/CD pipelines?
Resposta
.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.
2What does a 'stage' represent in GitLab CI/CD?
What does a 'stage' represent in GitLab CI/CD?
Resposta
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.
3What is the main difference between 'artifacts' and 'cache' in GitLab CI?
What is the main difference between 'artifacts' and 'cache' in GitLab CI?
Resposta
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.
Which keyword controls when a job executes in GitLab CI?
What is a GitLab Runner?
+19 perguntas de entrevista
Outros temas de entrevista DevOps
Version Control & Git
Linux Fundamentals
Shell Scripting & Bash
Networking Basics
Docker Fundamentals
CI/CD Fundamentals
GitHub Actions
Jenkins
Kubernetes Basics
Kubernetes Networking
Kubernetes Advanced
Ingress & API Gateway
Terraform Basics
Terraform Advanced
Ansible & Configuration Management
AWS Essentials
Azure Fundamentals
GCP Fundamentals
Monitoring & Prometheus
Logging & ELK Stack
Alerting & Incident Response
Cloud Identity & Secrets
CI/CD Pipeline Security
Helm & Kubernetes
Runtime & Cluster Security
Container Supply Chain Security
Service Mesh & Istio
GitOps & ArgoCD
Progressive Delivery
Distributed Observability
Disaster Recovery & Backup
Performance Optimization
Cloud Cost Optimization
SRE Principles
Chaos Engineering
Platform Engineering
Domine DevOps para sua proxima entrevista
Acesse todas as perguntas, flashcards, testes tecnicos, exercicios de code review e simuladores de entrevista.
Comece gratis