[2025年06月] を試そう!リアルCRT-450問題集で100%無料CRT-450試験問題集 [Q57-Q75]

Share

[2025年06月] を試そう!リアルCRT-450問題集で100%無料CRT-450試験問題集

CRT-450のPDF問題集試験問題 有効なCRT-450問題集

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

正解:D


質問 # 58
Universal Containers decides to use exclusively declarative development to build out a new Salesforce application. Which three options should be used to build out the database layer for the application? Choose 3 answers

  • A. Triggers
  • B. Custom Objects and Fields
  • C. Roll-Up Summaries
  • D. Relationships
  • E. Process Builder

正解:C、D、E


質問 # 59
Which three operations affect the number of times a trigger can fire?
Choose 3 answers

  • A. Workflow Rules
  • B. Process Flows
  • C. Roll-Up Summary fields
  • D. Email messages
  • E. Criteria-based Sharing calculations

正解:A、B、C

解説:
The number of times a trigger can fire depends on the number of records that are processed and the number of DML operations that are performed. Some operations can cause the trigger to fire multiple times, either by updating the same records or by updating related records. These operations include:
* Process Flows: A process flow is a declarative tool that can automate complex business processes by executing actions based on criteria. A process flow can update the same record that triggered it, or a related record, which can cause the trigger to fire again1.
* Workflow Rules: A workflow rule is a declarative tool that can automate tasks and field updates based on criteria. A workflow rule can update the same record that triggered it, or a related record, which can cause the trigger to fire again2.
* Roll-Up Summary fields: A roll-up summary field is a custom field that aggregates child record information into a parent record. A roll-up summary field can update the parent record when a child record is inserted, updated, deleted, or undeleted, which can cause the trigger to fire again3.
The other options do not affect the number of times a trigger can fire. Criteria-based sharing calculations and email messages do not update records or cause DML operations. References:
* Process Automation | Salesforce Help
* Workflow Rules | Salesforce Help
* Roll-Up Summary Fields | Salesforce Help


質問 # 60
Which two statements can a developer use to throw a custom exception of type MissingFieldValueException?
Choose 2 answers.

  • A. Throw new MissingFieldValueException();
  • B. Throw (MissingFieldValueException, 'Problem occurred');
  • C. Throw new MissingFieldValueException ('Problem occurred');
  • D. Throw Exception (new MissingFieldValueException());

正解:A、C


質問 # 61
A developer must build application that tracks which Accounts have purchase specific pieces of equal products. Each Account could purchase many pieces of equipment.
How should the developer track that an Account has purchased a piece of equipment.

  • A. Use a Master-Detail on Product to Account
  • B. Use a Lookup on Account to product.
  • C. Use the Asset object.
  • D. Use a Custom object.

正解:A


質問 # 62
Given the following code snippet, that is part of a custom controller for a Visualforce page:

In which two ways can the try/catchbe enclosed to enforce object-level permissions and prevent the DML statement from being executed if the current logged-in user does not have the appropriate level of access to the object? (Choose two.)

  • A. Use if(Schema.sObjectType.Contact.isUpdateable())
  • B. Use if(Schema.sObjectType.Contact.fields.Is_Active__c.isUpdateable())
  • C. Use if(thisContact.OwnerId == User.Info.getUserId())
  • D. Use if(Schema.sObjectType.Contact.isAccessible())

正解:A、B


