Pass the Salesforce Developers CRT-450 Questions and answers with CertsForce

Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions
Questions # 41:

An org has an existing flow that edits an Opportunity with an Update Records element. A developer must update the flow to also create a Contact and store the created Contact’s ID on the Opportunity.

Which update must the developer make in the flow?

Options:

A.

Add a new Update Records element.


B.

Add a new Roll Back Records element.


C.

Add a new Create Records element.


D.

Add a new Get Records element.


Expert Solution
Questions # 42:

Which two events need to happen when deploying to a production org?

Choose 2 answers

Options:

A.

All custom objects must have visibility set to a value other than in Development.


B.

All Apex code must have at least 75% test coverage.


C.

All triggers must have some test coverage


D.

All Visual flows must have at least 1% test coverage.


Expert Solution
Questions # 43:

A custom object Trainer__c has a lookup field to another custom object Gym__c.

Which SOQL query will get the record for the Viridian City Gym and all it's trainers?

Options:

A.

SELECT ID FROM Trainer_c WHERE Gym_r.Name = 'Viridian City Gym'


B.

SELECT Id, (SELECT Id FROM Trainer_c FROM Gym_c WHERE Name = ‘Viridian City Gym"


C.

SELECT Id, (SELECT Id FROM Trainers _r) FROM Gym_c WHERE Name = ‘Viridian City Gym'


D.

SELECT Id, (SELECT Id FROM Trainers _c) FROM Gym_c WHERE Name = 'Viridian City Gym'


Expert Solution
Questions # 44:

A company decides to implement a new process where every time an Opportunity is created, a follow up Task should be created and assigned to the Opportunity Owner.

What is the most efficient way for a developer to implement this?

Options:

A.

Apex trigger on Task


B.

Task actions


C.

Auto-launched flow on Task


D.

Record-triggered flow on Opportunity


Expert Solution
Questions # 45:

A software company is using Salesforce to track the companies they sell their software to in the Account object. They also use Salesforce to track bugs in their software with a custom object, Bug__c.

As part of a process improvement initiative, they want to be able to report on which companies have reported which bugs. Each company should be able to report multiple bugs and bugs can also be reported by multiple companies.

What is needed to allow this reporting?

Options:

A.

Roll-up summary field of Bug_c on Account


B.

Master-detail field on Bug_c to Account


C.

Lookup field on Bug_c to Account


D.

Function object between Bug__c and Account


Expert Solution
Questions # 46:

The Account object in an organization has a master-detail relationship to a child object called Branch. The following automations exist:

* Roll-up summary fields

* Custom validation rules

* Duplicate rules

developer created a trigger on the Account object.

Which two things should the developer consider while testing the trigger code?

Choose 2 answers

Options:

A.

Rollup summary fields can cause the parent record to go through Save.


B.

Duplicate rules are executed once all DML operations commit to the database.


C.

The trigger may fire multiple times during a transaction.


D.

The validation rules will cause the trigger to fire again.


Expert Solution
Questions # 47:

Universal Containers decides to use exclusively declarative development to build out a new Salesforce application.

Which three options should be used to build out the database layer for the application?

Choose 3 answers

Options:

A.

Custom objects and fields


B.

Triggers


C.

Roll-up summaries


D.

Relationships


E.

Flows


Expert Solution
Questions # 48:

Which annotation exposes an Apex class as a RESTful web service?

Options:

A.

@RemoteAction


B.

@RestResource (urlMapping='/myService/*"')


C.

@HttpInvocable


D.

@Aurabnabled(cacheable=true)


Expert Solution
Questions # 49:

The following code snippet is executed by a Lightning web component in an environment with more than 2,000 lead records:

Question # 49

Which governor limit will likely be exceeded within the Apex transaction?

Options:

A.

Total number of SOOL quires issued


B.

Total number of DML statements issued


C.

Total number of records processed as a result of DML statements


Expert Solution
Questions # 50:

A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an

OrderlItem object that has a master-detail relationship to Order. During order processing, an order may be split into multiple orders.

What should a developer do to allow their code to move some existing OrderItem records to a new Order record?

Options:

A.

Add without sharing to the Apex class declaration.


B.

Change the master-detail relationship to an external lookup relationship.


C.

Create a junction object between OrderItem and Order.


D.

Select the Allow reprinting option on the master-detail relationship.


Expert Solution
Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions