CRT-450 Dumps CRT-450 Braindumps CRT-450 Real Questions CRT-450 Practice Test CRT-450 Actual Questions Salesforce CRT-450 Salesforce Certified Platform Developer I https://killexams.com/pass4sure/exam-detail/CRT-450 Question: 375 Which approach should be used to provide test data for a test class? A. Query for existing records in the database. B. Execute anonymous code blocks that create data. C. Use a test data factory class to create test data. D. Access data in @TestVisible class variables. Answer: C Question: 376 Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.) A. Number maps to Decimal. B. Number maps to Integer. C. TextArea maps to List of type String. D. Date/Time maps to Dateline. E. Checkbox maps to Boolean. Answer: A,D,E Question: 377 In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex? A. As a String with each value separated by a comma B. As a Set with each value as an element in the set C. As a String with each value separated by a semicolon D. As a List with each value as an element in the list Previous Answer: C Question: 378 Which type of information is provided by the Checkpoints tab in the Developer Console? (Choose 2) A. Namespace B. Time C. Exception D. Debug Statement Answer: A, B Question: 379 Which resource can be included in a Lightning Component bundle? Choose 2 answers A. Apex class B. Adobe Flash C. JavaScript D. Documentation Answer: C, D Question: 380 For which three items can a trace flag be configured? (Choose three.) A. Apex Trigger B. Apex Class C. Process Builder D. User E. Visualforce Answer: A,B,D Question: 381 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? A. A null reference exception B. A compile time exception C. A DML exception D. A limit exception when doing a bulk update Answer: C Question: 382 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.) A. Developer Sandbox B. Full Sandbox C. Developer Edition D. Partial Sandbox E. Developer Pro Sandbox Answer: B,D Question: 383 A developer encounters APEX heap limit errors in a trigger. Which two methods should the developer use to avoid this error? (Choose two.) A. Use the transient keyword when declaring variables. B. Query and store fields from the related object in a collection when updating related objects. C. Remove or set collections to null after use. D. Use SOQL for loops instead of assigning large queries results to a single collection and looping through the collection. Answer: A,D Question: 384 Which set of roll-up types are available when creating a roll-up summary field? A. COUNT, SUM, MIN, MAX B. AVERAGE, SUM, MIN, MAX C. SUM, MIN, MAX D. AVRAGE, COUNT, SUM, MIN, MAX Answer: A Question: 385 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? A. Use try/catch within the unit test to catch the exception. B. Use the finally bloc within the unit test to populate the exception. C. Use the database methods with all or none set to FALS E. Use Test.isRunningTest() within the custom controller. Answer: A Question: 386 A developer executes the following query in Apex to retrieve a list of contacts for each account: List accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ; Which two exceptions may occur when it executes? (Choose two.) A. CPU limit exception due to the complexity of the query. B. SOQL query row limit exception due to the number of contacts. C. SOQL query limit exception due to the number of contacts. D. SOQL query row limit exception due to the number of accounts. Answer: C,D Question: 387 How should a developer prevent a recursive trigger? A. Use a “one trigger per object” pattern. B. Use a static Boolean variable. C. Use a trigger handler. D. Use a private Boolean variable. Answer: D Question: 388 What is an accurate statement about variable scope? (Choose 3) A. Parallel blocks can use the same variable name. B. A variable can be defined at any point in a block. C. Sub-blocks cannot reuse a parent block’s variable name. D. Sub-blocks can reuse a parent block’s variable name if it’s value is null. E. A static variable can restrict the scope to the current block of its value is null. Answer: A, B, C Question: 389 In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex? A. As a List with each value as an element in the list B. As a String with each value separated by a comma C. As a String with each value separated by a semicolon D. As a Set with each value as an element in the set Answer: C Question: 390 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.) A. Make an outbound web services call to the SOAP AP C. Hardcode the ID as a constant in an Apex class. D. Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class. E. Execute a SOQL query on the RecordType object. Answer: C,D Question: 391 Which two platform features align to the Controller portion of MVC architecture? (Choose two.) A. Process Builder actions B. Workflow rules C. Standard objects D. Date fields Answer: A,B 6$03/( 48(67,216 7KHVH TXHVWLRQV DUH IRU GHPR SXUSRVH RQO\ )XOO YHUVLRQ LV XS WR GDWH DQG FRQWDLQV DFWXDO TXHVWLRQV DQG DQVZHUV .LOOH[DPV FRP LV DQ RQOLQH SODWIRUP WKDW RIIHUV D ZLGH UDQJH RI VHUYLFHV UHODWHG WR FHUWLILFDWLRQ H[DP SUHSDUDWLRQ 7KH SODWIRUP SURYLGHV DFWXDO TXHVWLRQV H[DP GXPSV DQG SUDFWLFH WHVWV WR KHOS LQGLYLGXDOV SUHSDUH IRU YDULRXV FHUWLILFDWLRQ H[DPV ZLWK FRQILGHQFH +HUH DUH VRPH NH\ IHDWXUHV DQG VHUYLFHV RIIHUHG E\ .LOOH[DPV FRP $FWXDO ([DP 4XHVWLRQV .LOOH[DPV FRP SURYLGHV DFWXDO H[DP TXHVWLRQV WKDW DUH H[SHULHQFHG LQ WHVW FHQWHUV 7KHVH TXHVWLRQV DUH XSGDWHG UHJXODUO\ WR HQVXUH WKH\ DUH XS WR GDWH DQG UHOHYDQW WR WKH ODWHVW H[DP V\OODEXV %\ VWXG\LQJ WKHVH DFWXDO TXHVWLRQV FDQGLGDWHV FDQ IDPLOLDUL]H WKHPVHOYHV ZLWK WKH FRQWHQW DQG IRUPDW RI WKH UHDO H[DP ([DP 'XPSV .LOOH[DPV FRP RIIHUV H[DP GXPSV LQ 3') IRUPDW 7KHVH GXPSV FRQWDLQ D FRPSUHKHQVLYH FROOHFWLRQ RI TXHVWLRQV DQG DQVZHUV WKDW FRYHU WKH H[DP WRSLFV %\ XVLQJ WKHVH GXPSV FDQGLGDWHV FDQ HQKDQFH WKHLU NQRZOHGJH DQG LPSURYH WKHLU FKDQFHV RI VXFFHVV LQ WKH FHUWLILFDWLRQ H[DP 3UDFWLFH 7HVWV .LOOH[DPV FRP SURYLGHV SUDFWLFH WHVWV WKURXJK WKHLU GHVNWRS 9&( H[DP VLPXODWRU DQG RQOLQH WHVW HQJLQH 7KHVH SUDFWLFH WHVWV VLPXODWH WKH UHDO H[DP HQYLURQPHQW DQG KHOS FDQGLGDWHV DVVHVV WKHLU UHDGLQHVV IRU WKH DFWXDO H[DP 7KH SUDFWLFH WHVWV FRYHU D ZLGH UDQJH RI TXHVWLRQV DQG HQDEOH FDQGLGDWHV WR LGHQWLI\ WKHLU VWUHQJWKV DQG ZHDNQHVVHV *XDUDQWHHG 6XFFHVV .LOOH[DPV FRP RIIHUV D VXFFHVV JXDUDQWHH ZLWK WKHLU H[DP GXPSV 7KH\ FODLP WKDW E\ XVLQJ WKHLU PDWHULDOV FDQGLGDWHV ZLOO SDVV WKHLU H[DPV RQ WKH ILUVW DWWHPSW RU WKH\ ZLOO UHIXQG WKH SXUFKDVH SULFH 7KLV JXDUDQWHH SURYLGHV DVVXUDQFH DQG FRQILGHQFH WR LQGLYLGXDOV SUHSDULQJ IRU FHUWLILFDWLRQ H[DPV 8SGDWHG &RQWHQW .LOOH[DPV FRP UHJXODUO\ XSGDWHV LWV TXHVWLRQ EDQN DQG H[DP GXPSV WR HQVXUH WKDW WKH\ DUH FXUUHQW DQG UHIOHFW WKH ODWHVW FKDQJHV LQ WKH H[DP V\OODEXV 7KLV KHOSV FDQGLGDWHV VWD\ XS WR GDWH ZLWK WKH H[DP FRQWHQW DQG LQFUHDVHV WKHLU FKDQFHV RI VXFFHVV 7HFKQLFDO 6XSSRUW .LOOH[DPV FRP SURYLGHV IUHH [ WHFKQLFDO VXSSRUW WR DVVLVW FDQGLGDWHV ZLWK DQ\ TXHULHV RU LVVXHV WKH\ PD\ HQFRXQWHU ZKLOH XVLQJ WKHLU VHUYLFHV 7KHLU FHUWLILHG H[SHUWV DUH DYDLODEOH WR SURYLGH JXLGDQFH DQG KHOS FDQGLGDWHV WKURXJKRXW WKHLU H[DP SUHSDUDWLRQ MRXUQH\ 'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU .LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG