Docsity

Associate Reactive Developer OutSystems 11 Practice Exam, Exams of Technology

Toggle sidebar
bg1
Associate Reactive Developer OutSystems
11 Practice Exam
**Question 1.** In a Reactive Web application, which component is responsible for rendering
the UI on the client side after the initial HTML is loaded?
A) Server Action
B) Screen Lifecycle OnInitialize event
C) JavaScript bundle generated by Service Studio
D) Data Action
Answer: C
Explanation: OutSystems compiles the UI into a JavaScript bundle that runs in the browser,
handling client‑side rendering for Reactive Web apps.
**Question 2.** Which of the following statements best describes the difference between a
Reactive Web app and a Traditional Web app in OutSystems?
A) Reactive apps store data only on the client, while Traditional apps store data only on the
server.
B) Reactive apps use client‑side rendering and asynchronous calls; Traditional apps rely on full
page post‑backs.
C) Reactive apps cannot use aggregates, whereas Traditional apps can.
D) Reactive apps do not support server actions.
Answer: B
Explanation: Reactive apps render UI in the browser and communicate with the server via
asynchronous calls, whereas Traditional apps refresh the whole page on each request.
**Question 3.** Which Screen Lifecycle event is triggered **after** the screen’s UI has been
rendered but **before** the user can interact with it?
A) OnInitialize
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Associate Reactive Developer OutSystems 11 Practice Exam and more Exams Technology in PDF only on Docsity!

11 Practice Exam

Question 1. In a Reactive Web application, which component is responsible for rendering the UI on the client side after the initial HTML is loaded? A) Server Action B) Screen Lifecycle OnInitialize event C) JavaScript bundle generated by Service Studio D) Data Action Answer: C Explanation: OutSystems compiles the UI into a JavaScript bundle that runs in the browser, handling client‑side rendering for Reactive Web apps. Question 2. Which of the following statements best describes the difference between a Reactive Web app and a Traditional Web app in OutSystems? A) Reactive apps store data only on the client, while Traditional apps store data only on the server. B) Reactive apps use client‑side rendering and asynchronous calls; Traditional apps rely on full page post‑backs. C) Reactive apps cannot use aggregates, whereas Traditional apps can. D) Reactive apps do not support server actions. Answer: B Explanation: Reactive apps render UI in the browser and communicate with the server via asynchronous calls, whereas Traditional apps refresh the whole page on each request. Question 3. Which Screen Lifecycle event is triggered after the screen’s UI has been rendered but before the user can interact with it? A) OnInitialize

11 Practice Exam

B) OnReady C) OnRender D) OnDestroy Answer: C Explanation: OnRender fires after the DOM is built and the screen is displayed, allowing final UI adjustments before user interaction. Question 4. When should you place a data fetch operation that must run once when a screen opens? A) Inside a Client Action called from OnReady B) Inside a Server Action called from OnInitialize C) Inside a Data Action bound to the screen’s data source with “Auto Fetch” enabled D) Inside a Client Action called from OnDestroy Answer: C Explanation: Setting “Auto Fetch” on a screen’s data source makes the aggregate run automatically during the screen’s initialization phase, fetching data only once. Question 5. The OnParametersChanged event is triggered in which of the following situations? A) When a screen’s URL parameters are modified by the user. B) When a Block’s input parameters receive new values. C) When a client variable is updated. D) When a site property value changes at runtime.

11 Practice Exam

A) Service Center B) Service Studio Debugger C) Lifetime D) Forge Answer: B Explanation: The Service Studio Debugger provides breakpoints and step‑through capabilities for client actions, server actions, and data fetches. Question 9. In Service Center, where would you look to find performance metrics for a specific screen’s load time? A) Modules → Dependencies B) Monitoring → Sessions → Screen Performance C) Applications → Users → Roles D) Environment → Licenses Answer: B Explanation: The Monitoring → Sessions section shows detailed performance data, including screen load times and request durations. Question 10. Which basic data type should you use to store a monetary amount that requires currency formatting? A) Decimal B) Currency C) Integer D) Text

11 Practice Exam

