




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which of the following best describes the purpose of a Local Entity in an OutSystems mobile app? A) Store data permanently on the server B) Cache server data for offline access C) Define UI layout components D) Manage user authentication Answer: B Explanation: Local Entities are stored on the device and are used to cache data so the app can work when there is no network connection. Question 2. When designing a local data model, which practice helps to keep queries fast on the device? A) Normalizing all tables to third normal form B) Storing every column from the server entity C) Denormalizing only the attributes needed for the UI D) Adding many calculated attributes Answer: C Explanation: Denormalizing the model to include only the fields required by the UI reduces joins and speeds up client‑side queries. Question 3. Which OutSystems client‑side action is automatically generated to retrieve records from a Local Entity? A) Get<Entity> B) Fetch<Entity> C) Retrieve<Entity>
D) Load<Entity> Answer: A Explanation: The platform creates a Get<Entity> client action for each Local Entity to fetch its data. Question 4. In an infinite scrolling pattern, which event should you use to load the next page of data? A) OnInitialize B) OnReady C) OnScrollEnd D) OnDestroy Answer: C Explanation: OnScrollEnd (or the List’s “On End Reached” event) is triggered when the user reaches the bottom, allowing the next batch to be loaded. Question 5. Which synchronization type downloads the entire dataset from the server each time it runs? A) Incremental sync B) Hybrid sync C) Full sync D) Delta sync Answer: C Explanation: Full synchronization retrieves all records regardless of previous state, useful for first‑time loads.
D) Re‑create the record on the server Answer: B Explanation: Sending a soft‑delete flag (or a specific delete operation) lets the server know the record should be removed during the next sync. Question 9. Why should data synchronization be executed asynchronously? A) To block the UI until sync finishes B) To keep the UI responsive while data transfers in the background C) To force the user to wait on a splash screen D) To avoid using any server resources Answer: B Explanation: Asynchronous execution prevents the UI from freezing, providing a better user experience. Question 10. Which UI element can be used to inform the user that a background sync is in progress? A) Modal dialog that blocks interaction B) Toast notification that disappears after a few seconds C) Persistent loading spinner or banner D) Hidden label Answer: C Explanation: A persistent spinner or banner keeps the user aware of ongoing background activity without blocking interaction.
Question 11. During app startup, what is a recommended strategy for initial data loading? A) Load all data in a single massive request B) Prioritize small, essential chunks and load them sequentially C) Delay loading until the user taps a button D) Disable offline mode until loading finishes Answer: B Explanation: Loading essential data in small prioritized chunks speeds up startup and reduces the risk of time‑outs. Question 12. Which event should you subscribe to for detecting a change from online to offline status? A) OnInitialize B) NetworkStatusChanged C) OnReady D) OnDestroy Answer: B Explanation: NetworkStatusChanged fires whenever the device’s connectivity changes, allowing the app to react appropriately. Question 13. When the device regains connectivity, which action should typically be triggered? A) Show a “No Internet” error screen B) Immediately close the app
Explanation: OnReady fires after the UI has been rendered, making it safe to manipulate UI components. Question 16. What is the primary purpose of the OnApplicationReady system event? A) To handle screen navigation B) To execute logic once the whole mobile app has been loaded into memory C) To detect network changes D) To destroy the app Answer: B Explanation: OnApplicationReady is triggered when the mobile application finishes its initial loading phase. Question 17. Which of the following is a best practice for client actions in mobile apps? A) Perform heavy database queries inside client actions B) Keep them lightweight and focused on UI manipulation C) Use them to call external web services directly D) Embed large JavaScript libraries Answer: B Explanation: Client actions should be fast and UI‑centric to maintain a smooth user experience. Question 18. When should you use a Server Action instead of a Client Action? A) To change the color of a button B) To execute a complex business rule that accesses the database C) To read a value from a local storage entity
D) To show a loading spinner Answer: B Explanation: Server actions run on the server and are ideal for database transactions and complex logic. Question 19. How can you propagate an exception from a Server Action back to the calling Client Action? A) By returning a Boolean flag only B) By using the “Raise Exception” element in the Server Action C) By silently ignoring the error D) By restarting the app Answer: B Explanation: Raising an exception in a Server Action sends the error to the client, where it can be handled. Question 20. Which Cordova plugin would you use to access the device’s camera? A) geolocation-plugin B) camera-plugin C) vibration-plugin D) accelerometer-plugin Answer: B Explanation: The camera plugin provides APIs to capture photos and videos using the device’s camera.
C) The current screen theme D) The size of the app bundle Answer: B Explanation: Checking plugin availability prevents runtime errors on devices that do not support the plugin. Question 24. Which step is NOT required when generating a native Android APK from OutSystems? A) Installing Android SDK on the build machine B) Configuring a signing keystore C) Creating an iOS provisioning profile D) Setting the App Identifier Answer: C Explanation: An iOS provisioning profile is only needed for iOS builds, not for Android APK generation. Question 25. What is the main difference between a Development and a Production build? A) Development builds are signed with a production certificate B) Production builds include debugging symbols C) Development builds enable debugging and may use a sandbox server D) Production builds cannot be uploaded to the App Store Answer: C
Explanation: Development builds are meant for testing, include debugging capabilities, and often point to a sandbox environment. Question 26. Which change would require a new submission to the App Store? A) Updating the screen layout B) Adding a new Cordova plugin that changes the app’s permissions C) Modifying client‑side validation rules D) Changing a label’s text Answer: B Explanation: Adding a plugin that alters required permissions changes the app binary, necessitating a new store submission. Question 27. Which OutSystems UI pattern is best suited for displaying master‑detail navigation on a phone? A) TabBar B) MasterDetail C) Carousel D) Modal Answer: B Explanation: The MasterDetail pattern provides a list (master) and a detail view optimized for mobile navigation. Question 28. To improve list performance on a mobile screen, you should avoid: A) Using a simple text block for each item
Explanation: Encrypting sensitive data protects it from unauthorized access if the device is compromised. Question 31. Which function is used to check a user’s role in client‑side logic? A) IsUserInRole() B) Check
B) Execute logic when the device loses network connectivity C) Restart the synchronization engine D) Change the app identifier Answer: B Explanation: OnOffline fires when the device goes offline, letting you adapt the UI or pause network‑dependent operations. Question 34. Which of the following statements about the Get<Entity> client action is true? A) It can only retrieve data from server entities B) It automatically performs a background sync before fetching C) It queries the Local Entity stored on the device D) It must be called from a Server Action Answer: C Explanation: Get<Entity> is generated for Local Entities and queries the data cached on the device. Question 35. In a mobile app, where should you store configuration values that never change at runtime? A) In a Local Entity with a single record B) In screen input parameters C) In the client’s cookies D) Hard‑coded in JavaScript
Question 38. Which approach reduces the number of server round‑trips during a sync that includes many changed records? A) Sending each record in an individual request B) Using a bulk upload action that accepts a list of records C) Ignoring local changes and only downloading from the server D) Performing a full sync after every change Answer: B Explanation: Bulk upload actions transmit multiple records in one request, minimizing network overhead. Question 39. What is the effect of setting the “Synchronize on Startup” flag in the mobile app’s properties? A) The app will never sync automatically B) The app initiates a sync as soon as it launches C) The app forces the user to log in before syncing D) The app disables offline mode Answer: B Explanation: Enabling this flag triggers an automatic synchronization when the application starts. Question 40. Which lifecycle event should you use to release resources such as timers when a screen is closed? A) OnInitialize B) OnReady C) OnRender
D) OnDestroy Answer: D Explanation: OnDestroy runs when the screen is being disposed, making it the proper place to clean up resources. Question 41. When a user attempts to open a screen that requires a role they do not have, what is the recommended OutSystems behavior? A) Show the screen with hidden elements B) Redirect to a “No Access” screen or display an error message C) Crash the application D) Automatically grant the role Answer: B Explanation: Proper security handling redirects unauthorized users to an access‑denied screen. Question 42. Which of the following is NOT a typical use case for a Cordova plugin in OutSystems? A) Accessing the device’s accelerometer B) Rendering server‑side HTML C) Using the native file system D) Capturing biometric authentication Answer: B Explanation: Rendering server‑side HTML is done via web technologies, not through a native Cordova plugin.
Answer: A Explanation: The App Identifier (e.g., com.company.app) uniquely identifies the application in the device ecosystem. Question 46. Which of the following is a recommended practice for handling large static images in a mobile app? A) Store them in a Local Entity as Base64 strings B) Load them from a remote CDN with caching headers C) Embed them directly in the UI flow panel D) Convert them to MP3 files Answer: B Explanation: Loading images from a CDN with proper caching reduces app size and improves load times. Question 47. When using Role-Based Security on a client action, what happens if the user lacks the required role? A) The action executes but returns null B) The action is skipped silently C) An exception is thrown that can be caught in the client flow D) The app crashes Answer: C Explanation: Role checks raise an exception that can be handled, preventing unauthorized execution.
Question 48. Which OutSystems feature allows you to automatically retry a failed synchronization when the network becomes available again? A) Sync Retry Scheduler B) NetworkStatusChanged event handler that re‑invokes the sync logic C) Automatic Sync Reset button D) Server‑side cron job Answer: B Explanation: By handling NetworkStatusChanged, you can programmatically restart sync when connectivity returns. Question 49. In a mobile list, which attribute should you set to improve performance when the list items have a fixed height? A) Enable Virtual Scrolling B) Set “Use Fixed Height” to true C) Turn off pagination D) Increase the font size Answer: B Explanation: Declaring a fixed height lets the rendering engine calculate the scroll area more efficiently. Question 50. Which of the following is the correct order of screen events in OutSystems mobile? A) OnReady → OnInitialize → OnRender → OnDestroy B) OnInitialize → OnReady → OnRender → OnDestroy C) OnRender → OnInitialize → OnReady → OnDestroy