2024 Practice Exam Questions Flashcards

1
Q

At what intervals does NetSuite purge script execution logs?
a. Every 30 days
b. Every 60 days
c. Every 90 days
d. Every 120 days

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A developer created both client and user event scripts to validate changes on both ends. What is the
correct entry point-script type combination for both sides?
a. afterSubmit entry point in the client script and saveRecord entry point in the user event script.
b. validateField entry point in the client script and validateInsert entry point in the user event
script.
c. sublistChanged entry point in the client script and beforeSubmit in the user event script.
d. beforeLoad entry point in the client script and pageInit in the user event script.

A

Answer: C
sublistChanged entry point in the client script and beforeSubmit in the user event script.

SuiteScript 2.x Script Types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which one is a best practice when improving performance of a script execution?
a. Use multiple reloads of a record.
b. Avoid loading a record on an afterSubmit trigger.
c. Minimize API calls that perform load, search, or save record operations.
d. Deploy script as an Administrator

A

Answer: B
Avoid loading a record on an afterSubmit trigger.

SuiteScript Best Practices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What field type is NOT supported with N/ui/serverWidget’s addField() method?
a. Email
b. Textarea
c. Password
d. DateTime
e. Phone

A

Answer: D
DateTime

The DATETIME field type is not supported with addField methods, you must specify DATETIMETZ.

serverWidget.FieldType

N/ui/serverWidget Module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. You are developing a customization which requires running complex queries to retrieve NetSuite data
    using SuiteQL. Which two (2) SQL specifications does SuiteQL support?
    a. Oracle SQL
    b. T-SQL
    c. SQL-92
    d. PL/SQL
    e. PostgreSQL
A

Answer: A & C
Oracle SQL & SQL-92

SuiteQL is a query language based on the SQL-92 revision of the SQL database query language.

SuiteQL supports the syntax for both SQL-92 and Oracle SQL. However, you cannot use both syntaxes in the same query.

SuiteQl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which module does not have to be explicitly loaded in an entry point client script?
a. N/record
b. N/search
c. N/runtime
d. N/currentRecord

A

Answer: D
N/currentRecord

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which API is the most efficient way to retrieve a few body field values from a record with governance
usage in mind?
a. search.load(options)
b. record.load(options)
c. search.lookupFields(options)
d. record.submitFields(options)

A

Answer: C
search.lookupFields(options)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. Which of the following HTTP methods is NOT supported in N/http and N/https modules?
    a. GET
    b. PUT
    c. PATCH
    d. DELETE
A

Answer: C
PATCH

N/http
N/https

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which statement is true when using the N/runtime module?
a. It allows you to view settings for the script, the session, or the user.
b. It allows you to check whether a particular custom record is in your account.
c. It allows you to modify the features enabled in your account.
d. It allows you to check accounting preferences.

A

Answer: A
It allows you to view settings for the script, the session, or the user.

You can also use this module to set a session key and to see whether a particular feature is enabled in your account.

N/runtime Module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A new SuiteCloud Development Framework (SDF) project has been created which includes a user event
script custom object.
Which setting would specify that the object will only run for records with Canada as its localization
context?
a. Specify “Canada” on the localizationcontext field and alllocalizationcontexts should be
set to “F” on the XML definition
b. XML Definition should set alllocalizationcontexts field equal to “Canada”.
c. “Canada” should be set on getlocalization field and alllocalizationcontexts should be set
to F on the XML definition.
d. Country-based localization is not supported with SDF.

A

Answer: A
Specify “Canada” on the localizationcontext field and alllocalizationcontexts should be
set to “F” on the XML definition

Localization Context Filtering in SDF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A map/reduce script can be interrupted at any time. For example, a disruption to the application server
immediately stops the script’s execution. How do you handle script interruptions? (Choose 2)
a. Add a try/catch code block in your script.
b. Set the retryCount option in the script.
c. Configure the buffer size on the script deployment.
d. Set the exitOnError option in the script.
e. Enable “Submit All Stages at once” configuration

