Version Control with Git Module 4 Assessment Answer

Module 4 Assessment Answer

Version Control with Git Module 4 Assessment Answer

In this article i am gone to share Coursera Course: Version Control with Git Module 4 Assessment Answer with you..


Module 4 Assessment Answer


Question 1)

Which one of these is the main goal of a pull request?

  • Create a branch.
  • Merge a branch into a project.
  • Obtain a clone of a repository.


Question 2)

Which one of these statements is true?

  • A pull request can act as a form of review and approval.
  • A pull request must be made from a forked repository.
  • A pull request can be made only when a branch is being merged.


Question 3)

Which one of these statements is true?

  • A pull request merge can not be fast-forwarded.
  • Merging a pull request may result in a merge conflict.
  • Merging a pull request always creates a merge commit.


Question 4)

Which one of these statements is true?

  • Pull requests can not be modified.
  • Pull requests can facilitate team discussion.
  • A pull request must include a forked repository.


Question 5)

When can you open a pull request?

  • Only when the branch is created.
  • When you want feedback on your work.
  • Only when the branch is ready to be merged.

Question 6)

Which one of these is true about squash merges?

  • A squash merge can result in deleted commits.
  • A squash merge creates a merge commit.
  • A squash merge can not be done when merging a pull request.


Question 7)

Which one of these statements is true?

  • A fork is a remote repository.
  • A fork is considered the source of truth.
  • A fork is an upstream repository.

Question 8)

Which one of statements about forks is true?

  • The upstream respository never has access to the fork.
  • The upstream repository always has access to the fork.
  • The upstream repository may have access to the fork.


Question 9)

After forking a repository, which one of these statements is true?

  • The two repositories can not be synchronized.
  • The two repositories will automatically remain synchronized.
  • The commit histories of the two repositories may begin to differ.

Question 10)

Which one of these statements is true?

  • A fork and a clone are the same thing.
  • Cloning a forked repository creates a local repository.
  • There is no reason to clone a forked repository.


Question 11)

Assume that you have a forked repository and an upstream repository. Who selects the merge strategy if a pull request is merged?

  • The requester.
  • The creator of the topic branch.
  • The person merging the pull request.


Question 12)

Which one of these statements about centralized workflows is true?

  • Using a centralized workflow is discouraged.
  • There is usually a single branch on the remote repository.
  • Pull requests are common in centralized workflows.


Question 13)

Which one of these statements about feature branch workflows is true?

  • Most work is done on a feature branch.
  • Using a feature branch workflow is discouraged.
  • Pull requests are not possible in feature branch workflows.


Question 14)
Which one of these statements about forking workflows is true?

  • Using a forking workflow is discouraged.
  • A forking workflow involves multiple remote repositories.
  • The forked repository must have write access to the upstream repository.

Question 15)

Which one of these statements about Gitflow workflows is true?

  • Gitflow workflows work best with small projects.
  • Gitflow workflows can accomodate hotfixes.
  • Gitflow workflows contain no long-running branches.



_____________________________________________________________

Version Control with Git 





Post a Comment

1 Comments