CRT-450試験問題集合格させるのは2026年最新の認証済み試験問題 [Q113-Q138]

Share

CRT-450試験問題集合格させるのは2026年最新の認証済み試験問題

CRT-450試験問題でリアルに更新された問題PDF


Salesforce CRT-450認定は、Salesforceプラットフォーム上でカスタムアプリケーションを構築する開発者の専門知識を世界的に認めるものです。これは、開発者が求職市場で目立ち、キャリアを進めることを手助けします。さらに、Salesforceの認定を取得することで、より高い給与やより良い就職機会につながることがあります。全体として、CRT-450試験は、スキルを証明し、Salesforceエコシステムへの取り組みを証明したい開発者にとって貴重な投資です。

 

質問 # 113
A software company is using Salesforce to track the companies they sell their software to in the Account object. They also use Salesforce to track bugs in their software with a custom object, Bug__c.
As part of a process improvement initiative, they want to be able to report on which companies have reported which bugs. Each company should be able t report multiple bugs and bugs can also be reported by multiple companies.
What is needed to allow this reporting?

  • A. Lookup field on Bug__c to Account
  • B. Junction object between Bug__c and Account
  • C. Master-detail field on Bug__c to Account
  • D. Roll-up summary field of Bug__c on Account

正解:B

解説:
To allow reporting on which companies have reported which bugs, a junction object between Bug__c and Account is needed. A junction object is a custom object with two master-detail relationships, one to each of the objects it is joining. A junction object allows many-to-many relationships between objects, such as Bug__c and Account in this scenario. With a junction object, each bug can be related to multiple accounts, and each account can be related to multiple bugs. A roll-up summary field, a lookup field, or a master-detail field would not allow this kind of relationship, as they only support one-to-many or one-to-one relationships between objects. References:
* Define Relationships Between Custom Objects (Trailhead Module)
* Relationships Among Objects (Salesforce Developer Documentation)
* Free Salesforce Platform Developer 1 Practice Exam (With Answers) (Salesforce Ben)


質問 # 114
What writing an Apex class, a developer warts to make sure thai all functionality being developed Is handled as specified by the requirements.
Which approach should the developer use to be sure that the Apex class is working according tospecification?

  • A. Include a savepoint and Database,rollback.
  • B. Create a test class to execute the business logic and run the test in the Developer Console.
  • C. Include a try/catch block to the Apex class.
  • D. Run the code in an Execute Anonymous block n the Deceloper Consider.

正解:B


質問 # 115
What is the result of the following code?

  • A. The record will be created and no error will be reported.
  • B. The record will not be created and no error will be reported.
  • C. The record will not be created and a exception will be thrown.
  • D. The record will be created and a message will be in the debug log.

正解:C

解説:
The result of the following code is that the record will not be created and an exception will be thrown. This is because the code is trying to insert a record with a null value for a required field, which violates the database constraints and causes a DMLException1. The code does not handle the exception with a try-catch block, so the exception will propagate to the caller and terminate the execution2. The debug log will show the exception message and stack trace, but the record will not be inserted in the database.
Java
Account a = new Account();
a.Name = null;
insert a;
AI-generated code. Review and use carefully. More info on FAQ.
The other options are incorrect. Option B is incorrect because the record will not be created and the debug log will show an exception, not a message. Option C is incorrect because the record will not be created and an error will be reported as an exception. Option D is incorrect because the record will not be created and an error will be reported as an exception. References:
* DMLException Class | Apex Developer Guide | Salesforce Developers
* Exception Handling | Apex Developer Guide | Salesforce Developers


質問 # 116
When importing and exporting data into Salesforce, which two statements are true?
Choose 2 answers

  • A. Data import wizard is a client application provided by Salesforce.
  • B. Developer and Developer Pro sandboxes have different storage limits.
  • C. Bulk API can be used to import large data volumes in development environments without bypassing the storage limits.
  • D. Bulk API can be used to bypass the storage limits when importing large data volumes in development environments.

正解:B、C

