


















































































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. In OutSystems Mobile, which entity type stores data directly on the device? A) Server Entity B) Remote Entity C) Local Entity D) Cloud Entity Answer: C Explanation: Local Entities are persisted on the device’s SQLite database, enabling offline access. Question 2. Which data type is NOT supported for a Local Entity attribute? A) Text B) DateTime C) Binary (Blob) D) Decimal Answer: C Explanation: Local Entities cannot store binary large objects; they only support scalar types like Text, Integer, Decimal, DateTime, etc. Question 3. When creating a Local Entity, which identifier type is automatically generated? A) Integer Auto‑Increment B) GUID (UUID) C) Custom String D) Sequential Number Answer: B Explanation: OutSystems generates a UUID for Local Entity primary keys to avoid collisions across devices.
Question 4. Which action is used to insert or update a record in a Local Entity? A) CreateOrUpdateLocalEntity B) SaveLocalEntity C) CreateOrUpdate D) SyncLocalEntity Answer: C Explanation: The generic CreateOrUpdate action works for both Server and Local Entities, handling insert or update logic. Question 5. What is the primary benefit of using a Local Entity instead of fetching data on demand from the server? A) Faster network latency B) Reduced server licensing cost C) Offline availability of data D) Automatic data encryption Answer: C Explanation: Local Entities enable the app to operate without network connectivity. Question 6. Which OutSystems built‑in action triggers the synchronization process between device and server? A) SyncData B) OfflineDataSync C) StartSync D) PushSync Answer: B
Explanation: Last Write Wins overwrites older changes with the most recent update based on timestamps. Question 10. When using Conflict Detection sync, what does the _SyncStatus attribute indicate? A) Whether the record was created locally B) If the record is pending upload C) The result of the last sync attempt for that row D) The server’s last modification date Answer: C Explanation: _SyncStatus stores the outcome (e.g., Conflict, Uploaded, Downloaded) of the most recent sync for each row. Question 11. Which OutSystems API helps determine the current network state? A) NetworkInfo.GetStatus() B) Connectivity.IsOnline() C) Device.Network.IsConnected() D) Mobile.GetNetworkStatus() Answer: B Explanation: Connectivity.IsOnline() returns true when the device has internet access. Question 12. To manually trigger a sync only when the user presses a button, which combination should be used? A) Call OfflineDataSync inside a Client Action and set AutoSync = False B) Set SyncOnDemand = True and call RefreshData C) Use OnSync event and enable ManualSync flag
D) Call SyncNow() from a Server Action Answer: A Explanation: Disabling automatic sync and invoking OfflineDataSync from a client‑side button gives full manual control. Question 13. Which screen lifecycle event occurs after the UI is rendered but before the user can interact? A) OnInitialize B) OnReady C) OnRender D) OnDestroy Answer: B Explanation: OnReady fires when the screen is fully rendered and ready for user interaction. Question 14. The OnInitialize event is best used for: A) Loading heavy data sets synchronously B) Setting default variable values and preparing UI state C) Cleaning up resources after the screen is closed D) Handling device orientation changes Answer: B Explanation: OnInitialize runs once when the screen is created, ideal for initializing variables and UI. Question 15. Which pattern improves perceived performance when displaying large lists on mobile? A) Pagination with fixed page size B) Infinite Scrolling with lazy loading
Answer: C Explanation: Android requires the CAMERA permission to access the device’s camera hardware. Question 19. In OutSystems, how do you add a third‑party Cordova plugin that is not in the Forge? A) Upload a .zip file to the Mobile Plugins module B) Use the Add Cordova Plugin option and specify the npm package name C) Write a custom JavaScript wrapper and embed it in the UI D) Edit the AndroidManifest.xml manually Answer: B Explanation: The Add Cordova Plugin dialog lets you reference any npm‑published Cordova plugin. Question 20. Which plugin would you use to read a barcode from the device’s camera? A) cordova-plugin-qrscanner B) cordova-plugin-barcodescanner C) cordova-plugin-scanner D) cordova-plugin-zxing Answer: B Explanation: cordova-plugin-barcodescanner provides barcode and QR code scanning capabilities. Question 21. The Touch ID / Face ID plugin is primarily used for: A) Storing encrypted files on the device
B) Authenticating users via biometric data C) Capturing device orientation D) Accessing the device’s microphone Answer: B Explanation: This plugin enables biometric authentication, allowing users to log in using fingerprint or facial recognition. Question 22. When a user denies a permission request, the recommended handling is: A) Crash the app to force re‑installation B) Silently ignore the denial C) Show a friendly message explaining why the permission is needed and offer to retry D) Automatically grant the permission via root access Answer: C Explanation: Best practice is to inform the user and provide a way to request the permission again. Question 23. Which file contains the list of Cordova plugins used by an OutSystems mobile app? A) config.xml B) pluginlist.json C) cordova_plugins.js D) manifest.json Answer: A Explanation: config.xml defines all Cordova plugins and platform-specific settings for the generated app. Question 24. To generate an Android AAB (Android App Bundle) instead of an APK, you must:
Question 27. How does OutSystems implement In‑App Updates for mobile apps? A) By pushing new binary packages to the store automatically B) By updating only the server‑side logic; the client downloads the changes at runtime C) By requiring users to download a new version from the store each time D) By using OTA (Over‑The‑Air) firmware flashing Answer: B Explanation: OutSystems separates UI/logic from the native binary, allowing server‑side changes to be delivered instantly without a store update. Question 28. When debugging a mobile app with a physical device, which Chrome tool is most useful? A) Network tab B) Sources > Debugger (Remote Devices) C) Application > Storage D) Performance > Timeline Answer: B Explanation: Chrome’s Remote Devices feature lets you attach to the device’s WebView and step through client actions. Question 29. In Service Center, which log type contains errors generated by native plugin failures? A) Server Events B) Mobile Errors C) Integration Logs D) Deployment Logs Answer: B
Explanation: Mobile Errors captures exceptions thrown by native code, Cordova plugins, or the sync engine. Question 30. If a generated iOS app fails to install because of a mismatched certificate, the most likely cause is: A) Using an Android keystore for iOS signing B) Missing the CFBundleIdentifier entry C) The provisioning profile does not contain the device’s UDID D) The app exceeds the 100 MB size limit Answer: C Explanation: iOS installation requires that the provisioning profile includes the target device’s UDID; otherwise the certificate is considered mismatched. Question 31. Which lifecycle event is called exactly once when a screen is removed from memory? A) OnInitialize B) OnReady C) OnDestroy D) OnRefresh Answer: C Explanation: OnDestroy runs when the screen instance is disposed, allowing cleanup of resources. Question 32. For optimal mobile performance, which practice should be avoided in client actions? A) Using Assign statements to set local variables B) Performing heavy calculations on the client side C) Calling FetchData (Server Action) from a client action
B) The number of records synchronized C) A JSON object with sync summary (Created, Updated, Deleted) D) Nothing; it raises exceptions on error Answer: C Explanation: The action returns a SyncResult structure containing counts of created, updated, and deleted records. Question 36. Which of the following is NOT a valid Sync Conflict Resolution option in OutSystems? A) Server Wins B) Client Wins C) Merge with custom logic D) Discard All Changes Answer: D Explanation: OutSystems provides Server Wins, Client Wins, and custom merge actions; “Discard All Changes” is not a built‑in option. Question 37. To detect if the device is offline, which expression should you use? A) Connectivity.IsOnline() = False B) Device.Network.Status = "Offline" C) Not(Network.IsConnected) D) SyncEngine.IsOffline() Answer: A Explanation: Connectivity.IsOnline() returns a Boolean; checking for false determines offline status. Question 38. Which attribute of a Local Entity can be indexed for faster queries?
A) Primary Key only B) Any attribute marked as Indexed in the entity definition C) Only Text attributes D) No attributes can be indexed locally Answer: B Explanation: OutSystems allows you to mark any attribute as Indexed, creating a SQLite index for better query performance. Question 39. In a mobile app, where should you store sensitive data such as authentication tokens? A) In a Local Entity attribute of type Text B) In the device’s Shared Preferences via a custom plugin C) In the Secure Storage plugin (cordova-plugin-secure-storage) D) In a plain JavaScript variable Answer: C Explanation: The Secure Storage plugin encrypts data at rest, providing a safe place for tokens. Question 40. Which OutSystems component is responsible for transforming the UI into native code during build? A) Service Center B) Integration Builder C) Native Builder (OutSystems Mobile Build Service) D) Reactive Engine Answer: C Explanation: The Native Builder compiles the web‑based UI into native Android/iOS binaries.
Explanation: Requesting location on demand reduces power usage compared to continuous high‑accuracy tracking. Question 44. Which Cordova plugin provides geofencing capabilities? A) cordova-plugin-geolocation B) cordova-plugin-background-geolocation C) cordova-plugin-location-services D) cordova-plugin-fence Answer: B Explanation: cordova-plugin-background-geolocation supports geofencing and background location tracking. Question 45. When generating an iOS app, which Build Configuration should be selected for a production release? A) Debug B) Release C) Staging D) TestFlight Answer: B Explanation: Release builds are signed with production certificates and optimized for performance. Question 46. Which of the following is a best practice for handling large images captured by the camera on mobile? A) Store the full‑resolution image in a Local Entity B) Immediately upload the image to the server without compression C) Resize/compress the image on the client before storage or upload
D) Save the image as a Base64 string in a Text attribute Answer: C Explanation: Resizing/compressing reduces memory usage and network bandwidth. Question 47. In OutSystems Mobile, the List widget’s Fetch More event is triggered when: A) The user taps a “Load More” button B) The list reaches the bottom of its scrollable area C) The app starts D) The device regains network connectivity Answer: B Explanation: Fetch More fires automatically as the user scrolls to the end, enabling infinite scrolling. Question 48. Which property of a Screen controls whether the hardware back button on Android triggers a navigation event? A) EnableBackButton B) BackButtonAction C) OnBackButtonPressed D) AllowHardwareBack Answer: C Explanation: The OnBackButtonPressed event lets developers define custom behavior for the Android back button. Question 49. To debug a sync issue where records are not uploaded, which Service Center log filter should you enable? A) Mobile Sync Errors B) Database Queries
A) Stores the exact time the record was created on the device B) Tracks the last time the record participated in a sync operation C) Used to encrypt the record for secure storage D) Indicates the server’s timezone offset Answer: B Explanation: _SyncTimestamp helps the sync engine determine whether a record has been modified since the last sync. Question 53. Which of these UI patterns is NOT natively supported by OutSystems Mobile? A) Swipe to Delete B) Drag and Drop reorder C) Pull‑to‑Refresh D) Infinite Scrolling Answer: B Explanation: Drag‑and‑drop reordering requires custom JavaScript; it is not a built‑in mobile pattern. Question 54. When you need to store a large JSON payload locally, which approach is recommended? A) Create a Text attribute in a Local Entity and store the JSON string B) Use the File System plugin to write a .json file C) Store it in a Server Entity and fetch on demand D) Encode it as Base64 and store in Binary attribute Answer: B Explanation: The File System plugin allows writing files to the device’s storage, which is more efficient for large blobs than a Text field.
Question 55. Which of the following statements about Progressive Web Apps (PWAs) is true? A) PWAs can be submitted to the Apple App Store as native apps. B) PWAs require a Service Worker to enable offline caching. C) PWAs automatically have access to all native device sensors. D) PWAs are built using Java FX. Answer: B Explanation: Service Workers provide background caching and offline capabilities for PWAs. Question 56. To detect the device’s current orientation (portrait or landscape) in a client action, which function should you use? A) Device.GetOrientation() B) Screen.Orientation() C) ClientAPI.GetOrientation() D) Platform.GetDeviceOrientation() Answer: A Explanation: Device.GetOrientation() returns the current orientation enum. Question 57. Which OutSystems built‑in method allows you to encrypt a string before storing it locally? A) Crypto.EncryptAES() B) Security.Encrypt() C) Encryption.Encode() D) Crypto.SecureString() Answer: A Explanation: Crypto.EncryptAES() provides AES encryption for strings and binary data.