Platform Developer I Exam CRT-450 Dumps Questions

Are you ready to become a Salesforce Certified Platform Developer I? We newly updated Platform Developer I Exam CRT-450 Dumps Questions to ensure that you can pass CRT-450 exam smoothly. New CRT-450 dumps questions contain 211 exam questions and answers. You can read all the Q&As and prepare for CRT-450 Salesforce Certified Platform Developer I smoothly.

Test Free CRT-450 Dumps Questions Online First

1. Which statement results in an Apex compiler error?


2. What are two benefits of the Lightning Component framework? (Choose two.)


3. A method is passed a list of generic sObjects as a parameter.

What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?


4. What should a developer use to implement an automatic Approval Process submission for Cases?


5. When viewing a Quote, the sales representative wants to easily see how many discounted items are included in the Quote Line Items.

What should a developer do to meet this requirement?


6. While writing a test class that covers an OpportunityLineItem trigger, a Developer is unable to create a standard PriceBook since one already exists in the org.

How should the Developer overcome this problem?


7. Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)


8. Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?


9. Which two platform features align to the Controller portion of MVC architecture? (Choose two.)


10. A developer needs to test an Invoicing system integration. After reviewing the number of transactions required for the test, the developer estimates that the test data will total about 2 GB of data storage. Production data is not required for the integration testing.

Which two environments meet the requirements for testing? (Choose two.)


11. A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard.

Which approach should the developer use to accomplish this declaratively?


12. A developer encounters APEX heap limit errors in a trigger.

Which two methods should the developer use to avoid this error? (Choose two.)


13. Which approach should be used to provide test data for a test class?


14. Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?


15. Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)


16. What is the requirement for a class to be used as a custom Visualforce controller?


17. A Visualforce page is required for displaying and editing Case records that includes both standard and custom functionality defined in an Apex class called myControllerExtension.

The Visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?


18. A newly hired developer discovers that there are multiple triggers on the case object.

What should the developer consider when working with triggers?


19. How should a developer prevent a recursive trigger?


20. Which three options can be accomplished with formula fields? (Choose three.)


21. What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)


22. A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type.

Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)


23. A developer has the controller class below.

Which code block will run successfully in an execute anonymous window?


24. In a single record, a user selects multiple values from a multi-select picklist.

How are the selected values represented in Apex?


25. A developer writes the following code:

What is the result of the debug statement?


26. What are two valid options for iterating through each Account in the collection List<Account> named AccountList? (Choose two.)


27. Given:

Map<ID, Account> accountMap = new Map>ID, Account> ([SELECT Id, Name FROM Account]);

What are three valid Apex loop structures for iterating through items in the collection? (Choose three.)


28. Universal Containers wants Opportunities to be locked from editing when reaching the Closed/Won stage.

Which two strategies should a developer use to accomplish this? (Choose two.)


29. How should a developer make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?


30. An org has a single account named ‘NoContacts’ that has no related contacts. Given the query:

List<Account> accounts = [Select ID, (Select ID, Name from Contacts) from Account where Name=‘NoContacts’];

What is the result of running this Apex?


31. A platform developer at Universal Containers needs to create a custom button for the Account object that, when clicked, will perform a series of calculations and redirect the user to a custom Visualforce page.

Which three attributes need to be defined with values in the <apex:page> tag to accomplish this? (Choose three.)


32. Using the Schema Builder, a developer tries to change the API name of a field that is referenced in an Apex test class.

What is the end result?


33. When is an Apex Trigger required instead of a Process Builder Process?


34. A developer needs to join data received from an integration with an external system with parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent.

Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?


35. A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes.

How should the developer design the Apex classes?


36. Which approach should a developer use to add pagination to a Visualforce page?


37. A developer is asked to create a PDF quote document formatted using the company’s branding guidelines, and automatically save it to the Opportunity record.

Which two ways should a developer create this functionality? (Choose two.)


38. Which tool allows a developer to send requests to the Salesforce REST APIs and view the responses?


39. A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page.

What should the developer do to deploy to production?


40. What is a benefit of using an after insert trigger over using a before insert trigger?


41. 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?