質問 # 63
Which action can a developer take to reduce the execution time of the following code? List<account> allaccounts = [select id from account]; list<account> allcontacts = [select id, accountid from contact]; for (account a :allaccounts){ for (contact c:allcontacts){ if(c.accountid = a.id){ //do work } } }

  • A. Use a map <id,contact> for allaccounts
  • B. Add a group by clause to the contact SOQL
  • C. Create an apex helper class for the SOQL
  • D. Put the account loop inside the contact loop

正解:A


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

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

正解:A、D、E


質問 # 65
How should a developer write unit tests for a private method in an Apex class?

  • A. Use the @TestVisible annotation.
  • B. Mark the Apex class as global.
  • C. Add a test method in the Apex class.
  • D. Use the SeeAllData annotation.

正解:A


質問 # 66
Universal Containers decides to use purely declarative development to build out a new Salesforce application.
Which three options can be used to build out the business logic layer for this application?
Choose 3 answers

  • A. Process builder
  • B. Validation Rules
  • C. Flow Builder

正解:A、B、C


質問 # 67
What are two uses for External IDs? (Choose two.)

  • A. To prevent an import from creating duplicate records using Upsert
  • B. To create relationships between records imported from an external system.
  • C. To identify the sObject type in Salesforce
  • D. To create a record in a development environment with the same Salesforce ID as in another environment

正解:A、B


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

正解:D


質問 # 69
Universal Containers recently transitioned from Classic to Lighting Experience. One of its business processes requires certain value from the opportunity object to be sent via HTTP REST callout to its external order management system based on a user-initiated action on the opportunity page. Example values are as follow Name Amount Account Which two methods should the developer implement to fulfill the business requirement? (Choose 2 answers)

  • A. Create a Visualforce page that performs the HTTP REST callout, and use a Visualforce quick action to expose the component on the Opportunity detail page.
  • B. Create an after update trigger on the Opportunity object that calls a helper method using @Future(Callout=true) to perform the HTTP REST callout.
  • C. Create a Lightning component that performs the HTTP REST callout, and use a Lightning Action to expose the component on the Opportunity detail page.
  • D. Create a Process Builder on the Opportunity object that executes an Apex immediate action to perform the HTTP REST callout whenever the Opportunity is updated.

正解:B、C


質問 # 70
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. CPU limit exception due to the complexity of the query.
  • C. SOQL query limit exception due to the number of contacts.
  • D. SOQL query row limit exception due to the number of contacts.

正解:A、C


質問 # 71
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

正解:A


質問 # 72
Universal Containers has developed custom Apex code and Lightning Components in a Sandbox environment.
They need to deploy the code and associated configurations to the Production environment.
What is the recommended process for deploying the code and configurations to Production?

  • A. Use a change set to deploy the Apex code and Lightning Components.
  • B. Use Salesforce CLI to deploy the Apex code and Lightning Components.
  • C. Use the Force.com IDE to deploy the Apex code and Lightning Components.
  • D. Use the Ant Migration Tool to deploy the Apex code and Lightning Components.

正解:B

解説:
Salesforce CLI is a command-line interface that allows developers to create, test, and deploy code and configurations to any Salesforce environment1. Salesforce CLI is the recommended tool for deploying custom Apex code and Lightning Components, as it provides more flexibility, control, and automation than other deployment methods2. Salesforce CLI can also integrate with source control systems, such as Git, to enable version control and collaboration among developers3. Using a change set is another option to deploy code and configurations from one Salesforce org to another, but it has some limitations, such as requiring a deployment connection, not supporting all metadata types, and not allowing selective deployment of components4. Using the Force.com IDE or the Ant Migration Tool are also possible ways to deploy code and configurations, but they are less user-friendly and require more manual steps than Salesforce CLI5 . References:
* Salesforce CLI | Salesforce Developer Tools
* Deploy Your Code with Salesforce CLI | Salesforce Trailhead
* Manage Projects with Salesforce DX | Salesforce Trailhead
* Change Sets | Salesforce Trailhead
* Force.com IDE | Salesforce Developer Tools
* [Ant Migration Tool | Salesforce Developer Tools]


質問 # 73
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 System.debug() statement before the insert method
  • B. Set the second insert method parameter to TRUE
  • C. Collect the insert method return value a Saveresult variable
  • D. Add a try/catch around the insert method

正解:D


質問 # 74
Which annotation exposes an Apex class as a RESTful web service?

  • A. @Remote Action
  • B. @RestResource
  • C. @AuraEnabled
  • D. @Httplnvocable

正解:C


質問 # 75
......

究極のCRT-450無料準備ガイド最新のSalesforce練習テスト問題集:https://jp.fast2test.com/CRT-450-premium-file.html

今すぐゲットせよ!高評価Salesforce CRT-450試験問題集:https://drive.google.com/open?id=1UcAg-GWhupGAR4UPUUDb_-6s93pUauGa


弊社を連絡する

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

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

サポート: 現在連絡 

English Deutsch 繁体中文 한국어