200-901 Practice Test

200-901 Practice Test practice questions, page 6 of 26, with answer review and explanations.

Question 26

A developer is reviewing a code that was written by a colleague. It runs fine, but there are many lines of code to do a seemingly simple task repeatedly. Which action organizes the code?

  1. Refactor the code by removing any unnecessary tests.
  2. Reverse engineer and rewrite the code logic.
  3. Using functions, rewrite any pieces of code that are repeated.
  4. Modify the code to use loops.

Question 27

Which principle is a value from the manifesto for Agile software development?

  1. processes and tools over teams and interactions
  2. detailed documentation over working software
  3. adhering to a plan over responding to requirements
  4. customer collaboration over contract negotiation

Question 28

Which advantage does the agile process offer compared to waterfall software development?

  1. to add or update features with incremental delivery
  2. to view the full scope of end-to-end work
  3. to have each phase end before the next begins
  4. to fix any issues at the end of the development cycle

Question 29

How do XML and JSON compare regarding functionality?

  1. XML provides more support for mapping data structures into host languages than JSON.
  2. XML provides more human readability than JSON.
  3. JSON provides less support for data types than XML.
  4. JSON natively supports arrays and XML does not natively support arrays.

Question 30

What are two principles of an infrastructure as code environment? (Choose two.)

  1. Components are coupled, and definitions must be deployed for the environment to function.
  2. Redeployments cause varying environment definitions.
  3. Environments must be provisioned consistently using the same inputs.
  4. Service overlap is encouraged to cater for unique environment needs.
  5. Complete complex systems must be able to be built from reusable infrastructure definitions.