Answer: B Explanation: The Currency data type stores numeric values with built-in currency formatting and rounding behavior. Question 11. When modeling a list of fixed categories (e.g., “Open”, “Closed”, “Pending”), which OutSystems construct is most appropriate? A) Entity with a Boolean attribute B) Static Entity C) List of Text variables D) Client Variable of type List Answer: B Explanation: Static Entities are designed for predefined, unchanging lists of values and are stored in the database as lookup tables. Question 12. Which automatically generated action is used to insert a new record into an Entity? A) CreateOrUpdate B) Update C) Delete D) Create Answer: D Explanation: The Create action inserts a new record; CreateOrUpdate decides between insert and update based on the record’s identifier.

11 Practice Exam

C) Hard‑coded SQL statement D) Server Action parameter Answer: B Explanation: Dynamic filters use variables (often bound to input widgets) that are evaluated at runtime, enabling user‑driven filtering. Question 16. To group data by a field and calculate the total of another field, which Aggregate feature should you use? A) Sort B) Join C) Group By with an aggregation function (e.g., Sum) D) Filter Answer: C Explanation: The Group By clause groups rows, and you can apply aggregation functions such as Sum to compute totals per group. Question 17. Which of the following is the recommended place to pass input parameters to an Aggregate that is used on a screen? A) Directly in the Aggregate’s static filter values. B) As screen input parameters bound to the Aggregate’s “Input Parameter” list. C) Inside a Client Action that runs after the screen loads. D) In the Service Center configuration. Answer: B

11 Practice Exam

Explanation: Screen input parameters can be linked to the Aggregate’s input parameters, ensuring the Aggregate receives the values each time it runs. Question 18. The After Fetch event of a Data Action is useful for: A) Defining the SQL query that retrieves data. B) Performing additional processing or validation after the data is retrieved. C) Setting the screen’s title. D) Deleting the fetched records. Answer: B Explanation: After Fetch runs after the data retrieval, allowing you to manipulate, validate, or transform the data before it is used. Question 19. Which element in a Logic Flow is used to repeat a set of actions for each record in a list? A) If B) For Each C) Assign D) Throw Answer: B Explanation: The For Each element iterates over a list, executing its child actions for each item. Question 20. When should you prefer a Client Action over a Server Action? A) When you need to access the database directly. B) When the operation involves heavy CPU processing on the server.

11 Practice Exam

Question 23. Which widget property ensures that a form input cannot be left empty? A) Visible B) Mandatory C) ReadOnly D) Placeholder Answer: B Explanation: Setting the Mandatory property to “Yes” forces the user to provide a value before the form can be submitted. Question 24. To display a validation message next to an input widget after a custom check, which property should you set? A) Validation Message B) Hint C) Tooltip D) Placeholder Answer: A Explanation: The Validation Message property shows a custom error message when the widget’s validation fails. Question 25. The Form.Valid property is used to: A) Determine whether the form has any mandatory fields. B) Check if all validations on the form have passed before proceeding. C) Reset the form fields to their default values.

11 Practice Exam

D) Enable the form’s submit button. Answer: B Explanation: Form.Valid returns true only when every widget on the form satisfies its validation rules. Question 26. Which OutSystems widget is most appropriate for displaying a paginated list of records retrieved by an Aggregate? A) Container B) List (Infinite Scroll) C) Table D) Link Answer: C Explanation: The Table widget includes built‑in pagination controls and works well with aggregates that return tabular data. Question 27. To conditionally hide a section of a screen based on a Boolean variable, which widget should you use? A) List B) If C) Container D) Link Answer: B

11 Practice Exam

B) By reading a Site Property. C) Via Input Parameters defined on the Block. D) By accessing the screen’s aggregate directly. Answer: C Explanation: Input Parameters are the designated way to pass data into a Block from its parent screen or another Block. Question 31. Which of the following is the correct way for a Block to notify its parent screen that a user performed an action? A) Call a Server Action directly from the Block. B) Raise a custom Event defined on the Block and handle it on the screen. C) Update a global Client Variable. D) Change a Site Property value. Answer: B Explanation: Blocks can define Events; the parent screen can subscribe to these events to react when they are raised. Question 32. The On Parameters Changed lifecycle event of a Block is triggered when: A) The Block’s internal client variables are updated. B) The screen is refreshed. C) Any of the Block’s input parameters receive a new value. D) The user clicks a button inside the Block. Answer: C

