[2023年最新] 最高のDEX-450試験問題集を使って実際の試験問題と解答を解こう [Q56-Q81]

Share

[2023年最新] 最高のDEX-450試験問題集を使って- 実際の試験問題と解答を解こう

テストエンジンを練習してDEX-450テスト問題

質問 # 56
Requirements state that a child record be to deleted when its parent is deleted, and a child can be moved to a different parent when necessary. Which type of relationship should be built between the parent and child objects in Schema Builder to support these requirements?

  • A. Child relationship
  • B. Lookup Relathionship from to parent to the child
  • C. Master-Detail relationship
  • D. Lookup Relathionship from to child to the parent

正解:C


質問 # 57
Which statement would a developer use when creating test data for products and pricebooks?

  • A. List objList = Test.loadData(Account.sObjectType, 'myResource');
  • B. Id pricebookId = Test.getStandardPricebookId();
  • C. IsTest(SeeAllData = false);
  • D. Pricebook pb = new Pricebook();

正解:B


質問 # 58
Which code displays the content of Visualforce page as PDF?

  • A. <apex:page readeras'' application/pdf''>
  • B. <apex:page readerAs= ''application/pdf''>
  • C. <apex:page contentype '' application/pdf'')
  • D. <apex:page renderAs="pdf">

正解:D


質問 # 59
A developer creates an Apex helper class to handle complex trigger logic. How can the helper class warn users when the trigger exceeds DML governor limits?

  • A. By using PageReference.setRedirect() to redirect the user to a custom Visualforce page before the number of DML statements is exceeded.
  • B. By using Messaging.sendEmail() to continue toe transaction and send an alert to the user after the number of DML statements is exceeded.
  • C. By using Limits.getDMLRows() and then displaying an error message before the number of DML statements is exceeded.
  • D. By using AmexMessage.Messages() to display an error message after the number of DML statements is exceeded.

正解:C


質問 # 60
What should a developer do to check the code coverage of a class after running all tests?

  • A. View the Code Coverage column in the view on the Apex Classes page.
  • B. Select and run the class on the Apex Test Execution page
  • C. View the Class test Coverage tab on the Apex Class record.
  • D. view the overall Code Coverage panel of the tab in the Developer Console.

正解:C


質問 # 61
When a user edits the Postal Code on an Account, a custom Account text field named ''Timezone'' must be updated based on the values in a postalCodeToTimezone_c custom object.
What should be built to implement this feature?

  • A. Account custom trigger
  • B. Account workflow rule
  • C. Account approval process
  • D. Account assignment rule

正解:A


質問 # 62
What are two valid options for iterating through each Account in the collection List<Account> named AccountList? (Choose two.)

  • A. for (Integer i=0; i < AccountList.Size(); i++) {...}
  • B. for(AccountList) {...}
  • C. for (List L : AccountList) {...}
  • D. for (Account theAccount : AccountList) {...}

正解:A、D


質問 # 63
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 page.
  • C. Override the Account's Edit button with Lightning Flow
  • D. Override the Account's Edit button with Lightning Action

正解:A


質問 # 64
For which three items can a trace flag be configured?
Choose 3 answers

  • A. Apex Trigger
  • B. User
  • C. Apex Class
  • D. Process Builder
  • E. Visualforce

正解:A、B、C


質問 # 65
A Visual Flow uses an apex Action to provide additional information about multiple Contacts, stored in a custom class, contactInfo. Which is the correct definition of the Apex method that gets additional information?

  • A. @InvocableMethod(Label='additional Info')
    public ContactInfo(Id contactId)
    { /*implementation*/ }
  • B. @invocableMethod(label)='Additional Info')
    public static List<ContactInfo> getInfo(List<Id> contactIds)
    { /*Implementation*/ }
  • C. @InvocableMethod(label='Additional Info')
    public List<ContactInfo> getInfo(List<Id> contactIds)
    { /*implementation*/ }
  • D. @InvocableMethod(label='additional Info')
    public static ContactInfo getInfo(Id contactId)
    { /*implementation*/ }

正解:B


