어느 Salesforce Developer의 개발 성장기

[Salesforce Certified Platform Developer1] Dump 오답 일기4 본문

Salesforce Dump/Platform Developer1 Dump

[Salesforce Certified Platform Developer1] Dump 오답 일기4

Developer_Foryou 2020. 3. 8. 00:50

※ 각 자격증별 Dump는 시험을 준비하면서, 
웹상에 공개된 Dump와 유료 Dump를 풀면서 자주 틀렸던 문제를 위주로 작성하였습니다. 
오래된 문제도 간혹 있기 때문에 버전에 따라 답이 다른 경우도 있으며,
개인이 공부하면서 푼 문제이기 때문에 오답일 가능성도 있습니다.
이점 유의하여 공부하시길 바랍니다.

 

A Developer needs to test an invoincing system integration. after reviewing the number of transactions required for the test, the developer estimates that the test data will total about 2gb of data storage. production data is not required for the integration testing. which two environments meet the requirements for testing? (choose two)

A. Developer Sandbox
B. Full Sandbox
C. Developer Edition
D. Partial Sandbox
E. Developer Pro Sandbox

Answer B, D

A developer writes the following code:

List<Account> acc = [SELECT Id FROM Account LIMIT 10];
Delete acc;
Database.emptyRecycleBin(acc);

System.Debug(Limits.getDMLStatements() + ', ' + Limits.getLimitDMLStatements();

What is the result of the debug statement?

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

Answer C

the operation manager at a construction company uses a custom object called machinery to manage the usage and maintenance of its cranes and other machinery. the manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. more than one piece of machinery can be assigned to one construction job. what should a developer do to meet these requirements?

A. Create a lookup field on the Construction Job object to the Machinery object.
B. Create a lookup field on the Machinery object to the Construction Job object.
C. Create a junction object with Master-Detail Relationship to both the Machinery object and the Construction Job object.
D. Create a Master-Detail Lookup on the Machinery object to the Construction Job object.

Answer A

which tool allows a developer to send requests to the salesforce rest apis and view the responses?

A. REST resource path URL
B. Workbench REST Explorer
C. Developer Console REST tab
D. Force.com IDE REST Explorer tab

Answer B

how should a developer prevent a recursive trigger?

A. Use a “one trigger per object” pattern.
B. Use a static Boolean variable.
C. Use a trigger handler.
D. Use a private Boolean variable

Answer D

why would a developer consider using a custom controller over a controller extension?

A. To increase the SOQL query governor limits.
B. To implement all of the logic for a page and bypass default Salesforce functionality.
C. To leverage built-in functionality of a standard controller.
D. To enforce user sharing settings and permissions.

Answer B

a developer is asked to set a picklist field to 'monitor' on any new leads owned by a subnet of users. how should the developer implements this request?

A. Create an after insert Lead trigger.
B. Create an before insert Lead trigger.
C. Create a Lead Workflow Rule Field Update.
D. Create a lead formula field.

Answer C

What is a valid statement about Apex Classes and interfaces? Choose 2

A. Exception classes must end with the word exception
B. The default modifier for a class is private
C. A class can have multiple levels of inner class
D. The default modifier for an interface is private

Answer A, B

A developer wants to display all of the available record types for a Case object. The developer also wants to display the picklist values for the Case.Status field. The Case object and the Case.Status field are on a custom Visualforce page. What action can the developer perform to get the record types and picklist values in the controller? Select all that apply.

A. Use Schema.PickListEntry returned by Case.Status.getDescribe().getPicklistValues()
B. Use Schema.RecordTypeInfo returned by Case.SObjectType.GetDescribe().getRecordTypeInfos()
C. Use SOQL to query Case records in the org to get all the RecordType values available for Case
D. Use SOQL to query case records in the org to get all values for the Status picklist field

Answer A, B

When can a developer use a custom Visualforce page in a Force.com application? Choose 2 answers

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

Answer B, D

Comments