試験問題と解答はCRT-450学習ガイド問題を試そう! [Q51-Q70]

Share

試験問題と解答はCRT-450学習ガイド問題を試そう!

Salesforce Certified Platform Developer I認証サンプル問題と練習試験合格させます


Salesforce CRT-450認定試験を受験するには、データモデリングと管理、セキュリティ、およびユーザーインターフェースを含むSalesforceのコンセプトについて確固たる理解が必要です。さらに、候補者はApexプログラミングの経験があり、効率的でスケーラブル、メンテナンス可能なコードを書く能力を持っている必要があります。試験は、データ操作、SOQLおよびSOSL、Apexトリガーおよびクラス、Visualforceページおよびコントローラ、およびLightningコンポーネントなど、幅広いトピックをカバーしています。Salesforce CRT-450試験に合格することは、開発者がSalesforce開発において強力な基盤を持ち、ビジネス要件を満たすカスタムアプリケーションを構築する能力を持っていることを示しています。

 

質問 # 51
What actions types should be configured to display a custom success message?

  • A. Post a feed item.
  • B. Close a case.
  • C. Delete a record.
  • D. Update a record.

正解:D


質問 # 52
A developer needs to create a custom visualforce button for the opportunity object page layout that will cause a web service to be called and redirect the user to a new page when clicked. Which three attributes need to be defined in the <apx:page> tag of the visualforce page to enable this functionality?

  • A. Extensions
  • B. Readonly
  • C. Renderas
  • D. Standardcontroller
  • E. AcTion

正解:A、D、E


質問 # 53
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.)

  • A. SOQL query row limit exception due to the number of accounts.
  • B. SOQL query row limit exception due to the number of contacts.
  • C. CPU limit exception due to the complexity of the query.
  • D. SOQL query limit exception due to the number of contacts.

正解:A、D


質問 # 54
A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what defined for payments in the PaymentProcessor interface. public interface PaymentProcessor { void pay(Decimal amount); } Which is the correct implementation to use the PaymentProcessor interface class?

  • A. Public class CheckPaymentProcessor implements PaymentProcessor {
    public void pay(Decimal amount) {}
    }
  • B. Public class CheckPaymentProcessor extends PaymentProcessor {
    public void pay(Decimal amount) {}
    }
  • C. Public class CheckPaymentProcessor implements PaymentProcessor {
    public void pay(Decimal amount);
    }
  • D. Public class CheckPaymentProcessor extends PaymentProcessor {
    public void pay(Decimal amount);
    }

正解:C


質問 # 55
A developer needs to find information about @future methods that were invoked. From which system monitoring feature can the developer see this information?

  • A. Scheduled jobs
  • B. Asynchronous Jobs
  • C. Apex Jobs
  • D. Background Jobs

正解:C


質問 # 56
Application Events follow the traditional publish-subscribe model.
Which method is used to fire an event?

  • A. fire()
  • B. registerEvent()
  • C. fireEvent()
  • D. emit()

正解:A


質問 # 57
A developer created a Lightning web component called statusComponent to be inserted into the Account record page.
Which two things should the developer do to make the component available?

  • A. Add<target> Lightning_RecordPage </target> to the statusComponent.js file.
  • B. Add <target> lighting _RecordPage </target> to the statusComponent.js-meta ml file.
  • C. Add <isExposed> true</isExposed> to the statusComponent.js-meta ml file.
  • D. Add < masterLabel>Account</master Label> to the statusComponent.js-meta ml file.

正解:B、C


質問 # 58
A developer considers the following snippet of code: Boolean isOK; integer x; String theString = 'Hello'; if (isOK == false && theString == 'Hello') { x = 1; } else if (isOK == true && theString =='Hello') { x = 2;
} else if (isOK != null && theString == 'Hello') { x = 3; } else { x = 4; } Based on this code, what is the value of x?

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

正解:A


質問 # 59
A developer writes the following code:

What is the result of the debug statement?

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

正解:C


質問 # 60
Which two number expression evaluate correctly? Choose 2 answers

  • A. Integer I = 3.14159;
  • B. Decimal D = 3.14159;
  • C. Double D =3.14159;
  • D. Long I = 3.14159;

正解:B、C


質問 # 61
Which declarative method helps ensure quality data? (Choose 3)

  • A. Workflow alerts
  • B. Lookup Filters
  • C. Page Layouts
  • D. Exception Handling
  • E. Validation Rules

正解:B、C、E


質問 # 62
An Apex method, getAccounts, that returns a List of Accounts given a searchTerm, is available for Lightning Web components to use.
What is the correct definition of a Lightning Web component property that uses the getAccountsmethod?

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

正解:A


質問 # 63
Which statement should a developer avoid using inside procedural loops? (Choose 2)

  • A. If(o.accountId == a.id)
  • B. List contacts = [SELECT Id, Salutation, FirstName, LastName, Email FROM Contact WHERE AccountId =
    :a.Id];
  • C. Update contactList;
  • D. System.debug('Amount of CPU time (in ms) used so far: ' + Limits.getCpuTime() );

正解:B、C


質問 # 64
A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered to help debug the issue?

  • A. Add a try/catch around the insert method
  • B. Set the second insert method parameter to TRUE
  • C. Add a System.debug() statement before the insert method
  • D. Collect the insert method return value a Saveresult variable

正解:A


質問 # 65
A developer observes that an Apex test method fails in the Sandbox. To identify the issue, the developer copies the code inside the test method and executes it via the Execute Anonymous tool in the Developer Console. The code then executes with no exceptions or errors. Why did the test method fail in the sandbox and pass in the Developer Console?

  • A. The test method does not use System.runAs to execute as a specific user.
  • B. The test method has a syntax error in the code.
  • C. The test method is calling an @future method.
  • D. The test method relies on existing data in the sandbox.

正解:D


質問 # 66
Which tag should a developer include when styling from external CSS is required in a Visualforce page?

  • A. Apex : require
  • B. Apex : includeStyle
  • C. Apex : stylesheet
  • D. Apex : includeScript

正解:C


質問 # 67
What is the order of operations when a record is saved in Salesforce?

  • A. Triggers, workflow, process flows, commit
  • B. Workflow, process flows, triggers, commit
  • C. Process flows, triggers, workflow, commit
  • D. Workflow, triggers, process flows, commit

正解:A


質問 # 68
A developer needs to update an unrelated object when a record gets saved.
Which two trigger types should the developer create? (Choose two.)

  • A. after update
  • B. before update
  • C. before insert
  • D. after insert

正解:B、C


質問 # 69
A developer is creating a Lightning web component to showa list of sales records.
The Sales Representative user should be able to see the commission field on each record. The Sales Assistant user should be able to see all fields on the record except the commission field.
How should this be enforced so that the component works for both users without showing any errors?

  • A. Use WITH SECURITY_ENFORCED in the SOQL that fetches the data for the component.
  • B. Use Security. stripInaccessible to remove fields inaccessible to the current user.
  • C. Use Lightning Data Service to get the collection of sales records.
  • D. Use Lightning Locker Service to enforce sharing rules and field-level security.

正解:B


質問 # 70
......

CRT-450認証問題集Salesforce Developers CRT-450ガイド 100%有効:https://www.jpntest.com/shiken/CRT-450-mondaishu

弊社を連絡する

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

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

サポート:現在連絡