DevOps

Version Control & Git

Git basics, branches, merge, rebase, pull requests, commit conventions, gitflow workflow

20 คำถามสัมภาษณ์·
Junior
1

What is Git?

คำตอบ

Git is a distributed version control system that tracks changes to source code over time. Each developer has a complete copy of the project history on their local machine, unlike centralized systems like SVN. This enables offline work and provides better resilience as there is no single point of failure.

2

Which command initializes a new Git repository in a folder?

คำตอบ

The git init command creates a new local Git repository in the current directory by creating a hidden .git subfolder containing all repository metadata files. This command is the first step to start tracking changes with Git in an existing or new project.

3

Which command adds files to the staging area (index) before committing them?

คำตอบ

The git add command adds file changes to the staging area (transit zone). This intermediate step between modification and commit allows you to precisely select which changes to include in the next commit. For example, git add . adds all modified files, while git add file.txt adds only that specific file.

4

Which command records changes from the staging area into Git history?

5

How to create a new Git branch and switch to it immediately?

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

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

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 คำถาม

GitLab CI/CD

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 และตัวจำลองสัมภาษณ์

เริ่มใช้ฟรี