nerdexam
CompTIACompTIA

XK0-005 · Question #1626

XK0-005 Question #1626: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1626. The question stem and answer options stay visible for context.

Security

Question

Application code is stored in Gil. Due to security concerns, the DevOps engineer does not want to keep a sensitive configuration file, app.conf, in the repository. Which of the following should the engineer do to prevent the file from being uploaded to the repository?

Options

  • ARun git exclude app.conf.
  • BRun git stash app.conf.
  • CAdd app.conf to .exclude.
  • DAdd app.conf to .gitignore.

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Git#Version Control#File Exclusion#Repository Security
Full XK0-005 PracticeBrowse All XK0-005 Questions