exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 128 discussion

Actual exam question from Salesforce's CRT-450
Question #: 128
Topic #: 1
[All CRT-450 Questions]

What can be used to delete components from production?

  • A. A change set deployment with a destructiveChanges XML file
  • B. A change set deployment with the delete option checked
  • C. An ant migration tool deployment with a destructiveChanges XML file and an empty package.xml file
  • D. An ant migration tool deployment with a desctuctiveChanges XML file and the components to delete in the package.xml file
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JoeColoe
Highly Voted 2 years, 4 months ago
package.xml has to be empty. C is correct.
upvoted 11 times
...
smoota
Most Recent 1 year ago
Selected Answer: C
To delete components, use the same procedure as with deploying components, but also include a delete manifest file that’s named destructiveChanges.xml and list the components to delete in this manifest. The format of this manifest is the same as package.xml except that wildcards aren’t supported.
upvoted 2 times
...
ApexMike
1 year, 4 months ago
Selected Answer: C
destructiveChanges.xml lists the component you want to delete and package.xml lists components you want to add or update. So if you're not adding anything, then package xml should be empty.
upvoted 3 times
...
John1212
1 year, 8 months ago
Selected Answer: C
package must be an empty
upvoted 3 times
...
HR444
2 years, 5 months ago
Believe the answer's correct: https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm
upvoted 3 times
DonAldos
2 years, 3 months ago
In your link is the package.xml file empty, so C is correct
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...