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 41 discussion

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

The operation manager at a construction company uses a custom object called Machinery to manage the usage and maintenance of its cranes and other machinery. The manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. More than one piece of machinery can be assigned to one construction job.
What should a developer do to meet these requirements?

  • A. Create a lookup field on the Construction Job object to the Machinery object.
  • B. Create a lookup field on the Machinery object to the Construction Job object.
  • C. Create a junction object with Master-Detail Relationship to both the Machinery object and the Construction Job object.
  • D. Create a Master-Detail Lookup on the Machinery object to the Construction Job object.
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
Khush_123A
Highly Voted 4 years, 4 months ago
answer should be c
upvoted 20 times
...
BarbBarb
Highly Voted 2 years, 10 months ago
Selected Answer: C
One construction job can have many machineries ("More than one piece of machinery can be assigned to one construction job"). One Machinery can be assigned to many jobs ("The manager wants to be able to assign machinery to different constructions jobs") I think this can be achieved only with junction
upvoted 11 times
...
PrivateUser
Most Recent 1 month ago
Selected Answer: B
B One Machinery can only be in one Job. Jobs can have multiple machinery. It is not many to many. One Job (parent) can have multiple Machinery (child). Machinery (child) can only have one Job (parent). It's a lookup on Machinery
upvoted 1 times
...
TDB97
5 months, 1 week ago
Selected Answer: C
C is correct
upvoted 1 times
...
govosen887
1 year, 7 months ago
Selected Answer: C
One job can have many pieces of machinery and while machine can only be on one job at any given time, but we want to track dates and costs, so we can't discard the historical data when moving the machine to a new job.
upvoted 3 times
...
Xx_Panda_xX
1 year, 11 months ago
Selected Answer: A
a is the right answer. 1. Master-detail relation does not apply. We wouldn't want a child deleted upon deletion of parent 2. Junction object isn't needed as I would assume a machinery can't be at 2 different sites at the same time
upvoted 1 times
9868452
1 month, 1 week ago
If that's the case, then A wouldn't be the right answer either, it would be B. Since a construction job can have multiple machinery, you would want to put a lookup field on the machinery object to the construction job - so you know where the machinery is located at what construction job. Not the other way around.
upvoted 1 times
...
...
ronak_h33t
1 year, 11 months ago
Selected Answer: B
I think the answer is B coz machinery can exist without it being assigned to a job.
upvoted 3 times
...
ApexMike
2 years, 1 month ago
C is the answer.
upvoted 1 times
...
sivsiv
2 years, 6 months ago
Selected Answer: C
many to many relationship
upvoted 6 times
...
sts1991
2 years, 6 months ago
Selected Answer: C
many to many relationship - junction objects
upvoted 5 times
...
Marchant
2 years, 11 months ago
I think the answer is D
upvoted 1 times
...
Pepsical
3 years ago
I think the answer is B coz machinery can exist without it being assigned to a job.
upvoted 2 times
...
ashwani012
3 years, 2 months ago
argument 1: The manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. m1<--J1(denting),J2(painting),J3(finishing) argument 2: More than one piece of machinery can be assigned to one construction job. m1,m2,m3-->J1(denting) can only be achieved through Junction object(Many to Many).Answer - C
upvoted 5 times
...
HR444
3 years, 2 months ago
I still think the answer is: A. Many-to-many seems wrong because it clearly states "More than one piece of machinery can be assigned to *one* construction job", no? Isn't it saying one-to-many there?
upvoted 2 times
Ganmook
3 years, 2 months ago
I agree with your answer, we can assume more than two machineries are using for one construction job. So, MD is only allowed up to 2 relationships, so I think Lookup is better answer than MD.
upvoted 2 times
...
...
Priyankss
3 years, 4 months ago
a is the right answer. 1. Master-detail relation does not apply. We wouldn't want a child deleted upon deletion of parent 2. Junction object isn't needed as I would assume a machinery can't be at 2 different sites at the same time
upvoted 2 times
Priyankss
3 years, 4 months ago
Nope. I was wrong. I would go for c
upvoted 1 times
...
...
mway2020
3 years, 10 months ago
I think B is the correct answer. like in account and contact relationship for any single account we can have multiple contacts. in the same way for more than one machinery means we have to create lookup in machinery object to construction job.
upvoted 4 times
...
sayrak
3 years, 11 months ago
I think answer is 'b' because one construction job can have more than one machinery. It means it is one to many. Question didn't talk about it is tightly coupled child records existence depends on Parent.
upvoted 2 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 ...