A

Answer: B & D
Set the retryCount option in the script.
&
Set the exitOnError option in the script.

System Response After a Map/Reduce Interruption

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A Saved Search that was created for a scheduled workflow does not appear on Saved Search Filter dropdown field. What can be a reason for that? (Choose 2)
a. Execute as Admin box on workflow settings is not checked
b. Saved Search is not created for the same record type
c. No filter is set under Available Filters subtab on Saved Search settings
d. No filter is set under Criteria subtab on Saved Search settings
e. Public box on Saved Search settings is not checked

A

Answer: B & D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which two statements are true about the Workflow Confirm Action? (Choose 2)
a. It only supports Client Triggers.
b. Action executes upon clicking any standard buttons.
c. Action executes upon clicking custom workflow buttons.
d. Action executes in View mode.
e. Action executes only in Edit mode upon clicking the Save button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In the workflow definition shown, there is no transition conditions between State 1 and the two states
below it. Both State 2 and 3 are configured to transition on click of a button added through Add Button.
How would the workflow behave when the Add Button is clicked?

a. The workflow first transitions to State 2 and then to State 3.
b. The workflow stays in State 1 and would not perform any transition.
c. The workflow will transition to the state that is listed first under the Transition subtab of State 1.
d. The workflow lets the user decide (via workflow button) to which state the workflow should
transition.

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which trigger type actions will execute first as it transitions to another state?
a. Before Record Load
b. Before User Edit
c. Entry
d. Scheduled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which two triggers support the Confirm workflow action?
a. Before Field Edit
b. Before Record Load
c. Before Record Submit
d. Before User Submit

17
Q

Which tag can add a page break in an Advanced PDF template?
~~~
a. <br></br>
b. <pbr></pbr>
c. <page-break></page-break>
d. <nxt-pge></nxt-pge>
~~~

18
Q

The current day’s day value needs to be converted to string and store it in a custom field. What formula
can be used to achieve this?
a. TO_DATE({trandate}, ‘DAY’)

b. TO_CHAR({trandate}, ‘DAY’)

c. TO_STRING({today}, ‘DAY’)

d. TRUNC({today},’DD’)

19
Q

An Account Customization project contains the following custom list, and a developer wants to lock this
object to prevent other users from adding values to the object.

You added the following preference into the locking file and deployed the project without any errors.

However, the custom list still shows as unlocked in the NetSuite UI.
Which is the correct way to lock the object?
a. The defaultAction should be set to LOCK, and this preference will apply to all objects. Ignore all
other preferences.
b. Locking objects is not supported in account customization projects, only in SuiteApp projects.
c. The syntax is incorrect, and the object tag must be updated to

<customlist>customlist_summary_type</customlist>

.
d. SuiteCloud Development Framework (SDF) does not support locking custom lists as custom objects.

20
Q

Which XML files must be placed in the InstallationPreferences folder of an SDF SuiteApp project?
(Choose 3)
a. locking.xml
b. hiding.xml
c. manifest.xml
d. deploy.xml
e. overwrite.xml

21
Q

Which N/ module can be used to offload long-running processes in a user event script into a scheduled
script?
a. N/cache
b. N/task
c. N/render
d. N/redirect

A

Answer: B
N/task Module

22
Q

There are currently 8 User Event scripts on the Sales Order record in your account. Five (5) of which are
yours. Viewing, editing, and saving a sales order takes almost a minute. Which action can be taken to
improve performance with minimal impact?
a. Move all five (5) scripts to the top from the Scripted Records page
b. Consolidate the five (5) scripts to one (1)
c. Undeploy two (2) of your user event scripts
d. Undeploy the other three (3) scripts

23
Q

Which SuiteScript module can be used to encrypt and decipher values?
a. N/https
b. N/auth
c. N/crypto
d. N/decode