exam questions

Exam 300-535 All Questions

View all questions & answers for the 300-535 exam

Exam 300-535 topic 1 question 50 discussion

Actual exam question from Cisco's 300-535
Question #: 50
Topic #: 1
[All 300-535 Questions]

Which Git command is needed to stage the file network-deploy.py to then commit the changes to the revision history?

  • A. git init network-deploy.py
  • B. git add network-deploy.py
  • C. git merge network-deploy.py
  • D. git commit network-deploy.py
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
10 months ago
B) git add command is correct. When handling git commands you can use git status to check which file has been modified and then use git add <filename> After that you commit the what you've done using git commit -m "filename modified"
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...