Courseiva
Software Development and DesigneasyMultiple ChoiceObjective-mapped

200-901 Software Development and Design Practice Question

What does the Git command 'git log --oneline' display?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

A summary of each commit on one line

The --oneline flag condenses each commit to a single line showing the commit hash and message.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • A list of files changed in the last commit

    Why it's wrong here

    That would be git show --stat or similar.

  • The branches and their latest commits

    Why it's wrong here

    That's git branch -v.

  • The differences between the working directory and the last commit

    Why it's wrong here

    That's git diff.

  • A summary of each commit on one line

    Why this is correct

    Correct: oneline format.

About these practice questions

One of 989 original 200-901 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.