2022年05月 Salesforce CRT-450実際にある問題と100%カバー率リアル試験問題 [Q101-Q119]

Share

2022年05月 Salesforce CRT-450実際にある問題と100%カバー率リアル試験問題

CRT-450無料試験問題と解答PDF最新問題2022年05月


Salesforce CRT-450 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • テストフレームワークと要件の説明
  • テストデータとテストの作成
  • テストの実行
  • テストの考慮事項
トピック 2
  • AWコンピューティングの概要
  • プラットフォーム開発者の概要1認定
トピック 3
  • ロジックとプロセスの自動化
  • 数式とロールアップの概要フィールドの操作
  • デバッグと展開ツール
トピック 4
  • Apexでの基本構造の操作
  • SOQLの操作、SOSLの操作、DMLの操作
トピック 5
  • Salesforceの基礎
  • データベースのモデリングと管理
  • データのモデリング、データの管理

 

質問 101
A developer writes the following code:

What is the result of the debug statement?

  • A. 2, 200
  • B. 1, 100
  • C. 2, 150
  • D. 1, 150

正解: C

 

質問 102
A developer needs to create an audit trail for records that are sent to the recycle bin. Which type of trigger is most appropriate to create?

  • A. Before undelete
  • B. Before delete
  • C. After delete
  • D. After undelete

正解: D

 

質問 103
A developer wants to override a button using Visualforce on an object.
What is the requirement?

  • A. The action attribute must be set to a controller method.
  • B. The controller or extension must have a PageReference method.
  • C. The object record must be instantiated in a controller or extension.
  • D. The standardController attribute must be set to the object.

正解: D

解説:
Explanation

 

質問 104
In the Lightning Component framework, where is client-side controller logic contained?

  • A. HTML
  • B. Apex
  • C. JavaScript
  • D. Visualforce

正解: C

 

質問 105
A visualforce interface is created for Case Management 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?

  • A. Controller=" myControllerExtension"
  • B. Extensions=" myControllerExtension"
  • C. StandardController = "case" and extensions =" myControllerExtension"
  • D. Controller = "case" and extensions =" myControllerExtension"

正解: C

 

質問 106
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 ==0);
  • D. myFooController m = new myFooController();System.assert(m.prop !=null);

正解: A

 

質問 107
What is an accurate constructor for a custom controller named "MyController"?

  • A. public MyController (List objects) { accounts = (List ) objects; }
  • B. public MyController () { account = new Account () ; }
  • C. public MyController (sObject obj) { account = (Account) obj; }
  • D. public MyController (ApexPages.StandardController stdController) { account = (Account) stdController.getRecord(); }

正解: B

 

質問 108
Which two describe Heroku Redis? Choose 2 answers.

  • A. Is provisioned and managed as an add-on.
  • B. Is a repository for storing large images.
  • C. Is an option for long-term data storage.
  • D. Is an in-memory key-value data store, run by Heroku.

正解: A,D

 

質問 109
Which data type or collection of data types can SOQL statements populate or evaluate to? (Choose 3)

  • A. A list of sObjects
  • B. A Boolean
  • C. A single sObject
  • D. A string
  • E. An integer

正解: A,C,E

 

質問 110
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. Insert pageRef;
  • B. Test.setCurrentPage(pageRef);
  • C. public ExtendedController(ApexPages.StandardController cntrl) { }
  • D. String nextPage = controller.save().getUrl();
  • E. ApexPages.currentPage().getParameters().put('Input', 'TestValue');

正解: B,D,E

 

質問 111
Universal Containers requires Service Representatives to update all Cases at least one every three days.
To make sure of this policy is obeyed, a developer has been asked to implement a field that displays the number of days since the last Case update. What should the developer use to configure the solution?

  • A. Scheduled Apex Class
  • B. Workflow rule
  • C. Process Builder
  • D. Formula field

正解: D

 

質問 112
A developer can use the debug log to see which three types of information? Choose 3 answers

  • A. Database changes
  • B. Resource usage and limits
  • C. Actions triggered by time-based workflow
  • D. User login events
  • E. HTTP callout to external systems

正解: A,C,E

 

質問 113
A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles. Which tool should they use to deploy to the sandbox?

  • A. Change Sets
  • B. Developer Console
  • C. VSCode
  • D. Ant Migration Tool

正解: D

 

質問 114
How many accounts will be inserted by the following block ofcode? for(Integer i = 0 ; i < 500; i++) { Account a = new Account(Name='New Account ' + i); insert a; }

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

正解: D

 

質問 115
Manage package can be created in which type of org?

  • A. Partial copy sandbox
  • B. Developer Edition
  • C. Unlimited edition
  • D. Developer sandbox

正解: B

 

質問 116
How should a developer avoid hitting the governor limits in test methods?

  • A. Use @TestVisibleon methods that create records.
  • B. Use Test.startTest()to reset governor limits.
  • C. Use @IsTest (SeeAllData=true)to use existing data.
  • D. Use Test.loadData()to load data from a static resource.

正解: B

 

質問 117
A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console:Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x
< 150; x++)
{Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;} catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount');How many accounts are in the org after this code is run?

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

正解: A

 

質問 118
An apex trigger fails because it exceeds governor limits. Which two techniques should a developer use to resolve the problem? Choose 2 answers

  • A. Use the database class to handle DML operations
  • B. Use SOQL aggregate queries to retrieve child records
  • C. Use maps to reference related records
  • D. Use lists for all DML operations

正解: C,D

 

質問 119
......

Salesforce CRT-450リアル2022年最新のブレーン問題集模擬試験問題集:https://www.jpntest.com/shiken/CRT-450-mondaishu

弊社を連絡する

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

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

サポート:現在連絡