42. Which two strategies should a developer use to avoid hitting governor limits when developing in a multi-tenant environment? (Choose two.)


43. Which set of roll-up types are available when creating a roll-up summary field?


44. What is the result of the debug statements in testMethod3 when you create test data using testSetup in below code?


45. Which three options allow a developer to use custom styling in a Visualforce page? (Choose three.)


46. A developer executes the following query in Apex to retrieve a list of contacts for each account:

List<account> accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ;

Which two exceptions may occur when it executes? (Choose two.)


47. Which three tools can deploy metadata to production? (Choose three.)


48. A developer needs to display all of the available fields for an object.

In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object? (Choose two.)


49. How should a developer avoid hitting the governor limits in test methods?


50. Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.)


51. A developer is asked to set a picklist field to ‘Monitor’ on any new Leads owned by a subnet of Users.

How should the developer implement this request?


52. Why would a developer consider using a custom controller over a controller extension?


53. A developer wants to override a button using Visualforce on an object.

What is the requirement?


54. A lead object has a custom field Prior_Email__c.

The following trigger is intended to copy the current Email into the Prior_Email__c field any time the Email field is changed:

Which type of exception will this trigger cause?


55. How should a developer create a new custom exception class?


56. Which two number expressions evaluate correctly? (Choose two.)


57. How can a developer set up a debug log on a specific user?


58. A developer needs to create a Visualforce page that displays Case data. The page will be used by both support reps and support managers. The Support Rep profile does not allow visibility of the Customer_Satisfaction__c field, but the Support Manager profile does.

How can the developer create the page to enforce Field Level Security and keep future maintenance to a minimum?


59. When an Account’s custom picklist field called Customer Sentiment is changed to a value of “Confused”, a new related Case should automatically be created.

Which two methods should a developer use to create this case? (Choose two.)


60. What are three characteristics of static methods? (Choose three.)


61. What are two uses for External IDs? (Choose two.)


62. A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown.

Which step should the developer take to resolve the issue and properly test the exception?


63. Which SOQL query successfully returns the Accounts grouped by name?


64. For which three items can a trace flag be configured? (Choose three.)


65. In a single record, a user selects multiple values from a multi-select picklist.

How are the selected values represented in Apex?


66. Which trigger event allows a developer to update fields in the list without using an additional DML statement?Choose 2 answers


67. Which statement would a developer use when creating test data for products and pricebooks?


68. Where would a developer build a managed package?


69. Which type of information is provided by the Checkpoints tab in the Developer Console? (Choose 2)


70. A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created. When will the email be sent?


71. Which code block returns the ListView of an Account object using the following debug statement? system.debug(controller.getListViewOptions() );


72. The Sales Management team hires a new intern. The intern is not allowed to view Opportunities, but needs to see the Most Recent Closed Date of all child Opportunities when viewing an Account record.

What would a

developer do to meet this requirement?


73. What is a benefit of the lightning component framework?


74. What is an accurate constructor for a custom controller named "MyController"?


75. What is a valid source and destination pair that can send or receive change sets? (Choose 2)


76. How can a developer determine, from the DescribeSObjectResult, if the current user will be able to create records for an object in Apex?


77. What is an important consideration when developing in a multi-tenant environment?


78. What is the value of x after the code segment executes?

String x = ‘A’;

Integer i = 10;

if ( i < 15 )

{i = 15; x = ‘B’;}

else if ( i < 20 ) {x = ‘C’;}

else {x = ‘D’; }


79. A developer has the following query:

Contact c = [SELECT id, firstname, lastname, email FROM Contact WHERE lastname = ‘Smith’];

What does the query return if there is no Contact with the last name ‘Smith’?


80. What is a capability of the Developer Console?


81. What is an accurate statement about variable scope? (Choose 3)


82. Which resource can be included in a Lightning Component bundle? Choose 2 answers


83. Where can the custom roll-up summary fields be created using Standard Object relationships? (Choose 3)


84. Which scenario is invalid for execution by unit tests?


Online Field Service Lightning Cloud Consultant Dumps - 100% Pass
Salesforce Certified Administrator ADM-201 Study Materials

Add a Comment

Your email address will not be published. Required fields are marked *