일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- BASIC
- google extension
- Administrator
- difference with java
- chatter user profile
- Too many DML statements
- object setting
- salesforce
- apex class
- sales cloud consultant
- developer console
- deactivate record type for chatter user profile
- service cloud consultant
- Database Methods
- sharing
- sObject
- DML Statement
- platform developer1
- Too many SOQL queries
- VARIABLE
- System.LimitException
- apex
- development link
- dump
- Today
- Total
어느 Salesforce Developer의 개발 성장기
[Salesforce Certified Platform Developer1] Dump 오답 일기3 본문
[Salesforce Certified Platform Developer1] Dump 오답 일기3
Developer_Foryou 2020. 3. 8. 00:49※ 각 자격증별 Dump는 시험을 준비하면서,
웹상에 공개된 Dump와 유료 Dump를 풀면서 자주 틀렸던 문제를 위주로 작성하였습니다.
오래된 문제도 간혹 있기 때문에 버전에 따라 답이 다른 경우도 있으며,
개인이 공부하면서 푼 문제이기 때문에 오답일 가능성도 있습니다.
이점 유의하여 공부하시길 바랍니다.
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 implement this request?
A. Create an after insert Lead trigger.
B. Create a before insert Lead trigger.
C. Create a Lead Workflow Rule Field Update.
D. Create a Lead formula field.
Answer C
A developer wants to override a button using Visualforce on an object. What is the requirement?
A. The controller or extension must have a PageReference method.
B. The standardController attribute must be set to the object.
C. The action attribute must be set to a controller method.
D. The object record must be instantiated in a controller or extension.
Answer B
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:
trigger test on Lead(before update){
for(Lead ld: trigger.new){
if(ld.Email != trigger.oldMap.get(ld.id).Email){
ld.Prior_Email__c = trigger.oldMap.get(ld.id).Email;
update ld;
}
}
}Which type of exception will this trigger cause?
A. A null reference exception
B. A compile time exception
C. A DML exception
D. limit exception when doing a bulk update
Answer C
What are three characteristics of static methods? (Choose three.)
A. Initialized only when a class is loaded
B. A static variable outside of the scope of an Apex transaction
C. Allowed only in outer classes
D. Allowed only in inner classes
E. Excluded from the view state for a Visualforce page
Answer A, C, E
What are two uses for External IDs? (Choose two.)
A. To create relationships between records imported from an external system.
B. To create a record in a development environment with the same Salesforce ID as in another environment
C. To identify the sObject type in Salesforce
D. To prevent an import from creating duplicate records using Upsert
Answer A, D
For which three items can a trace flag be configured? (Choose three.)
A. Apex Trigger
B. Apex Class
C. Process Builder
D. User
E. Visualforce
Answer A, B, D
What are two benefits of the Lightning Component framework? (Choose two)
A. It simplifies complexity when building pages, but not applications.
B. It provides an event-driven architechure for better decoupling between components.
C. It promotes faster development using out-of-box components that are suitable for desktop and mobile devices.
D. It allows faster PDF generation with Lightning components.
Answer B, D
A method is passed a list of generic sObjects as a parameter. What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?
A. Use the first three characters of the sObject ID to determine the sObject type.
B. Use the getSObjectType method on each generic sObject to retrieve the sObject token.
C. Use the getSObjectName method on the sObject class to get the sObject name.
D. Use a try-catch construct to cast the sObject into one of the three sObject types.
Answer B
Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two)
A. ENUM
B. sObject
C. External ID
D. String
Answer A, D
where can a developer identify the time taken by each process in a transaction using developer console log inspector?
A. Performance Tree tab under Stack Tree panel
B. Execution Tree tab under Stack Tree panel
C. Timeline tab under Execution Overview panel
D. Save Order tab under Execution Overview panel
Answer C
'Salesforce Dump > Platform Developer1 Dump' 카테고리의 다른 글
[Salesforce Certified Platform Developer1] Dump 오답 일기6 (0) | 2020.03.08 |
---|---|
[Salesforce Certified Platform Developer1] Dump 오답 일기5 (0) | 2020.03.08 |
[Salesforce Certified Platform Developer1] Dump 오답 일기4 (0) | 2020.03.08 |
[Salesforce Certified Platform Developer1] Dump 오답 일기2 (0) | 2020.03.08 |
[Salesforce Certified Platform Developer1] Dump 오답 일기1 (0) | 2020.03.08 |