[Q62-Q82] テスト資料CRT-450テストエンジン試験問題はここにある[2023年10月]

Share

テスト資料CRT-450テストエンジン試験問題はここにある[2023年10月]

合格突破受験者シミュレーションされたCRT-450試験PDF問題を試そう

質問 # 62
Which code statement includes an Apex method named updateaccounts in the Class AccountCont rolles for use in a Lightning web component?

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

正解:A


質問 # 63
A developer needs to write a method that searches for a phone number that could be on multiple object types. Which method should the developer use to accomplish this task?

  • A. SOSL query on each object
  • B. SOSL Query that includes ALL ROWS
  • C. SOQL Query that includes ALL ROWS
  • D. SOQL query on each object

正解:B


質問 # 64
If apex code executes inside the execute() method of an Apex class when implementing the Batchable interface, which statement are true regarding governor limits? Choose 2 answers

  • A. The Apex governor limits cannot be exceeded due to the asynchronous nature of the transaction,
  • B. The Apex governor limits might be higher due to the asynchronous nature of the transaction. (Missed)
  • C. The apex governor limits are reset for each iteration of the execute() mrthod. (Missed)
  • D. The Apex governor limits are relaxed while calling the costructor of the Apex class.

正解:B、C


質問 # 65
A recursive transaction is initiated by a DML statement creating records for these two objects:
1. Accounts
2. Contacts
The Account trigger hits a stack depth of 16.
Which statement is true regarding the outcome of the transaction?

  • A. The transaction succeeds as long as the Contact trigger stack depth is less than 16.
  • B. The transaction fails only if the Contact trigger stack depth is greater or equal to 16.
  • C. The transaction succeeds and all changes are committed to the database.
  • D. The transaction fails and all the changes are rolled back.

正解:C


質問 # 66
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 limit exception when doing a bulk update
  • B. A null reference exception
  • C. A DML exception
  • D. A compile time exception

正解:C


質問 # 67
When a user edits the Postal Code on an Account, a custom Account text field named ''Timezone'' must be updated based on the values another custom object object called.
What is the optimal way to Implement this feature?

  • A. Create a formula field.
  • B. Build an account assignment rule.
  • C. Create an account approval process.
  • D. Build a flow with flow Builder.

正解:D


質問 # 68
Which two events need to happen when deploying to a production org? Choose 2 answers

  • A. All test and triggers must have at least 75% test coverage combined
  • B. All triggers must have at least 75% test coverage.
  • C. All Apex code must have at least 75% test coverage.
  • D. All triggers must have at least 1% test coverage.

正解:C、D


質問 # 69
As a part of class implementation a developer must execute a SOQL query against a large data ser based on the contact object. The method implementation is as follows.

Which two methods are best practice to implement heap size control for the above code? (Choose 2 Answers)

  • A. Use the FOR UPDATE option on the SOQL query to lock down the records retrieved.
  • B. Use visual keyword when declaring the retrieve variable.
  • C. Use WHERE clauses on the SOQL query to reduce the number of records retrieved.
  • D. Use a SOQL FOR loop, to chunk the result set in batches of 200 records.

正解:B、D


質問 # 70
Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application. One of the application modules allows the user to calculate body fat using the apex class, Bodyfat, and its method, calculateBodyfat(). The product owner wants to ensure this method is accessible by the consumer of the application when developing customizer outside the ISV's package namespace. Which approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?

  • A. Declare the class as public and use the public access modifier on the method.
  • B. Declare the class and method using the public access modifier.
  • C. Declare the class and method using the global access modifier.
  • D. Declare the class as public and use the global access modifier on the method.

正解:C


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

正解:C


質問 # 72
A developer needs to provide a way to mass edit, update, and delete records from a list view. In which two ways can this be accomplished? Choose 2 answers

  • A. Download a managed package from the AppExchange that provides customizable Enhanced List Views and buttons
  • B. Create a new Visualforce page and Apex Controller for the list view that provides mass edit, update and delete functionality.
  • C. Download an unmanaged package from the AppExchange that provide customizable mass edit, update, and delete functionality.
  • D. Configure the user interface and enable both inline editing and enhanced lists.

