최신Salesforce Platform Developer I (PDI) - PDI무료샘플문제
문제1
A developer is designing a new application on the Salesforce platform and wants to ensure it can support multiple tenants effectively.
Which design framework should the developer consider to ensure scalability and maintainability?
A developer is designing a new application on the Salesforce platform and wants to ensure it can support multiple tenants effectively.
Which design framework should the developer consider to ensure scalability and maintainability?
정답: A
설명: (KoreaDumps 회원만 볼 수 있음)
문제2
A developer must perform a complex SQL query that joins two objects in a Lightning component.
How can the Lightning component execute the query?
A developer must perform a complex SQL query that joins two objects in a Lightning component.
How can the Lightning component execute the query?
정답: C
설명: (KoreaDumps 회원만 볼 수 있음)
문제3
A developer has identified a method in an Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account.
The method also performs a DML statement to save the changes to the database.
Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits?
A developer has identified a method in an Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account.
The method also performs a DML statement to save the changes to the database.
Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits?
정답: C,D
설명: (KoreaDumps 회원만 볼 수 있음)
문제4
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?
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?
정답: C
설명: (KoreaDumps 회원만 볼 수 있음)
문제5
Universal Containers (UC) uses out-of-the-box order management, that has a Master- Detail relationship between Order and Order Line Item.
Which method should be used to calculate the estimated ship date for an Order?
Universal Containers (UC) uses out-of-the-box order management, that has a Master- Detail relationship between Order and Order Line Item.
Which method should be used to calculate the estimated ship date for an Order?
정답: C
설명: (KoreaDumps 회원만 볼 수 있음)
문제6
A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. The developer team decided that the trigger should be tested with
200 account records with unique names.
What two things should be done to create the test data within the unit test with the least amount of code?
A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. The developer team decided that the trigger should be tested with
200 account records with unique names.
What two things should be done to create the test data within the unit test with the least amount of code?
정답: B,D
설명: (KoreaDumps 회원만 볼 수 있음)
문제7
As part of new feature development, a developer is asked to build a responsive application capable of responding to touch events that will be executed on stateful clients.
Which two technologies are built on a framework that fully supports the business requirement?
As part of new feature development, a developer is asked to build a responsive application capable of responding to touch events that will be executed on stateful clients.
Which two technologies are built on a framework that fully supports the business requirement?
정답: B,C
설명: (KoreaDumps 회원만 볼 수 있음)
문제8
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?
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?
정답: D
설명: (KoreaDumps 회원만 볼 수 있음)
문제9
Which two statements are true about using the @TestSetup annotation in an Apex test class?
Choose 2 answers
Which two statements are true about using the @TestSetup annotation in an Apex test class?
Choose 2 answers
정답: A,B
설명: (KoreaDumps 회원만 볼 수 있음)
문제10
While writing an Apex class, a developer wants to make sure that 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 to specifications?
While writing an Apex class, a developer wants to make sure that 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 to specifications?
정답: D
설명: (KoreaDumps 회원만 볼 수 있음)
문제11
Which code in a Visualforce page and/or controller might present a security vulnerability?
Which code in a Visualforce page and/or controller might present a security vulnerability?
정답: A
설명: (KoreaDumps 회원만 볼 수 있음)
문제12
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 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?
정답: C
설명: (KoreaDumps 회원만 볼 수 있음)
문제13
How should a developer write unit tests for a private method in an Apex class?
How should a developer write unit tests for a private method in an Apex class?
정답: B
설명: (KoreaDumps 회원만 볼 수 있음)