exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 12 discussion

Actual exam question from Microsoft's AZ-400
Question #: 12
Topic #: 8
[All AZ-400 Questions]

HOTSPOT -
You are finalizing a release in GitHub.
You need to apply the following labels to the release:
✑ Name
✑ Email
✑ Release v3.0
✑ Release date
How should you complete the git command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1; tag -
Tagging. Like most VCSs, Git has the ability to tag specific points in a repository's history as being important. Typically, people use this functionality to mark release points (v1.0, v2.0 and so on).

Box 2: -a -
Creating an annotated tag in Git is simple. The easiest way is to specify -a when you run the tag command:
Example:
$ git tag -a v1.4 -m "my version 1.4"

Box 3: -m -
Reference:
https://git-scm.com/book/en/v2/Git-Basics-Tagging

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
Yuvv
Highly Voted 1 year, 10 months ago
it came on 26 June exam
upvoted 11 times
...
Sylph
Highly Voted 2 years ago
Correct
upvoted 9 times
...
syu31svc
Most Recent 8 months, 3 weeks ago
Given answer is correct and link provided supports it
upvoted 2 times
...
Eltooth
11 months, 2 weeks ago
-a -m
upvoted 2 times
...
UnknowMan
11 months, 3 weeks ago
Correct Is annoted tag -a is the annotation and -m the message
upvoted 8 times
Eltooth
11 months, 2 weeks ago
"tag" "-a" "-m"
upvoted 2 times
...
...
Cheehp
1 year ago
Selected during exam. git tag -a v3.0 -m "Release 3.0"
upvoted 4 times
...
rdemontis
1 year, 1 month ago
correct
upvoted 1 times
...
Sant25
1 year, 7 months ago
GIVEN ANS CORRECT If you want to create an annotated tag for a specific commit, you can use the “-a” and “-m” options. $ git tag -a <tag_name> <commit_sha> -m "message"
upvoted 5 times
...
saschgo
1 year, 9 months ago
Since you want to have "name" and "email" as labels for the intended release you need to create an annotated tag. From [Git SCM book](https://git-scm.com/book/en/v2/Git-Basics-Tagging): Annotated tags, however, are stored as full objects in the Git database. They’re checksummed; contain the tagger name, email, and date; have a tagging message;
upvoted 2 times
...
Imsudhirtripathi
1 year, 10 months ago
It came in 1st July exam
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago