Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco 350-901 Exam - Topic 3 Question 38 Discussion

A developer is working on a bug fix. The existing branch named 'bugfix05328' needs to be merged with the current working primary branch named 'prim404880077'. All changes must be integrated into a single commit instead of preserving them as individual commits. Which git command must be used?
B) git merge -- --squash bugfix05328
A) git checkout -- --squash bugfix05328
C) git rebase -- --merge bugfix05328
D) git push -- --rebase bugfix05328

Cisco 350-901 Exam - Topic 3 Question 38 Discussion

Actual exam question for Cisco's 350-901 exam
Question #: 38
Topic #: 3
[All 350-901 Questions]

A developer is working on a bug fix. The existing branch named 'bugfix05328' needs to be merged with the current working primary branch named 'prim404880077'. All changes must be integrated into a single commit instead of preserving them as individual commits. Which git command must be used?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Cyril
10 months ago
I’m not sure, isn’t there a better way to handle this?
upvoted 0 times
...
Burma
10 months ago
B is the way to go, no doubt about it!
upvoted 0 times
...
Lucina
10 months ago
Wait, can you really squash like that? Seems off.
upvoted 0 times
...
Isidra
11 months ago
I thought it was A at first, but B makes more sense.
upvoted 0 times
...
Melissia
11 months ago
It's definitely B, that's the squash merge command!
upvoted 0 times
...
Beatriz
11 months ago
I don't recall using "git push" in this context at all. It seems like a distraction from the actual merging process.
upvoted 0 times
...
Willow
11 months ago
I feel like "git rebase" is more about changing commit history rather than merging. So that one seems off to me.
upvoted 0 times
...
Devora
11 months ago
I remember practicing a similar question where we had to merge branches, and I think it was something like "git merge --squash".
upvoted 0 times
...
Beckie
11 months ago
I think the command we're looking for is related to merging, but I'm not entirely sure if it's the right syntax for squash.
upvoted 0 times
...
Velda
11 months ago
This one seems straightforward. I'm pretty sure the answer is Encapsulation, which is a key design principle for reducing complexity.
upvoted 0 times
...
Margurite
11 months ago
I think I've got a strategy for this. I'll start by reviewing the key characteristics of BGP confederations, then I'll consider how the TTL value might be impacted in that context.
upvoted 0 times
...
Alishia
11 months ago
Okay, I think I've got this. The code is deleting 10 accounts and then emptying the recycle bin, so that should be 11 DML statements. And the limit is 150, so the output should be 11, 150.
upvoted 0 times
...

Save Cancel