Genesys Cloud Cx: Scripting Certification Free Sample Questions

Description

Covers script types and access, working with the Script Editor interface, script lifecycle management, script variables, and secure, data, and transfer actions within scripts.

20 free sample questions238 in the full practice test

Try simulator

GCX-SCR Sample Questions

  1. Question 1

    Advanced

    Actions in Scripts · Secure Actions and Data Actions Integration

    A financial services company is developing a script for agents to process credit card payments over the phone. A key requirement is that the agent must not see or hear the full credit card number, and the recording must be paused during its entry. The script must also perform a real-time address verification (AVS) check via a REST API before submitting the payment. If the AVS check fails, the agent should be presented with specific failure reason codes returned by the API. Which combination of actions is required to build this script according to best practices?

    Answer and explanation

    Correct answer: B

    This is the correct approach. The 'Scripter.Secure Pause' action is specifically designed for PCI compliance; it pauses the recording and prevents the agent from seeing the sensitive input. A 'Call Data Action' is the standard method for REST API integration. Critically, its 'Failure Outputs' can be mapped to script variables to process and display specific error messages returned by the AVS service, fulfilling all requirements.

  2. Question 2

    Intermediate

    Variables in Scripts · Local vs Global Variables

    A script designer is creating a multi-page wizard for a complex service provisioning process. On the first page, the agent enters a customer ID. On the second page, this ID is used to fetch customer details. On the third page, the agent selects services based on the fetched details. The designer observes that the customer ID is lost when navigating from the second to the third page. What is the most likely cause of this issue?

    Answer and explanation

    Correct answer: C

    Local variables are scoped only to the page on which they are defined. When the agent navigates to a new page, the local variable from the previous page is destroyed. To persist data across multiple pages within a single script execution, the variable must be defined with a global scope.

  3. Question 3

    Beginner

    Script Management · Publishing Scripts

    True or False: Once a script is published, any subsequent edits and saves to that script are immediately reflected for agents currently using it, without requiring republication.

    Answer and explanation

    Correct answer: B

    This is false. Publishing a script creates a static, numbered version that agents will use. Any subsequent edits create a new draft. For these changes to become active for agents, the script must be explicitly published again, which creates a new version.

  4. Question 4

    IntermediateMultiple answers

    Script Management · Export and Import Features

    A development team manages scripts across separate sandbox and production Genesys Cloud organizations. To ensure consistency and reduce manual effort, they want to implement a standardized process for promoting scripts. Which actions should be part of their standard operating procedure? (Select TWO)

    Answer and explanation

    Correct answers: B, C

    Exporting the script from the source organization is the first step in the migration process. This creates a JSON file that contains the script's definition.

    Importing the previously exported JSON file into the target organization is the second step. This recreates the script and its components, variables, and actions, ensuring consistency.

  5. Question 5

    Intermediate

    Actions in Scripts · Screen Pop Data Actions

    During a script review, you notice a 'Screen Pop' action is configured to trigger on the 'Page Load' event. Agents have reported that the screen pop sometimes appears before the customer's information has been fully loaded by a preceding Data Action. You need to ensure the screen pop only occurs after the customer data is successfully retrieved.

    Which change should be made to fix this timing issue?

    flowchart TD A[Page Load] --> B{Call Customer Data Action} A --> C[Screen Pop Action] B --> D[Populate Fields]

    Answer and explanation

    Correct answer: A

    The problem is that the Screen Pop and Data Action are firing in parallel from the 'Page Load' event. To fix this, the 'Screen Pop' action should be removed from the 'Page Load' event and instead be chained to the 'Success' output of the 'Call Data Action'. This creates a dependency, guaranteeing the data has been successfully fetched before the screen pop is triggered.

    flowchart TD A[Page Load] --> B{Call Customer Data Action} B -- Success --> C[Populate Fields] C --> D[Screen Pop Action] B -- Failure --> E[Handle Error]

  6. Question 6

    Beginner

    Overview of Scripting · Types of Scripts in Genesys Cloud

    A contact center needs to provide agents with a script for handling inbound email interactions. The script must display the email body, subject line, and allow the agent to categorize the email using a dropdown list before sending a reply. Which script type must be selected when creating this script?

    Answer and explanation

    Correct answer: C

    Genesys Cloud provides specific script types for different interaction channels. For handling emails, the 'Inbound Email' script type must be used. This type provides built-in components and variables specifically for accessing email content like the body and subject.

  7. Question 7

    Advanced

    Variables in Scripts · Custom Script Variables

    A Data Action returns a JSON array of customer order objects. A developer needs to display the 'orderId' and 'status' of each order in a formatted text area within the script. The variable storing the result is named 'Orders.OrderHistory'. Which approach correctly processes this array?

    Answer and explanation

    Correct answer: C

    When a Data Action returns a JSON array, the corresponding script variable should be of the 'Dynamic' type. This allows the scripting engine to treat it as a collection. The 'Count(Orders.OrderHistory)' expression can be used to get the number of items, and 'GetAt(Orders.OrderHistory, index)' can be used within a loop to access each object and its properties (e.g., 'GetAt(Orders.OrderHistory, index).orderId').

  8. Question 8

    Intermediate

    Script Management · Script and Component Templates

    A script administrator is tasked with updating the company logo displayed on all 50 of the contact center's scripts. Each script uses a simple 'Image' component. To avoid manually editing each script, the administrator wants to use the most efficient method available. What is the recommended approach?

    Answer and explanation

    Correct answer: B

    This scenario highlights the primary benefit of using component templates for reusable elements. If the logo was initially deployed via a component template, the administrator only needs to edit the template itself. Once the template is saved, the change propagates to all scripts that reference it. The scripts would then need to be republished to make the change live for agents.

  9. Question 9

    Intermediate

    Actions in Scripts · Contact List Integration

    A contact center is running a preview campaign. The script needs to allow agents to add a new person to the campaign's contact list if they discover a new lead during a call. Which action and prerequisite are necessary to enable this functionality?

    Answer and explanation

    Correct answer: A

    The dedicated action for this is 'Outbound.CreateContact'. However, this action will only function if a contact list has been explicitly associated with the script on the script's settings page. This association tells the script which contact list to add the new record to.

  10. Question 10

    Intermediate

    Variables in Scripts · Built-in Variables

    A script needs to display the current date and time formatted as 'YYYY-MM-DD HH:mm:ss'. Which built-in variable or expression should be used to achieve this?

    Answer and explanation

    Correct answer: A

    The Now() function returns the current date and time. To format it into a specific string representation, it must be passed to the FormatDateTime function along with a string specifying the desired format pattern. The pattern 'yyyy-MM-dd HH:mm:ss' matches the requirement exactly.

Register free for 10 more questions

Or unlock all 238 GCX-SCR questions with explanations, timed mode and flashcards.