[2022年03月25日] 完全版最新の問題集でPDFで最新CRT-450試験問題と解答 [Q210-Q227]

Share

[2022年03月25日] 完全版最新の問題集でPDFで最新CRT-450試験問題と解答

無料で使えるCRT-450試験問題集で100%合格できる試験簡単に合格させるJPNTest

質問 210
A developer must create a DrawListclass that provides capabilities defined in the Sortableand Drawable interfaces.

Which is the correct implementation?

  • A.
  • B.
  • C.
  • D.

正解: B

解説:
Explanation/Reference:

 

質問 211
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?

  • A. Create a Workflow rule on the Opportunity object that updates a field on the parent Account.
  • B. Create a formula field on the Account object that performs a MAX on the Opportunity Close Date field.
  • C. Create a roll-up summary field on the Account object that performs a MAX on the Opportunity Close Date field.
  • D. Create a trigger on the Account object that queries the Close Date of the most recent Opportunities.

正解: C

 

質問 212
What is the return data type when ApexPages.currentPage().getParameters() is used to retrieve URL parameters from a visualforce controller?

  • A. List
  • B. String[]
  • C. Enum
  • D. Map

正解: D

 

質問 213
Given the code below, which three statements can be used to create the controller variable? Public class accountlistcontroller{ public list<account>getaccounts(){ return controller.getrecords(); } } Choose 3 answers

  • A. Apexpages.standardsetcontroller controller = new apexpages.standardsetcontroller (database.getquerylocator([select id from account]));
  • B. Apexpages.standardsetcontroller controller = new apexpages.standardsetcontroller (database.query('select id from account'));
  • C. Apexpages.standardsetcontroller controller=new
    apexpages.standardsetcontroller(database.getquerylocator('select id from account'));
  • D. Apexpages.standardcontroller controller= new apexpages.standardcontroller([select id from account]);
  • E. Apexpages.standardcontroller controller= new
    apexpages.standardcontroller(database.getquerylocator('select id from account'));

正解: A,B,D

 

質問 214
An Apex transaction inserts 100 Account records and 2,000 Contact records before encountering a DML exception when attempting to insert 500 Opportunity records. The Account records are inserted by calling the database.insert() method with the allOrNone argument set to false. The Contact and Opportunity records are inserted using the standalone insert statement. How many total records will be committed to the database in this transaction?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

正解: A

 

質問 215
What is a valid way of loading external JavaScript files into a Visualforce page? (Choose 2)

  • A. Using an (apex:includeScript)* tag. \>
  • B. Using an (apex:define)* tag.
  • C. Using a (link)* tag.
  • D. Using a (script)* tag.

正解: A,D

 

質問 216
Which actions can a developer perform using the Schema Builder?Choose 2 answers

  • A. Create a custom object and define a lookup relationship on that object
  • B. Create a view containing only standard and system objects.
  • C. Create a custom field and automatically add it to an existing page layout.
  • D. Create a view of objects and relationships without fields

正解: A,B

 

質問 217
A Platform Developer needs to implement a declarative solution that will display the most recent Closed Won date for all Opportunity records associated with an Account.
Which field is required to achieve this declaratively?

  • A. Cross-object formula field on the Opportunity object
  • B. Cross-object formula field on the Account object
  • C. Roll-up summary field on the Account object
  • D. Roll-up summary field on the Opportunity object

正解: C

 

質問 218
What declarative method helps ensure quality data? Choose 3 answers

  • A. Page layouts
  • B. Exception handling
  • C. Workflow alerts
  • D. Validation rules
  • E. Lookup filters

正解: A,D,E

 

質問 219
A developer has the controller class below.

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

  • A. myFooController m = new myFooController();System.assert(m.prop ==null);
  • B. myFooController m = new myFooController();System.assert(m.prop ==1);
  • C. myFooController m = new myFooController();System.assert(m.prop !=null);
  • D. myFooController m = new myFooController();System.assert(m.prop ==0);

正解: A

 

質問 220
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?

  • A. Before Trigger execution.
  • B. Before Committing to database.
  • C. After Committing to database.
  • D. After Trigger execution.

正解: C

 

質問 221
A developer has a Visualforce page and custom controller to save Account records. The developer wants to display any validation rule violation to the user. How can the developer make sure that validation rule violations are displayed?

  • A. Include <apex:message> on the Visualforce page.
  • B. Use a try/catch with a custom exception class.
  • C. Add cuatom controller attributes to display the message.
  • D. Perform the DML using the Database.upsert() method.

正解: A

 

質問 222
A team of developers is working on a source-driven project that allows them to work independently, with many different org configurations. Which type of Salesforce orgs should they use for their development?

  • A. Scratch orgs
  • B. Developer sandboxes
  • C. Developer orgs
  • D. Full Copy sandboxes

正解: A

 

質問 223
A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.
Which three statements are useful inside the unit test to effectively test the custom controller? (Choose three.)

  • A. Test.setCurrentPage(pageRef);
  • B. ApexPages.currentPage().getParameters().put('Input', 'TestValue');
  • C. Insert pageRef;
  • D. public ExtendedController(ApexPages.StandardController cntrl) { }
  • E. String nextPage = controller.save().getUrl();

正解: A,B,E

 

質問 224
To which data type in Apex a currency field automatically assigned?

  • A. Currency
  • B. Decimal
  • C. Integer
  • D. Double

正解: B

 

質問 225
Opportunity opp=[select id ,stagename from opportunity limit 1] Given the code above, how can a developer get the label for the stagename field?

  • A. Call"opportunity.stagename.getdescribe().getlabel()"
  • B. Call"opp.stagename.getdescribe().getlabel()"
  • C. Call "opportunity.stagename.label"
  • D. Call"opp.stagename.label"

正解: A

 

質問 226
How should a custom user interface be provided when a user edits an Account in Lightning Experience?

  • A. Override the Account's Edit button with Lightning component.
  • B. Override the Account's Edit button with Lightning Flow
  • C. Override the Account's Edit button with Lightning page.
  • D. Override the Account's Edit button with Lightning Action

正解: A

 

質問 227
......

無料で試せるCRT-450試験問題CRT-450実際の無料試験問題:https://www.jpntest.com/shiken/CRT-450-mondaishu

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