Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 267 discussion

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

Given the following trigger implementation:



The developer receives deployment errors every time a deployment is attempted from a sandbox to Production.

What should the developer do to ensure a successful deployment?

  • A. Ensure a record type with an ID of BUSINESS_RECORDTYPEID exists on Production prior to deployment.
  • B. Ensure BUSINESS_RECORDTYPEID is pushed as part of the deployment components.
  • C. Ensure BUSINESS_RECORDTYPEID is retrieved using Schema.Describe calls.
  • D. Ensure the deployment is validated by a System Admin user on Production.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
moorer
Highly Voted 1 year, 10 months ago
Selected Answer: C
Anwer should be C, A will not work and fail on every other environment
upvoted 6 times
...
irina_735
Most Recent 1 year, 2 months ago
Selected Answer: A
Strange hardcoding example, I think 'A' is correct because what is 'Schema.Describe calls'? You shoud use getRecordTypeInfosByName(), then get the required recordType Id
upvoted 1 times
...
Alf8
1 year, 11 months ago
Selected Answer: A
Not sure how answer B can be implemented, Answer should be A
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 ...