質問 # 66
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 extends PaymentProcessor {
    public void pay(Decimal amount) {}
    }
  • B. Public class CheckPaymentProcessor implements PaymentProcessor {
    public void pay(Decimal amount) {}
    }
  • C. Public class CheckPaymentProcessor extends PaymentProcessor {
    public void pay(Decimal amount);
    }
  • D. Public class CheckPaymentProcessor implements PaymentProcessor {
    public void pay(Decimal amount);
    }

正解:D


質問 # 67
What should a developer use to implement an automate approval process submission for case?

  • A. An assignment rules.
  • B. Scheduled apex.
  • C. A workflow rules.
  • D. Process builder.

正解:D


質問 # 68
What is the easiest way to verify a user before showing them sensitive content?

  • A. Calling the Session.forcedLoginUrl method in apex.
  • B. Sending the user an Email message with a passcode.
  • C. Sending the user a SMS message with a passcode.
  • D. Calling the generateVerificationUrl method in apex.

正解:D


質問 # 69
A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system. Whithin the class, the developer identifies the following method as a security threat: List<Contact> performSearch(String lastName){ return Database.query('Select Id, FirstName, LastName FROM Contact WHERE LastName Like %'+lastName+'%); } What are two ways the developer can update the method to prevent a SOQL injection attack? Choose 2 answers

  • A. Use the escapeSingleQuote method to sanitize the parameter before its use.
  • B. Use a regular expression on the parameter to remove special characters.
  • C. Use the @Readonly annotation and the with sharing keyword on the class.
  • D. Use variable binding and replace the dynamic query with a static SOQL.

正解:A、D


質問 # 70
The orderHelper class is a utility class that contains business logic for processing orders. Consider the following code snippet:
A developer needs to create a constant named DELIVERY_MULTIFILTER with a value of 4.15. The value of the constant should not change at any time in the code.
How should the developer declare the DELIVERY_MULTIFILTER constant to meet the business objectives?

  • A. Constant decimal DELIVERY_MULTIFILTER = 4.15;
  • B. Static decimal DELIVERY_MULTIFILTER = 4.15;
  • C. Static final decimal DELIVERY_MULTIFILTER = 4.15;
  • D. Decimal DELIVERY_MULTIFILTER = 4.15;

正解:C


質問 # 71
What are three considerations when using the @InvocableMethod annotation in Apex?
Choose 3 answers

  • A. A method using the @InvocableMethod annotation can have multiple input parameters.
  • B. A method using the @InvocableMethod annotation must define a return value.
  • C. A method using the @InvocableMethod annotation must be declared as static
  • D. Only one method using the @InvocableMethod annotqation can be defined per Apex class.
  • E. A method using the @InvocableMethod annotation can be declared as Public or Global.

正解:C、D、E


質問 # 72
which statement is true regarding execution order when triggers are associated to the same object and event?

  • A. Triggers are executed alphabetically by trigger name.
  • B. Triggers are executed in the order they are created.
  • C. executed In the order they are modified.
  • D. Trigger execution order cannot be guaranteed.

正解:D


質問 # 73
On which object can an administrator create a roll-up summary field?

  • A. Any object that is on the parent side of a lookup relationship.
  • B. Any object that is on the child side of a lookup relationship.
  • C. Any object that is on the detail side of a master-detail relationship.
  • D. Any object that is on the master side of a master-detail relationship.

正解:D


質問 # 74
Given the following trigger implementation:
trigger leadTrigger on Lead (before update){
final ID BUSINESS_RECORDTYPEID = '012500000009Qad';
for(Lead thisLead : Trigger.new){
if(thisLead.Company != null && thisLead.RecordTypeId != BUSINESS_RECORDTYPEID){ thisLead.RecordTypeId = BUSINESS_RECORDTYPEID;
}
}
}
The developer receives deployment errors every time a deployment is attempted from Sandbox to Production.
What should the developer do to ensure a successful deployment?

  • A. Ensure BUSINESS_RECORDTYPEID is retrieved using Schema.Describe calls.
  • B. Ensure the deployment is validated by a System Admin user on Production.
  • C. Ensure a record type with an ID of BUSINESS_RECORDTYPEID exists on Production prior to deployment.
  • D. Ensure BUSINESS_RECORDTYPEID is pushed as part of the deployment components.

正解:C


質問 # 75
A developer needs an Apex method that can process Account or Contact records. Which method signature should the developer use?

  • A. Public void doWork(Account Contact)
  • B. Public void doWork(sObject theRecord)
  • C. Public void doWork(Record theRecord)
  • D. Public void doWork(Account || Contatc)

正解:B


質問 # 76
A company would like to send an offer letter to a candidate, have the candidate sign it electronically, and then send the letter back.What can a developer do to accomplish this?

  • A. Develop a Process Builder that will send the offer letter and allow the candidate to sign it electronically.
  • B. Create an assignment rule that will assign the offer letter to the candidate
  • C. Create a visual workflow that will capture the candidate's signature electronically
  • D. Install a managed package that will allow the candidate to sign documents electronically

正解:D


質問 # 77
A developer must create a Lightning component that allows user to input Contact record information to create a Contact record, including a Salary__c custom field. What should the developer use, along with a lightning-record-edit-form, so that Salary__c field functions as a currency input and is only viewable and editable by users that have the correct field level permissions on Salary__c?

  • A. <ligthning-input-field field-name="Salary__c">
    </lightning-input-field>
  • B. <lightning-input-currency value="Salary__c">
    </lightning-input-currency>
  • C. <lightning-input type="number" value="Salary__c" formatter="currency">
    </lightning-input>
  • D. <lightning-formatted-number value="Salary__c" format-style="currency">
    </lightning-formatted-number>

正解:A


質問 # 78
What can be developed using the Lightning Component framework?

  • A. Single-page web apps
  • B. Hosted web applications
  • C. Salesforce integrations
  • D. Dynamic web sites

正解:A


質問 # 79
Which three options allow a developer to use custom styling in a Visualforce page? (Choose three.)

  • A. <apex:stylesheet> tag
  • B. <apex:stylesheets>tag
  • C. <apex:style>tag
  • D. A static resource
  • E. Inline CSS

正解:A、D、E


質問 # 80
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 customizations 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 global access modifier on the method.
  • B. Declare the class and method using the global access modifier.
  • C. Declare the class as global and use the public access modifier on the method.
  • D. Declare the class and method using the public access modifier.

正解:B


質問 # 81
......


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

トピック出題範囲
トピック 1
  • Salesforceのクエリ言語であるSOQL
  • Write Apexを使用して基本的なクエリを記述し、DML操作を呼び出してDMLエラーを処理します
トピック 2
  • 保守と拡張が容易なコードを記述するためのプラクティスを説明する
  • データのバッチを入力として想定するトリガーとクラスを書き込む
トピック 3
  • トリガー定義の構文を説明する
  • Visualforceページのレコードからデータを表示する
トピック 4
  • 子と親および親と子の関係をトラバースするクエリを作成します
  • ロールアップサマリーフィールドの作成
トピック 5
  • 一般的な制限の問題とセキュリティ上の懸念を説明する
  • カスタムボタンを使用してVisualforceページを起動する
トピック 6
  • Visualforce開発の考慮事項とテスト
  • Apexクラスがアクセスできるデータを決定する
トピック 7
  • 静的属性のメモリライフサイクルを説明する
  • 即時エラーログにプラットフォームイベントを使用する


Salesforce DEX-450試験は、Lightning ExperienceでApexおよびVisualforceを使用するプログラマティック開発認定試験です。Salesforceプラットフォーム上でカスタムアプリケーションおよび統合を構築する専門知識を証明したい開発者向けに設計されています。この試験では、Apexプログラミング言語、Visualforceフレームワーク、およびLightningコンポーネントなど、さまざまなトピックがカバーされます。

 

DEX-450実際の問題アンサーPDFには100%カバー率リアルな試験問題:https://jp.fast2test.com/DEX-450-premium-file.html

DEX-450リアルな試験問題テストエンジン問題集トレーニング151問題:https://drive.google.com/open?id=1nSMYpJdWQzAJyxOjUTkxAoKzYu6zEQ45


弊社を連絡する

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

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어