解説:
* Bulk API is a RESTful API that allows you to load or delete large sets of data in Salesforce. It does not bypass the storage limits of your environment, but it can handle more records and run faster than other APIs12. Bulk API is useful for development, testing, and integration scenarios.
* Developer and Developer Pro sandboxes are two types of sandboxes that you can use to create and test applications in Salesforce. They have different storage limits and refresh intervals. Developer sandboxes have a 200 MB data storage limit and can be refreshed once per day. Developer Pro sandboxes have a 1 GB data storage limit and can be refreshed once every 5 days3 .
* Data import wizard is a web-based tool that you can use to import or update up to 50,000 records in Salesforce. It is not a client application, but a feature that is available in the Setup menu of Salesforce .
References:
* 1: Bulk API Developer Guide
* 2: Cert Prep: Platform Developer I: Data Modeling and Management
* 3: Sandbox Types and Templates
* : Cert Prep: Platform Developer I: Testing and Debugging
* : [What Is the Data Import Wizard?]
* : Cert Prep: Platform Developer I: Business Logic and Process Automation


質問 # 117
What should be used to create scratch orgs?

  • A. Salesforce CLI
  • B. Sandbox refresh
  • C. Workbench
  • D. Developer Console

正解:A


質問 # 118
When the number of record in a recordset is unknown, which control statement should a developer use to implement a set of code that executes for every record in the recordset, without performing a .size() or .length() method call?

  • A. For (init_stmt, exit_condition; increment_stmt) { }
  • B. Do { } While (Condition)
  • C. For (variable : list_or_set) { }
  • D. While (Condition) { ... }

正解:C


質問 # 119
Universal Container* decides to use purely declarative development to build out a new Salesforce application.
Which two options can be used to build out the business logic layer for this application? Choose 2 answer

  • A. Remote Actions
  • B. Batch Jobs
  • C. Record-Triggered flow
  • D. Validation Rules

正解:C、D


質問 # 120
Which two are phases in the Salesforce Application Event propagation framework? (Choose two.)

  • A. Control
  • B. Emit
  • C. Bubble
  • D. Default

正解:C、D


質問 # 121
A developer wrote Apex code that calls out to an external system using REST API.
How should a developer write the test to prove the code is working as intended?

  • A. Write a class that implements webservicemock.
  • B. Write a class that implements HTTPcalloutMock.
  • C. Write a class that extends webserviceloo.
  • D. Write a class that extends HTTPcalloutMock.

正解:B

解説:
To test Apex code that makes HTTP callouts, Salesforce provides theHTTPCalloutMockinterface. Developers create a test class that implementsHTTPCalloutMockto define the fake response that will be returned when the callout is executed during the test.
This ensures that tests do not depend on the availability or behavior of the external system.
Why not other options?
BandC: These are not relevant for testing HTTP callouts.
D: There is no concept of extendingHTTPCalloutMock. It is implemented, not extended.
Apex Testing for HTTP Callouts


質問 # 122
What are two considerations for custom Apex Exception classes? Choose 2 answers.

  • A. Custom Exception class names must end with the word 'Exception'.
  • B. Constructor for custom Exceptions can only accept string values as arguments.
  • C. Custom Exceptions cannot be extended by other Exception classes.
  • D. Custom Exception classes must extend the base Exception class.

正解:A、D


質問 # 123
When can a developer use a custom Visualforce page in a Force.com application? (Choose 2)

  • A. To generate a PDF document with application data
  • B. To deploy components between two organizations
  • C. To create components for dashboards and layouts
  • D. To modify the page layout settings for a custom object

正解:A、C


質問 # 124
What should a developer use to script the deployment and unit test execution as part of continuous integration?

  • A. Salesforce CLI
  • B. Execute Anonymous
  • C. VS Code
  • D. Developer Console

正解:A


質問 # 125
What is a good practice for a developer to follow when writing a trigger? (Choose 2)

  • A. Using the Map data structure to hold query results by ID.
  • B. Using synchronous callouts to call external systems.
  • C. Using @future methods to perform DML operations.
  • D. Using the Set data structure to ensure distinct records.

正解:A、D


質問 # 126
Universal Containers has a Visualforce page that displays a table of every Container__c being rented by a given Account. Recently this page is failing with a view state limit because some of the customers rent over 10,000 containers.
What should a developer change about the Visualforce page to help with the page load errors?

  • A. Implement pagination with a StandardSetController.
  • B. Use JavaScript remoting with SOQL Offset.
  • C. Use lazy loading and a transient List variable.
  • D. Implement pagination with an OffsetController.

正解:A


質問 # 127
Which code statement includes an Apex method named updateAccounts in the class AccountController for use in a Lightning web component?

  • A. import updateAccounts from "[email protected]';
  • B. import updateAccounts from "AccountControlles';
  • C. import updateAccounts from "Salesforce/apex/AccountController:';
  • D. import updateAccounts from "@salesforce/apex/AccountController.updateAccounts";