正解:B、C


質問 # 73
What are two considerations for deciding to use a roll-up summary field? Choose 2 answer's partner.

  • A. Roll-up summary can be performed on formula fields, but if their formula contains an #Error result, it may affect the summary value.
  • B. Roll-up summary fields do not cause validation rules on the parent object unless that object is edited separately.
  • C. Roll-up cannot be performed on formula fields.
  • D. Roll-up cannot be performed on formula fields that use cross-object references or on-the-fly calculations such as NOW().

正解:A、D


質問 # 74
A developer created these three Rollup Summary fields in the custom object, Project_ct,

The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project.
Which should the developer use to Implement the business requirement in order to minimize maintenance overhead?

  • A. Apex Trigger
  • B. Formula field
  • C. Record-triggered Flow
  • D. Process Builder

正解:B


質問 # 75
Universal Containers hires a developer to build a custom search page to help user- find the Accounts they want. Users will be able to search on Name, Description, and a custom comments field.
Which consideration should the developer be aware of when deciding between SOQL and SOSL?
Choose 2 answers

  • A. SOQL is able to return more records.
  • B. SOQL is faster for text searches.
  • C. SOSL is faster for tent searches.
  • D. SOSL is able to return more records.

正解:A、C


質問 # 76
Which collection type provides unique key/value pairings of data?

  • A. Map
  • B. Array
  • C. List
  • D. Set

正解:A


質問 # 77
As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted.
Which automation tool should be used to meet this business requirement?

  • A. Record-Triggered Flow
  • B. Scheduled job
  • C. Process Builder
  • D. Workflow Rules

正解:A


質問 # 78
What is a capability of the Force.com IDE? Choose 2 answers

  • A. Edit metadata components.
  • B. Download debug logs.
  • C. Roll back deployments.
  • D. Run Apex tests.

正解:A、D


質問 # 79
Which two settings must be defined in order to update a record of a junction object? Choose 2 answers

  • A. Read/Write access on the secondary relationship
  • B. Read/Write access on the primary relationship
  • C. Read/Write access on the junction object
  • D. Read access on the primary relationship

正解:A、B


質問 # 80
Which two queries can a developer use in a Visualforce controller to protect against SOQL injection vulnerabilities? Choose 2 answers

  • A. String qryName = % +String.enforceSecurityChecks(name)+ % ;
    String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ;
    List queryResults = Database.query(qryString);
  • B. String qryName = % + name % ;
    String qryString = SELECT Id FROM Contact WHERE Name LIKE:qryNAme ;
    List queryResults = Database.query(qryString);
  • C. String qryName = % + String.escapeSingleQuotes(name)+ % ;
    String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ;
    List queryResults = Database.query(qryString);
  • D. String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ; List queryResults = Database.query(qryString);

正解:B、C


質問 # 81
An org tracks customer orders on an Order object and the items of an Order on the Line Item object. The Line Item object has a MasterDetail relationship to the order object. A developer has a requirement to calculate the order amount on an Order and the line amount on each Line item based on quantity and price.
What is the correct implementation?

  • A. Write a single before trigger on the Line Item that calculates the item amount and updates the order amount on the Order.
  • B. Implement the Line amount as a currency field and the order amount as a SUM formula field.
  • C. Write a process on the Line item that calculates the item amount and order amount and updates the filed on the Line Item and the order.
  • D. Implement the line amount as a numeric formula field and the order amount as a roll-up summary field.

正解:B


質問 # 82
......

正真正銘で最適なCRT-450オンライン練習試験資料:https://www.jpntest.com/shiken/CRT-450-mondaishu

弊社を連絡する

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

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

サポート:現在連絡