11 Practice Exam

Explanation: This event fires whenever the Block’s input parameters change, allowing the Block to react to new data. Question 33. In the context of modular development, a Producer module is: A) A module that consumes reusable elements from other modules. B) A module that defines and exposes reusable elements for other modules. C) A module that only contains UI screens. D) A module that cannot be referenced by any other module. Answer: B Explanation: Producers expose entities, actions, and UI components that Consumers can import and reuse. Question 34. When you refresh a reference to a Producer module in Service Studio, what happens? A) All existing data in the Producer’s database is deleted. B) The Consumer’s compiled application is automatically redeployed. C) The latest version of the Producer’s exposed elements is pulled into the Consumer. D) The Consumer’s dependencies are removed. Answer: C Explanation: Refreshing updates the Consumer with any changes made to the Producer’s public APIs. Question 35. Which naming convention is recommended for core reusable actions that are shared across multiple applications?

11 Practice Exam

Answer: C Explanation: Assigning the Administrator role to the screen ensures only users with that role can navigate to it. Question 38. Which OutSystems action allows you to verify that the current user has a specific role within a logic flow? A) GetUserRoles B) Check Role C) IsAuthenticated D) GetSessionUser Answer: B Explanation: The Check Role action returns true if the current user possesses the specified role, enabling fine‑grained permission checks. Question 39. Which of the following best describes the purpose of Site Properties in a multi‑environment deployment (e.g., Development, Testing, Production)? A) They store user‑specific preferences. B) They allow environment‑specific configuration values without recompiling the application. C) They replace the need for database migrations. D) They are only used for UI theming. Answer: B Explanation: Site Properties can be set per environment, enabling different configurations (e.g., API endpoints) without changing code.

11 Practice Exam

Question 40. When should you use a Static Entity instead of a regular Entity? A) When the data changes frequently and needs CRUD operations. B) When the list of values is fixed and rarely changes, such as status codes. C) When you need to store large binary files. D) When you need to expose the data via a REST API. Answer: B Explanation: Static Entities are ideal for immutable lookup tables; they are generated as database tables but are managed through the IDE. Question 41. Which aggregate join type returns records from the left entity even if there is no matching record in the right entity? A) Inner Join B) Left Outer Join C) Right Outer Join D) Full Outer Join Answer: B Explanation: Left Outer Join includes all rows from the left entity and matches rows from the right when they exist. Question 42. To limit the number of rows returned by an Aggregate to the first 10 records, you should: A) Add a Filter with “RowNumber < 10”. B) Set the “Maximum Records” property of the Aggregate to 10. C) Use a Server Action to truncate the list.

11 Practice Exam

Explanation: OnDestroy runs when the screen is about to be disposed, allowing cleanup of resources. Question 45. When you need to call a Server Action from a Client Action, which OutSystems construct should you use? A) Direct function call syntax. B) “Execute Server Action” node. C) “Run JavaScript” node. D) “Refresh Data” node. Answer: B Explanation: The “Execute Server Action” node allows a client flow to invoke a server‑side action and handle its result. Question 46. Which of the following exceptions is considered a system exception in OutSystems? A) ValidationException B) BusinessException C) DatabaseException D) CustomUserException Answer: C Explanation: DatabaseException originates from the platform runtime and is classified as a system exception. Question 47. To prevent a Server Action from being called by unauthorized users, you should:

11 Practice Exam

A) Set the action’s “Public” property to false. B) Use a Check Role action at the beginning of the Server Action. C) Rename the action with a “_Secure” suffix. D) Place the action inside a Block. Answer: B Explanation: Adding a Check Role ensures only users with the required role can execute the action, providing security at the logic level. Question 48. Which widget property allows you to bind a List widget to a client‑side variable that holds a List of records? A) Source Variable B) Data Source C) Items Variable D) List Variable Answer: C Explanation: The “Items Variable” property specifies the client‑side List variable that provides the data to the List widget. Question 49. When using the If widget for conditional rendering, what happens to the else branch if the condition evaluates to true? A) It is still rendered but hidden with CSS. B) It is not rendered at all. C) It throws a runtime error. D) It is compiled but not executed.