MCQ Detail
Search MCQs, Papers, Topics
AI
easy
What Is The Purpose Of The `.Gitignore` File?
A.
To ignore merge conflicts automatically
✓
✗
B.
To list files and directories Git should not track
✓
✗
C.
To store SSH keys for remote access
✓
✗
D.
To configure Git server settings
✓
✗
The .gitignore file specifies patterns of files and directories that Git should ignore and not track. Common examples include compiled binaries, log files, and environment config files.
Gitignore
Git
Version Control
Devops
File Management
Submitting...
🚀 Found an error or have a suggestion?
Your feedback helps us keep our MCQs accurate and up-to-date.
Related MCQs
Related MCQs where subject and topic are same as this mcq
AI
easy
Question 1: What does CI stand for in DevOps?
CI stands for Continuous Integration, a practice where code changes are integrated frequently and tested automatically.
Ci
Devops
Automation
Software Delivery
AI
easy
Question 2: Which of the following best describes Git?
Git is a distributed version control system used to track code changes.
Git
Version Control
Software Development
Repository
AI
easy
Question 3: Which Git command is used to send local commits to a remote repository?
git push uploads local committed changes to a remote repository.
Git
Push
Repository
Version Control
AI
medium
Question 4: In Docker, what is an image?
A Docker image is a read-only template used to create containers.
Docker
Image
Container
Devops
AI
medium
Question 5: Which statement about containers is correct?
Containers are lightweight and share the host OS kernel, making them more efficient than full virtual machines in many cases.
Containers
Docker
Virtualization
Devops