正解:D

解説:
When working with a Lightning Web Component (LWC), the correct syntax for importing an Apex method is:
import methodName from "@salesforce/apex/ControllerName.methodName";.
Why not other options?
A,B, andC: These use incorrect syntax for importing Apex methods in LWCs.
Lightning Web Components Documentation


質問 # 128
A developer must create a DrawListclass that provides capabilities defined in the Sortableand Drawable interfaces.

Which is the correct implementation?

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

正解:B

解説:
Explanation/Reference:


質問 # 129
A developer needs to implement a custom SOAP Web Service that is used by an external Web Application. The developer chooses to Include helper methods that are not used by the Web Application In the Implementation of the Web Service Class. Which code segment shows the correct declaration of the class and methods?

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

正解:D


質問 # 130
An after trigger on the account object performs a DML update operation on all of the child opportunities of an account. There are no active triggers on the opportunity object, yet a "maximum trigger depth exceeded" error occurs in certain situation. Which two reasons possibly explain the account trigger firing recursively? choose 2 answers

  • A. Changes are being made to the account during criteria based sharing evaluation
  • B. Changes to opportunities are causing roll-up summary fields to update on the account
  • C. Changes to opportunities are causing cross-object workflow field updates to be made on the account
  • D. Changes are being made to the account during an unrelated parallel save operation

正解:C


質問 # 131
In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex?

  • A. As a List with each value as an element in the list Previous
  • B. As a String with each value separated by a semicolon
  • C. As a String with each value separated by a comma
  • D. As a Set with each value as an element in the set

正解:B


質問 # 132
What are two benefits of using declarative customizations over code? Choose 2 answers

  • A. Declarative customizations cannot generate run time errors.
  • B. Declarative customizations automatically generate test classes.
  • C. Declarative customizations generally require less maintenance.
  • D. Declarative customizations automatically update with each Salesforce release.

正解:C、D


質問 # 133
Which two statements are acceptable for a developer to use inside procedural loops? (Choose two.)

  • A. contactList.remove(i);
  • B. delete contactList;
  • C. Account a = [SELECT Id, Name FROM Account WHERE Id = :con.AccountId LIMIT 1];
  • D. Contact con = new Contact();

正解:A、D


質問 # 134
Which scenario is invalid for execution by unit tests?

  • A. Executing methods for negative test scenarios
  • B. Executing methods as different users.
  • C. Loading the standard Pricebook ID using a system method
  • D. Loading test data in place of user input for Flows.

正解:D


質問 # 135
A developer wants to import 500 Opportunity records into a sandbox.
Why should the developer choose to use Data Loader instead of Data Import Wizard?

  • A. Data Import Wizard can not import all 500 records,
  • B. Data Import Wizard does not support Opportunities.
  • C. Data Loader automatically relates Opportunities to Accounts.
  • D. Data Loader runs from the developer's browser.

正解:B

解説:
Why Data Loader?
Data Loader supports all standard and custom objects, including Opportunities.
It is suitable for importing large data volumes like 500 records.
Why Not Data Import Wizard?
The Data Import Wizard does not support all objects, such as Opportunities.
Why Not Other Options?
A: Data Loader does not automatically relate Opportunities to Accounts unless provided external IDs.
B: Data Loader is a desktop application, not browser-based.
D: The Data Import Wizard can handle more than 500 records for supported objects, but it doesn't support Opportunities.
References:Data Loader Documentation:https://developer.salesforce.com/docs/atlas.en-us.dataLoader.meta
/dataLoader/
Below is the formatted response for the provided question, adhering to the specified format and requirements.
The question falls under the Process Automation and Logic topic, as it involves defining an Apex method for a Next Best Action strategy, which is a process automation feature in Salesforce, a key concept in the Salesforce Platform Developer I certification. The answer is based on official Salesforce Platform Developer I documentation, with a comprehensive explanation and references to relevant Salesforce documentation.


