Monday, 26 November 2012
DEV-401 Exam Questions with Answers - Part 6
1) Which options exist for calculations or analyses on reports? Choose 3 answers:
A. Maintain calculations from previous runs of the report.
B. Perform calculations on summary data. (Answer)
C. Set parameters to highlight outliners. (Answer)
D. Plot multiple sets of data on one chart. (Answer)
2) A developer has received confirmation that salesforce.com has enabled insertable system audit fields
for an organization. Which ability is now enabled when using the data loader?
A. Ability to insert account records setting the isDeleted field of each record
B. Ability to insert account records setting the CreatedDate field of each record (Answer)
C. Ability to insert account records setting the SystemModStamp field for each record
D. Ability to insert account records setting the $MarkSync field of each record
3) Job Applications is a custom object with a lookup relationship to the custom object Positions, A
developer would like to modify the Position fields displayed in the console mini view when a job
application record is viewed in the console detail view. What would a developer customize to
accomplish this?
A. the mini page layout of the position page layout (Answer)
B. the related objects on the job application page layout
C. the related objects on the position page layout
D. the mini page layout on the job aplication layout
4) A developer wants to report on trends in the data. Which feature of the Force.com platform would a
developer use to accomplish this?
A. Summary Report
B. Analytic Snapshot (Answer)
C. Field History
D. Matrix Report
5) Which statement is true about a custom tab?
A. It can only be included in one application.
B. It can only be included in standard applications.
C. It can be included in as many applications as desired. (Answer)
D. It can only be included in custom applications.
6) Which scenario requires Apex to automate the real-time business logic?
A. When a user creates a new Time Off request record (a custom object) and clicks Submit for
Approval, the Time off Request routes to the user’s manager for approval.
B. When a user saves a New Hire record (a custom object), an outbound message is automatically
sent with the new hire’s contact information to an external HR system.
C. As a user saves a a new order (a custom object) , the quantity and products on the order are
checked against a existing warehouse stock (a custom object), then the warehouse that the
product will ship from on the order record is populated. (Answer)
D. When a user enters a State and Zip code into a custom fields on a Candidate custom object, it
must be checked against a Zip Code custom Object to ensure that the Zip code entered does
exist in the state entered.
7) 3 Tier Model (UI, Business Logic, Data) which associated with data layer (3 answers)
A. Validation Rules
B. Workflow Rules
C. Relationships (Answer)
D. Objects (Answer)
E. Fields (Answer)
8) A business requirement can be met by either a formula field or an APEX trigger. Why would you want
to use a formula field over an APEX trigger? (2 answers)
A. Formula fields do not require test matches to deploy (Answer)
B. Formula fields allow access to resources external to force.com platform
C. Formula fields can be created and deployed using only a browser (Answer)
D. Formula fields allow greater control and flexibility than APEX Triggers
9) When would a developer use upsert and external IDs? (Choose two answers.)
A. To integrate with an external system (Answer)
B. To migrate customizations from sandbox to production
C. To load related records without knowing Salesforce record IDs (Answer)
D. To use the Force.comAPI to query for data
10) Which statement is TRUE about a profile?
A. It can revoke access granted by sharing
B. It enables object level permissions and grants access to all data (Answer)
C. It can grant access to records using record types
D. It controls use passwords settings
Some more DEV and ADM Questions will be posted soon....
Sunday, 25 November 2012
Salesforce Developer Winter' 13 Certification Exam questions with answers
1. An administrator needs to create a permission set for users with
different license types. What should the user license setting be?
A. All
B.
None
C.
Standard
D. Salesforce
2. What tool is part of Developer Console?
Choose 3 answers
A.
SOQL Workbench.
B.
Query Editor.
C.
Tests tool.
D.
Force.com IDE.
3. What can a developer do when creating a test in Apex?
Choose 2 answers
A.
Mark methods with callouts to
exempt them from the code coverage
requirement.
B.
Simulate callouts to other
systems using classes that mock callout behaviour.
C.
Populate data for test methods
using a file stored as a static resource.
D. Create test data by cloning data that
already exists in the application.
4. What is a capability of joined reports?
Choose 2 answers
A.
Export the data to a
spreadsheet.
B.
Add conditional highlighting to
the data.
C.
Schedule and email the report.
D. Add the joined report to a dashboard.
5. What is a capability of Visual Workflow?
Choose 2 answers
A.
Allow a user to select multiple
choices for a question.
B.
Allow a user to select the time
from a popup clock.
C.
Prevent a user from navigating
to a previous screen.
D. Allow a user to enter formatted text
and add images.
ADM Winter 13 Questions will be posted soon...
Saturday, 17 November 2012
Salesforce Telephonic Interview Questions with Answers
1. What is Apex?
Ans: It is
the in-house technology of salesforce.com which is similar to Java programming
with object oriented concepts and to write our own custom logic.
2. What is S-Control ?
Ans:
S-Controls are the predominant salesforce.com widgets which are completely
based on JavaScript. These are hosted by Salesforce but executed at client
side. S-Controls are superseded by Visualforce now.
3. What is a Visual force Page?
Ans: Visual
force is the new markup language from Salesforce, by using which, we can render
the standard styles of Salesforce. We can still use HTML here in Visual force.
Each visualforce tag always begins with “apex” namespace. All the design part
can be accomplished by using Visualforce Markup Language and the business logic
can be written in custom controllers associated with the Page.
4. Will
Visual force still supports the merge fields usage like S-control ?
Ans: Yes.
Just like S-Controls, Visualforce Pages support embedded merge fields, like the
{!$User.FirstName} used in the example.
5. Where to write Visualforce code?
Ans: You can
write the code basically in 3 ways.
setup->App
Setup->Develop->Pages and create new Visulaforce page.
Setup ->
My Personal Information -> Personal Information -> Edit check the
checkbox development mode. When you run the page like this, https://ap1.salesforce.com/apex/MyTestPage.
you will find the Page editor at the bottom of the page. You can write you page
as well as the controller class associated with it, there it self.
Using
EclipseIDE you can create the Visulaforce page and write the code.
6. What are Apex Governor Limits?
Governor
limits are runtime limits enforced by the Apex runtime engine. Because Apex
runs in a shared, multitenant environment, the Apex runtime engine strictly
enforces a number of limits to ensure that code does not monopolize shared
resources. Types of limits that Apex enforces are resources like memory,
database resources, number of script statements to avoid infinite loops, and
number of records being processed. If code exceeds a limit, the associated
governor issues a runtime exception.
7. Difference between Sandbox and Development
environment?
environment
for salesforce.com is crucial to change control. Salesforce.com provides the
tools needed to test anything in a test environment before you implement it in
your live instance. You can either test in a Sandbox environment or in a
Developer environment. What is the difference? I will share what I know…
Sandbox
The
salesforce.com Sandbox environment is an exact copy of your salesforce.com
instance. You can copy your live instance to a sandbox environment (but you
have to perform manually from sandbox to developer edition) where you can test
any changes, implementations, AppExchange apps or updates. It can also be your
hands-on training environment without risking your live data.
You can
either copy your configuration and data into a sandbox environment or just the
configuration. It acts exactly like your live instance, but be careful if you have
workflow rules or automations because they will work in the sandbox as well.
I know that
this sounds wonderful and if you don’t have it, you are dying to know how to
get it. The problem is the cost. If you are on Unlimited Edition, then cost is
not a problem because it comes included. But for Enterprise, Professional or
Group Editions, you have to pay… and the price is hefty; anywhere between
25k-50k per year. For a lot of companies, that is more than they are paying for
their live salesforce.com instance. So how do you test salesforce.com without
Sandbox? It is always suggested to
develop application in sandbox instance then go for LIVE.
Developer
Edition
Developer
Edition was an edition created for development of integrations and apps,
specifically for the AppExchange. It is also a great tool for testing/training
in salesforce.com. What makes this a great tool is the fact that it is free.
Anyone can get a Developer Edition of salesforce.com. It is a standard
Enterprise Edition with very limited storage space. You cannot copy your
configuration or data onto the Developer Edition, but you can customize it to
match your instance’s look and feel. Once it is customized, you can use it for
training, testing or anything else you want. It takes a little bit of work, but
you can make it act and feel just like your live instance. The work is well
worth it for the free price.
To get a copy
of Developer Edition for yourself or your company go here. Play around with it.
Get apps from the AppExchange. Do anything and everything that you have been
scared to do your live system. If you come up with a clever way of using the
system, post it on AppExchange and share your knowledge.
8. How to schedule export or take the backup of
salesforce?
Salesforce
allows you to obtain a copy of all your data using the data export
feature. You can generate backup files
manually once every six days or schedule them to generate automatically at
weekly or monthly intervals. The backup
file will come to you in the form a zip file that contains all of your
organization’s data in a set of CSV (comma-separated values) files. If you do not see the data export feature,
contact salesforce.com to have the Data Export Service activated.
Step by Step
Instruction:
Click Setup
>Data Management > Data Export > Schedule Export.
Select the
desired encoding for your export file. Leaving the default is fine.
Check the
Include in export checkbox if you want to include attachments in the export
(optional)
Leave the
default Replace carriage returns with spaces if you want your export files to
have spaces instead of carriage returns.
Select Weekly
as the the frequency for the exports.
Choose start
and end dates. Set the end date to sometime in the distant future such as 20
years from the begin date.
Set the time
of day for your scheduled export. The export is put in a job queue and the
exact time of the export will depend on the amount of activity in the queue.
You can
select the types of data to include in your export. It is best to include all
data in your export file. This will make sure all your organizations data is
exported.
Click Save.
Points to Remember:
Formula and
roll-up summary fields are never included in exports.
Articles are
not included from exports.
The export
notification email is sent to the email address on file for the user who
created the scheduled export. There is no way to indicate another email
address. If as an Administrator you want the email to go to another person,
have them grant you login access, login as them and schedule the data export.
Important:
Scheduled
backup exports of your data is limited to weekly exports.
You have 48
hours from the time you are notifiedthe backup is available to download the
backup file.
The email
notification for backups goes to the email address in Salesforce of the person
logged in who schedules the backup
10. Do governor limits apply to sandbox
instances?
Ans :
Governor limits do apply to all Salesforce instances (trial, developer,
production or sandbox environments). However code coverage and successful
execution of test classes is only enforced when deploying to a production
environment.
-----
Hi Friends,
Its just a base level questions. Searching for more Interview and Certification questions and will post it soon. And you can also post your queries if you have any while doing development in salesforce. I will try to give you solution for it.
Keep in touch.....
Your's
Wednesday, 14 November 2012
DEV-401 Exam Questions with Answers - Part 5
Q.1) Which API can be used to create the Data model?
A. Force.com Sign-on API
B. Force.com API
C. Force.com Metadata API (Answer)
D. AJAX toolkit for Force.com
Q.2) Which is a required step for creating a many-to-many relationship (2 answers)
A. create two relationships (Answer)
B. create a custom object to join two objects (Answer)
C. create a many-to-many relationship between two objects
D. create the related list on the page layout of the junction object
Q.3) Which statement is true regarding force.com domain name (3 answers):
A. It must be unique (Answer)
B. It is usually the name of your company (Answer)
C. It cannot be changed once it is registered to your organization (Answer)
D. It cannot be mapped to your company's domain
Q.4) Which relationship type should be used to capture a user’s manager on each user record in the application?
A. Master-detail
B. Parent-child
C. Hierarchical (Answer)
D. Many-to-many
Q.5) In a custom defect tracking application, a custom object called bug is used to track defects. The bugs often have relationships to other bugs in a parent-child fashion. Which relationship should a developer choose to model the interdependency between bugs?
A. self (Answer)
B. hierarchical
C. master-detail
D. many-to-many
Q.6) After creating workflow Rule with a time-based action that send an email reminder to users 14 days after a record has been created. A developer would like to test to make sure that the rule is working the way in which it was intended. How can the developer verify that the workflow rule is working
(2 answers)
A. create a new record then check the outbound message queue
B. create a new record then check the time-based workflow queue (Answer)
C. select the developer's username in the time-based worflow queue setup, create a new record then
check the queue for evidence that the workflow executed.
D. select the developer's username in the Debug Log setup. create a new record , then check the
Debug Log to evidence that the Workflow executed. (Answer)
Q.7) Which is a capability of the Data Loader? Choose 2 answers:
A. The data loader can be executed from command line. (Answer)
B. The data loader can de-duplicate records
C. The data loader can bypass sharing model settings
D. The data loader can load more than 50.000 records at a time. (Answer)
Q.8) A developer needs to perform an automated extract of data from SFDC migration at 2:00 AM.
How would this be done?
A. Use the command line interface of a data loader (Answer)
B. Use the schedule manager of import wizard
C. use the data export service to perform nightly extract
D. Use the export scheduler of the Data Loader GUI
Q.9) OWD default setting for accounts is private, a manager resides above the team in role hierarchy, manager wants to share some of the account details with the team. Which feature can extend the viewing privileges to the team to allow them to see each other's data (2 answers)
A. Running user of a dashboard (Answer)
B. Running user of a report
C. Dashboard folder access (Answer)
D. Report Folder access
Q.10) In which Salesforce environment will the Force.com record IDs be identical?
A. Production & Full Copy Sandbox only (Answer)
B. Force.com ids are never identical
C. Production & Development Sandbox only.
D. Production, full copy Sandbox and developer edition
Tuesday, 13 November 2012
DEV-401 Certification Questions with Answers - Part 4
Q.1) Which developer tool can be used to create a data model (2 answers)
A. Force.com IDE (Answer)
B. Force.com Data Loader
C. Application Set -up Menu(Answer)
D. API
Q.2) How many master-detail relationships can be created on one object?
A. 2 (Answer)
B. 4
C. 3
D. 1
Q.3) Within a custom recruiting application, Universal Containers uses a custom position object to track positions. Positions expire 90 days after they have been approved. A Workflow Rule is in place to send an email to the hiring manager listed on a position 15 days before the expiration date.
What will happen if the expiration date of a position is extended by 30 days?
A. An email will be sent 15 days before the original expiration date.
B. An email will be sent 15 days before the updated expiration date. (Answer)
C. An email will be sent on the original expiration date.
D. An email will not be sent.
Q.4) A developer wants to build an application on the Force.com platform. The data model, the business logic and report and dashboard requirements have been considered. The user access requirements have not been considered. What is the implication of building the application given the available information? Choose 2 answers:
A. The developer cannot establish security controls if not completed upon initial setup
B. The security controls may not support the approval process requirements (Answer)
C. The developer will not be able to build any reports or dashboards if the security controls have not
been established
D. The data model may not support the required security controls.(Answer)
Q.5) Which aspect of an application is addressed in the business logic layer? Choose 2 answers:
A. Extensible data model
B. Customized user interface
C. Data entry validation rules (Answer)
D. Process automation (Answer)
Q.6) When do users have the option to manually share records from a detail page?
A. When the organization wide defaults for the object is set to Public/Write
B. When a developer adds the Sharing button to the page layout
C. When a developer grants the user s the Share Records permission
D. When the organization wide default for the object is set to Private or Read-Only (Answer)
Q.7) Users X and Y need to see the same candidate record. For security reasons, user Y should NOT be able to view and report on the email address field on the record. How should a developer meet this requirement?
A. Use a custom visualforce page to make the email address visible to user Y but not user Y
B. Use a sharing rule to make the email address only visible to user X.
C. Use field-level security to make the email address visible to user X but not user Y. (Answer)
D. Use a page layout to make the email address visible to user X but not user Y
Q.8) What can a cross-object formula reference
A. Both parent-child objects
B. Records of Same object
C. Parent Only (Answer)
D. Child Only
Q.9) Which standard profile can view encrypted fields by default?
A. system Admin
B. standard user profile
C. None by default (Answer)
Q.10) Insertable system audit fields. What is enabled in the data loader?
A. Created Date (Answer)
B. System Modified Stamp
C. IsDeleted
Friday, 9 November 2012
DEV-401 Exam Questions with Answers - Part 3
Q.1) Which portion of the Model-View-Controller is represented in Force.com as a Standard of
Custom Object?
A. Model (Answer)
B. View
C. Controller
Q.2) Which capabilities does building an app on the Force.com platform provide? (3 answers)
A. the ability to run reports on configuration changes
B. the ability to have apps upgraded without losing customizations (Answer)
C. the ability to build apps with clicks not code (Answer)
D. the ability to internationalize and localize apps (Answer)
Q.3) What occurs in an upsert operation if the external ID is referenced in more than one record?
A. only the first matching record will be updated
B. an error is reported (Answer)
C. duplicate records will be created with matching external Ids
D. the upsert operation fails.
Q.4) In the recruiting app with approval processes on Positions, a position record is simultaneously sent to
3 approvers in a process. When can the position record advance to the next step? (2 answers)
A. 1 of the approvers skips to the final step
B. All approvals are required if unanimous approval is required (Answer)
C. Once the first approval is recorded, if unanimous approval is not needed. (Answer)
Q.5) Which feature is available for custom objects (3 answers):
A. Sharing (Answer)
B. Queues (Answer)
C. Assignment Rules
D. Field History Tracking (Answer)
Q.6) What is the valid data type for a custom force.com field: (4 answers)
A. email (Answer)
B. Currency (Answer)
C. Percentage (Answer)
D. Date (Answer)
E. Radio Button
Q.7) What is a feature of custom report types? Choose 2 answers:
A. The ability to create an exception report o anti –join
B. The ability to customize the report wizard user interface
C. The ability to join related objects within a report (Answer)
D. The ability to customize the output layout of a report(Answer)
Q.8) How can users be allowed to create new records of Object Y from the Create New drop-down
list in the sidebar?
A. Add Y's tab to the user's displayed tabs (Answer)
B. edit the sidebar component to display Object Y
C. enable the setting in the sidebar for each user
D. create a new sidebar component
Q.9) Which capability does building an application on the force.com platform provide?
A. The ability to build applications with clicks not code (Answer)
B. The ability to run reports on configuration changes
C. The ability to have applications upgraded without losing customizations (Answer)
D. The ability to internationalize and localize applications (Answer)
Q.10) What must a developer consider when inserting an API based tool (2 answers):
A. Validation Rules are Respected (Answer)
B. APEX Triggers are ignored
C. Required fields on page layouts are enforced
D. Universally required field settings are respected (Answer)
Visualforce Page to upload "csv" file without having DataLoader
Hello Friends,
You can upload the "csv" file into objects without having DataLoader. Check the code below.
Here is the example for Account object to insert csv file.
***********Visualforce Code**************
<apex:page sidebar="false" controller="FileUploader">
<apex:form >
<apex:sectionHeader title="Upload data from CSV file"/>
<apex:pagemessages />
<apex:pageBlock >
<center>
<apex:inputFile value="{!contentFile}" filename="{!nameFile}" /> <apex:commandButton action="{!ReadFile}" value="Upload File" id="theButton" style="width:70px;"/>
<br/> <br/> <font color="red"> <b>Note: Please use the standard csv file to upload Accounts. </b> </font>
</center>
<apex:pageblocktable value="{!uploadedAccounts}" var="acc" rendered="{!NOT(ISNULL(uploadedAccounts))}">
<apex:column headerValue="Account Name">
<apex:outputField value="{!acc.Name}"/>
</apex:column>
<apex:column headerValue="Shipping Street">
<apex:outputField value="{!acc.ShippingStreet}"/>
</apex:column>
<apex:column headerValue="Shipping City">
<apex:outputField value="{!acc.ShippingCity}"/>
</apex:column>
<apex:column headerValue="Shipping State">
<apex:outputField value="{!acc.ShippingState}"/>
</apex:column>
<apex:column headerValue="Shipping Postal Code">
<apex:outputField value="{!acc.ShippingPostalCode}"/>
</apex:column>
<apex:column headerValue="Shipping Country">
<apex:outputField value="{!acc.ShippingCountry}"/>
</apex:column>
</apex:pageblocktable>
</apex:pageBlock>
</apex:form>
</apex:page>
***********Controller of the page**********
public class FileUploader
{
public string nameFile{get;set;}
public Blob contentFile{get;set;}
String[] filelines = new String[]{};
List<Account> accstoupload;
public Pagereference ReadFile()
{
nameFile=contentFile.toString();
filelines = nameFile.split('\n');
accstoupload = new List<Account>();
for (Integer i=1;i<filelines.size();i++)
{
String[] inputvalues = new String[]{};
inputvalues = filelines[i].split(',');
Account a = new Account();
a.Name = inputvalues[0];
a.ShippingStreet = inputvalues[1];
a.ShippingCity = inputvalues[2];
a.ShippingState = inputvalues[3];
a.ShippingPostalCode = inputvalues[4];
a.ShippingCountry = inputvalues[5];
accstoupload.add(a);
}
try{
insert accstoupload;
}
catch (Exception e)
{
ApexPages.Message errormsg = new ApexPages.Message(ApexPages.severity.ERROR,'An error has occured. Please check the template or try again later');
ApexPages.addMessage(errormsg);
}
return null;
}
public List<Account> getuploadedAccounts()
{
if (accstoupload!= NULL)
if (accstoupload.size() > 0)
return accstoupload;
else
return null;
else
return null;
}
}
************************************************
Please let me know if any issues............
You can upload the "csv" file into objects without having DataLoader. Check the code below.
Here is the example for Account object to insert csv file.
***********Visualforce Code**************
<apex:page sidebar="false" controller="FileUploader">
<apex:form >
<apex:sectionHeader title="Upload data from CSV file"/>
<apex:pagemessages />
<apex:pageBlock >
<center>
<apex:inputFile value="{!contentFile}" filename="{!nameFile}" /> <apex:commandButton action="{!ReadFile}" value="Upload File" id="theButton" style="width:70px;"/>
<br/> <br/> <font color="red"> <b>Note: Please use the standard csv file to upload Accounts. </b> </font>
</center>
<apex:pageblocktable value="{!uploadedAccounts}" var="acc" rendered="{!NOT(ISNULL(uploadedAccounts))}">
<apex:column headerValue="Account Name">
<apex:outputField value="{!acc.Name}"/>
</apex:column>
<apex:column headerValue="Shipping Street">
<apex:outputField value="{!acc.ShippingStreet}"/>
</apex:column>
<apex:column headerValue="Shipping City">
<apex:outputField value="{!acc.ShippingCity}"/>
</apex:column>
<apex:column headerValue="Shipping State">
<apex:outputField value="{!acc.ShippingState}"/>
</apex:column>
<apex:column headerValue="Shipping Postal Code">
<apex:outputField value="{!acc.ShippingPostalCode}"/>
</apex:column>
<apex:column headerValue="Shipping Country">
<apex:outputField value="{!acc.ShippingCountry}"/>
</apex:column>
</apex:pageblocktable>
</apex:pageBlock>
</apex:form>
</apex:page>
***********Controller of the page**********
public class FileUploader
{
public string nameFile{get;set;}
public Blob contentFile{get;set;}
String[] filelines = new String[]{};
List<Account> accstoupload;
public Pagereference ReadFile()
{
nameFile=contentFile.toString();
filelines = nameFile.split('\n');
accstoupload = new List<Account>();
for (Integer i=1;i<filelines.size();i++)
{
String[] inputvalues = new String[]{};
inputvalues = filelines[i].split(',');
Account a = new Account();
a.Name = inputvalues[0];
a.ShippingStreet = inputvalues[1];
a.ShippingCity = inputvalues[2];
a.ShippingState = inputvalues[3];
a.ShippingPostalCode = inputvalues[4];
a.ShippingCountry = inputvalues[5];
accstoupload.add(a);
}
try{
insert accstoupload;
}
catch (Exception e)
{
ApexPages.Message errormsg = new ApexPages.Message(ApexPages.severity.ERROR,'An error has occured. Please check the template or try again later');
ApexPages.addMessage(errormsg);
}
return null;
}
public List<Account> getuploadedAccounts()
{
if (accstoupload!= NULL)
if (accstoupload.size() > 0)
return accstoupload;
else
return null;
else
return null;
}
}
************************************************
Please let me know if any issues............
DEV-401 Exam Questions with Answers - Part 2
Q.1) A developer needs to support multiple currencies for a custom object in an application? Multi-currency has been enabled,
what does the developer need to know to support the application?
(2 answers)
A. Must input currency ISO Field
B. Admin can add additional currencies once set up (Answer)
C. Roll up summary fields will calculate incorrectly if children have multiple currencies (Answer)
D. Track Currency changes automatically.
Q.2) A developer is building a custom application using the declarative framework. The developer would like to customize the application user interface
Which customization is available on the page layout? (2 answers)
A. Add custom detail and list buttons (Answer)
B. Add an existing visualforce page to an inline section (Answer)
C. create a three-column section
D. make a field required based on a data value in another field.
Q.3) Universal Containers tracks Candidates as a custom object in a recruiting application. On a candidate
record, the city entered in the City field must be in the state selected in the state field. How would a developer meet this requirement using declarative (point and click) means?
A. Create a dependency on the Address field that ensures only valid cities are selected for a given state.
(Answer)
B. Create a Workflow outbound message that sends city and state information to an external global
database of known cities and states.
C. Create a Formula field on the address object that looks up the state for the entered city.
D. Create a validation rule that checks the city entered against an object to validate the state for the
entered city
Q.4) Job Applications is a custom object with a lookup relationship to the custom object Positions.
A developer would like to modify the Position fields displayed in the console mini view when a job application record is viewed in the console detail view.
What would a developer customize to accomplish this?
A. The mini page layout of the position page layout (Answer)
B. The mini page layout on the Job application page layout
C. The related objects on the job application page layout
D. The related objects on the position page layouts
Q.5) A developer wants to ensure that when a parent record is deleted, child records are not deleted. Which relationship should the developer choose?
A. lookup (Answer)
B. master-detail
C. many-to-many
D. master-to-master
Q.6) All users of a Recruiting Application should be able to edit all positions, except for users X. User X
should be able to see, but NOT edit all positions. How can a developer meet this requirement?
A. Set the organization wide default for positions to public Read/Write and use a Sharing Rule to
restrict user X from editing any position records.
B. Set the organization wide default for positions to Public Read-only and remove user X from the role
hierarchy.
C. Set the organization wide default for position to Public Read-only and use a Sharing Rule to grant edit
access to everyone except user X. (Answer)
D. Set the organization wide default for position to Public Read/Write and remove user X from role
hierarchy.
Q.7) In a recruiting application, all users should be able to see and edit all candidate records, but interviewers should not be able to modify the address of a candidate and should NOT be able to see the birth date of a candidate.
How would a developer meet this requirement?
A. Remove the Edit permission on the candidate from the interviewers profile
B. Set the organization wide defaults for candidates to Edit some fields
C. Set the organization wide default for candidate to Read-Only
D. Use field-level security to control access to the address and birth date fields (Answer)
Q.8) Universal Containers uses a recruiting application with custom objects to track positions and related
interviewers. When a hiring manager creates a new position record, interviewer records for each individual on the interview team also need to be Currently, this process requires a user to create the position, save it, scroll to the interviewer related list, then create a multiple interviewer records.
How would a developer streamline this process?
A. Create a visualforce page that allows position and interviewer data to be input on a single page
(Answer)
B. Create a new validation rule to trigger a pop-up window for a user to input interviewer data
C. Create a new page layout for positions and assign it to a new record type
D. Use a formula field to create a wizard that guides a user through the process.
Q.9) When creating a workflow rule, which action requires a formula as a rule criteria?
A. Checking if the field was modified today
B. Check for value in a field that has changed (Answer)
C. Check if the status is new
D. Check if the users profile is Sys Admin
Explanation
Formula:
PRIORVALUE(TestField__c) <> TestField__c
To check if a field of the object has a particular value or if the profile of the use is a certain one you don't need to write a formula, you can do it using: field, an operator picklist (equals, not equal to, starts with, ...) and a value. There is no way to know if a FIELD was modified today, you can only know the last modified date for the RECORD. Correct
Q.10) A developer needs to perform an automated extract of data from SFDC migration at 2:00 AM. How would this be done?
A. Use the command line interface of a data loader (Answer)
B. Use the schedule manager of import wizard
C. use the data export service to perform nightly extract
D. Use the export scheduler of the Data Loader GUI
Subscribe to:
Posts (Atom)