nerdexam
Microsoft

MB-820 · Question #16

You are cleaning up sandbox environments for a company. The company requires data to be cleared from the environments each time an extension is published. You need to configure the launch.json file…

The correct answer is D. Recreate. In the context of cleaning up sandbox environments for a company where data needs to be cleared each time an extension is published, the schemaUpdateMode property in the launch.json file should be set to Recreate (D). Setting this property to Recreate ensures that every time…

Work with development tools

Question

You are cleaning up sandbox environments for a company. The company requires data to be cleared from the environments each time an extension is published. You need to configure the launch.json file. Which schemaUpdateMode property should you set?

Options

  • AForceUpgrade
  • BForceSync
  • CSynchronize
  • DRecreate

How the community answered

(40 responses)
  • A
    3% (1)
  • C
    3% (1)
  • D
    95% (38)

Explanation

In the context of cleaning up sandbox environments for a company where data needs to be cleared each time an extension is published, the schemaUpdateMode property in the launch.json file should be set to Recreate (D). Setting this property to Recreate ensures that every time the extension is published, the existing tables and data are dropped, and then the tables are recreated based on the current extension's schema. This mode is particularly useful in development and testing environments where you need a clean slate for testing each version of the extension without the remnants of previous data affecting the outcomes. It's important to use this setting cautiously, as it results in the loss of all existing data in the tables defined by the extension, which is suitable for a sandbox environment but not for production environments.

Topics

#launch.json#schemaUpdateMode#sandbox environment#Recreate mode

Community Discussion

No community discussion yet for this question.

Full MB-820 Practice