質問 # 136
A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit. public class without sharing OpportunityService( public static List<OpportunityLineItem> getOpportunityProducts(Set<Id> opportunityIds){ List<OpportunitylineItem> oppLineItems = new List<OpportunityLineItem>(); for(Id thisOppId : opportunityIds){ oppLineItems.addAll([Select Id FROM OpportunityLineItems WHERE OpportunityId = :thisOppId)]; } return oppLineItems; } } The above method might be called during a trigger execution via a Lightning component. Which technique should be implemented to avoid reaching the governor limit?

  • A. Refector the code above to perform the SOQL query only if the Set of opportunityIds contains less 100 Ids.
  • B. Use the System.Limits.getlimitQueries() method to ensure the number of queries is less than 100.
  • C. Refactor the code above to perform only one SOQL query, filtering by the Set of opportunityIds.
  • D. Use the System.Limits.getQueries() method to ensure the number of queries is less than 100.

正解:C

解説:
The code snippet above is not bulkified, meaning it does not handle multiple records efficiently. It performs a SOQL query inside a for loop, which can quickly hit the governor limit of 100 SOQL queries per transaction.
The best technique to avoid reaching the governor limit is to refactor the code above to perform only one SOQL query, filtering by the Set of opportunityIds. This way, the code will retrieve all the OpportunityLineItems related to the given opportunityIds in one query, and avoid unnecessary iterations and queries.
References:
* Apex Developer Guide on Bulkifying Code (1)
* Apex Developer Guide on SOQL For Loops (2)
* Apex Developer Guide on System.Limits Class (3)


質問 # 137
A custom object Trainer_ < has a lookup field to another custom object cym__ c.
Which SOQL query will get the record for the Viridian City Gym and all it's trainers?

  • A. SELECT ID FROM Trainer ¢ WHERE Gym__r.Name = 'Viridian City Gym'
  • B. SELECT Id; (SELECT Id FROM Trainers_r) FROM Gym_ _c WHERE Name = 'Viridian City Gym'
  • C. SELECT Id, (SELECT Id FROM Trainers_c) FROM Gym_c WHERE Name - 'Viridian City Gym''
  • D. SELECT Id, (SELECT Id FROM Trainer_c) FROM Gym__c WHERE Name = 'Viridian City Gym'

正解:B

解説:
Given that Trainer__c has a lookup field to Gym__c, to retrieve the record for the 'Viridian City Gym' and all its trainers, the correct SOQL query is:
Option A:
SELECT Id, (SELECT Id FROM Trainers__r) FROM Gym__c WHERE Name = 'Viridian City Gym' Parent-to-Child Query (Subquery):
To retrieve child records (trainers) from the parent record (gym), you perform a subquery using the child relationship name.
Child Relationship Name:
For a lookup relationship, the child relationship name can be found in the relationship settings.
By default, if the lookup field on Trainer__c is Gym__c, the child relationship name is Trainers__r.
Query Breakdown:
SELECT Id, (SELECT Id FROM Trainers__r) FROM Gym__c WHERE Name = 'Viridian City Gym' Selects the Gym record and all related Trainers.
Why Other Options Are Incorrect:
Option B: (SELECT Id FROM Trainer__c)
Trainer__c is an object, not a relationship name, so the subquery is incorrect.
Option C: SELECT ID FROM Trainer__c WHERE Gym__r.Name = 'Viridian City Gym' This query retrieves Trainer records, not the Gym record and its trainers as specified.
Option D: (SELECT Id FROM Trainers__c)
Trainers__c is incorrect; the child relationship name should end with __r in subqueries.
Reference:
SOQL Relationships and Subqueries:
"To retrieve related child records, use a subquery in the SELECT clause."
- Salesforce SOQL and SOSL Reference: Relationship Queries
Conclusion:
Option A correctly retrieves the Gym record and all its related Trainer records using a parent-to-child subquery.


質問 # 138
......


Salesforce CRT-450試験は、ApexとVisualforceを使用してカスタムアプリケーションを構築する開発者の知識とスキルを試験するために設計されています。試験はまた、Salesforceデータモデル、セキュリティモデル、およびプラットフォームの宣言的カスタマイズ能力の理解についても開発者をテストします。Salesforce CRT-450試験に合格することは、開発者がクライアントのニーズに合わせたカスタムアプリケーションを構築する能力を証明することを意味します。

 

合格させる保証付き無料クイズ2026年最新の実際に出ると確認されたSalesforce:https://www.jpntest.com/shiken/CRT-450-mondaishu

無料Salesforce Developers CRT-450究極の学習ガイド:https://drive.google.com/open?id=1g3Fy6yTj6siWxer1V0HLu78EgdcdRVHz

弊社を連絡する

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

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

サポート:現在連絡