(200-901) DevNet Associate (DEVASC) Exam Page 2 (Dumps)
Question No:-11
|
When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
1. JSON
2. YAML
3. XML
4. x-form-encoding
|
Question No:-12
|
Which two statements about JSON and XML are true? (Choose two.)
1. The syntax of JSON contains tags, elements, and attributes.
2. XML objects are collections of key-value pairs.
3. JSON objects are collections of key-value pairs.
4. JSON arrays are an unordered set of key-value pairs.
5. The syntax of XML contains tags, elements, and attributes.
|
Question No:-3
|
Which statement describes the benefit of using functions in programming?
1. Functions ensure that a developer understands the inner logic contained before using them as part of a script or application.
2. Functions create the implementation of secret and encrypted algorithms.
3. Functions allow problems to be split into simpler, smaller groups, and reduce code repetition, which makes the code easier to read.
4. Functions store mutable values within a script or application.
Answer:-3. Functions allow problems to be split into simpler, smaller groups, and reduce code repetition, which makes the code easier to read.
|
|
Question No:-14
|
What is a benefit of organizing code into modules?
1. reduces the length of code
2. enables code to be multifunctional
3. enables the reuse of code
4. improves overall performance
Answer:-3. enables the reuse of code
|
|
Question No:-15
|
What is a benefit of organizing code into modules?
1. enables the code to be broken down into layers
2. improves collaboration of the development team
3. makes it easier to deal with large and complex systems
4. enables the inclusion of more programming languages in the code
Answer:-3. makes it easier to deal with large and complex systems
Most user choose there answer as given below
|
|
Question No:-16
|
What is the Git command to delete a local branch named `experiment` without a warning?
1. git branch ג€"rm experiment
2. git branch ג€"n experiment
3. git branch ג€"f experiment
4. git branch ג€"D experiment
|
Question No:-17
|
What is the outcome of executing this command?
git clone ssh:/john@example.com/path/to/my-project.git
1. creates a local copy of a repository called ג€my-projectג€
2. initiates a new Git repository called ג€my-projectג€
3. creates a copy of a branch called ג€my-projectג€
4. creates a new branch called ג€my-projectג€
|
Question No:-18
|
Which action does the Git command git merge allow the developer to perform?
1. Combine multiple sequences of commits into one unified history
2. Push changes to the remote repository
3. Create, list, rename, and delete branches
4. Switch between branches
|
Question No:-19
|
How does a developer create and switch to a new branch called `my-bug-fix` to develop a product fix?
1. git checkout -b my-bug-fix
2. git branch -b my-bug-fix
3. git branch my-bug-fix
4. git checkout my-bug-fix
Answer:-1. git checkout -b my-bug-fix
|
|
Question No:-20
|
A developer needs to prepare the file README.md in the working tree for the next commit operation using Git. Which command needs to be used to accomplish this?
1. git -a README.md
2. git add README.md
3. git add README.md staging
4. git commit README.md
|
|