QuestionQ21

Continuous Integration Techniques

Universal Containers (UC) has found that unit tests fail in production during deployments, but not in any other environment. Investigation shows that administrators are making minor production changes without considering dependent components.

Which two recommendations can the architect make to help UC identify these failing unit tests sooner?

Choose two
  • A Ask administrators to run unit tests before every change.
  • B Stop administrators from making all changes.
  • C Ensure a metadata backup is committed to version control every day and a diff published to the release team.
  • D Train the administrators to make their changes in a special “admin changes” sandbox, and then promote to production.
Explanation

A dedicated administrator sandbox allows configuration changes and their dependent components to be tested before they are promoted to production. Daily retrieval of production metadata into version control, with a published diff for the release team, makes untracked production metadata drift visible so it can be reconciled and assessed before a later deployment exposes it through failing tests. Salesforce supports using sandboxes to create and test customizations before sending them to production, and Metadata API supports retrieving and managing org customization metadata.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!