All decks
OutSystems Associate Developer (ODC): exam prep
Exam prep: Associate Developer (ODC)
54 cards for the OutSystems Associate Developer (ODC) exam: apps vs libraries, service actions and events, stages and settings, users and roles, data, logic, UI and mobile in OutSystems Developer Cloud.
Take a practice exam0 of 54 cards learned0%
Unofficial study aid from Lowcoder.net, not affiliated with or endorsed by OutSystems. Written from OutSystems Developer Cloud documentation and the public ODC training topics, not from exam questions. The exam: 120 minutes, $200; the O11 Associate Developer certification is a prerequisite. The practice exam uses 50 questions and a 70% pass mark like the O11 exam; check the official exam detail sheet for the current numbers.
All 54 cards as a list
ODC architecture
- What is OutSystems Developer Cloud (ODC)?
- OutSystems' cloud-native platform: apps run in containers on Kubernetes (AWS), each app is deployed and scaled independently, and the platform is managed by OutSystems.
- Which tools do you use in ODC?
- ODC Studio to build apps and libraries, and the ODC Portal to manage stages, deployments, users and roles, settings, monitoring and external logic.
- App vs library in ODC?
- An app is deployable: it has its own database, screens, logic, timers and roles. A library is a reusable set of UI and logic without its own data; it is bundled into the apps that use it.
- Where should data and background jobs live: app or library?
- In an app. Libraries have no database of their own, no timers and no roles; they only share UI, logic and structures.
- How does each ODC app store data?
- Each app has its own isolated database. Other apps can read its public entities but cannot write to them directly.
- How do you change data owned by another app?
- Call a public service action of the owning app. Consumer apps see public entities as read-only.
- What is a service action?
- A public server-side action that an app exposes to other apps. It is called over the network (REST under the hood), so it runs in its own transaction and is slower than a local server action.
- Why can't a service action failure roll back the caller's changes?
- The service action commits in the producer app's own transaction. If the caller fails later, the producer's changes are already committed, so you need compensating logic.
- What happens to consumers when you change a library?
- Nothing until they update: each consumer app keeps the version it was built with. You publish a new library version and update the reference in each consumer, then republish it.
- Weak vs strong dependency between apps?
- Service actions, public entities (read-only) and events are loose: the consumer keeps working when the producer is deployed. Library elements are bundled into the consumer, so you must republish to get changes.
- What are ODC events?
- Asynchronous messages between apps: one app defines and triggers an event; other apps add an event handler (a server action) that runs when the event arrives. Good for decoupled 'something happened' flows.
- When do you choose an event over a service action?
- When the producer doesn't need an answer and several apps may react, for example 'OrderPlaced'. Use a service action when you need a result immediately.
- What is external logic in ODC?
- Custom C# (.NET) code built with the External Libraries SDK, uploaded in the ODC Portal and used in apps as server actions. It replaces O11 extensions.
Stages, deployment & settings
- What are stages in ODC?
- The environments an app moves through, by default Development, QA and Production. Publishing from ODC Studio deploys to Development.
- How do you move an app to QA or Production?
- In the ODC Portal: deploy the tested build (revision) to the next stage. The same build is promoted, not rebuilt.
- What replaced site properties in ODC?
- Settings: configuration values defined in the app and set per stage in the ODC Portal, without republishing.
- How do you store an API key safely in ODC?
- Use a secret setting. Its value is set in the Portal per stage and is not visible in ODC Studio or logs.
- Where do you see an app's errors and performance in ODC?
- In the ODC Portal monitoring: logs, traces and app health per stage.
- What does Mentor do in ODC?
- OutSystems' AI assistance, for example generating an app (data model, screens, logic) from a description or requirements document, plus AI code review and suggestions.
- What is an app's revision?
- Each publish creates a new revision (build). You can see the history and deploy or roll back to a previous revision.
Users & security
- Where are end users and their roles managed in ODC?
- In the ODC Portal, per stage. The app defines its roles in ODC Studio; administrators assign users (or identity provider groups) to those roles.
- Which identity providers can ODC use?
- The built-in ODC identity provider, or external providers using OpenID Connect (for example Microsoft Entra ID or Okta).
- How do you protect a screen?
- Set the screen's roles: only users with one of the checked roles (or Registered/Anonymous) can open it.
- Why also check roles in server logic?
- Screen access only protects the UI. Use CheckRole functions (for example Check<Role>Role(GetUserId())) in server actions to enforce access on the server.
- What is the Anonymous role?
- Built-in role for any visitor, including users who aren't logged in. Registered is for any logged-in user.
Data modeling
- What does an entity get automatically?
- An Id attribute (auto number by default) and CRUD entity actions: Create, CreateOrUpdate, Update, Get, Delete (server-side, in the owning app).
- What is a static entity?
- An entity with a fixed set of records defined at design time (like an enumeration), for example Status: Open, Closed.
- How do you create a one-to-many relationship?
- Add a reference attribute (Identifier type of the other entity) on the 'many' side, for example Order.CustomerId.
- How do you model many-to-many?
- With a junction entity that has two reference attributes, for example StudentCourse with StudentId and CourseId (usually with a unique index on the pair).
- What are the Delete Rule options?
- Protect (can't delete the parent while children exist), Delete (cascade delete the children) and Ignore (keep the children, reference becomes invalid).
- What is a structure?
- A data type for in-memory data (not stored in the database), often used for API inputs and outputs.
- Why add an index?
- To speed up queries that filter or sort on that attribute, and with 'unique' to prevent duplicates.
- How can you import data from Excel?
- Create entities and records from an Excel file in ODC Studio, or use the Excel to Record List action in logic.
Logic
- Client action vs server action?
- Client actions run in the browser or device (UI logic, navigation). Server actions run on the server (database access, integrations). A client action can call a server action.
- What is a screen data action?
- A server call that fetches data for a screen when aggregates can't (for example from an API). It returns output parameters to the screen.
- Aggregate vs SQL query?
- Aggregates are visual queries (filters, joins, sorts, group by) that are optimized automatically. Use an SQL node only when aggregates can't express the query.
- When are server-side changes committed?
- At the end of the request. If an unhandled exception occurs, the whole transaction is rolled back.
- How do you handle errors in logic?
- Add an exception handler flow to the action (for example for User Exception or All Exceptions). Optionally abort the transaction or log the error.
- What does the 'Abort Transaction' option of an exception handler do?
- Rolls back database changes made in the current transaction before the handler runs.
- What are timers for?
- Running server logic in the background on a schedule or on demand (Wake action), for example nightly imports. They have a timeout and should process data in batches.
- How do you call a REST API in ODC?
- Consume the REST API in ODC Studio (from a URL or OpenAPI spec). ODC creates the methods and structures, which you use as server actions.
- How do you expose a REST API from an ODC app?
- Create an exposed REST API with methods implemented as server logic, optionally with authentication.
UI & screen lifecycle
- Name the screen lifecycle events in order.
- On Initialize (before rendering, no DOM yet), On Ready (DOM ready), On Render (after each re-render), On After Fetch (per aggregate/data action), On Destroy (when leaving).
- Which event fits fetching or setting defaults before render?
- On Initialize, for quick setup of local variables. Don't run slow server calls there; use aggregates or data actions instead.
- What does an aggregate's 'Fetch' property do?
- At start: fetch when the screen opens. Only on demand: fetch when you call Refresh in logic.
- What is a block?
- A reusable UI piece with its own input parameters, local variables and events, used on several screens.
- How does a block tell its parent something happened?
- By triggering an event that the parent screen handles with a client action.
- What are client variables?
- Values stored in the browser that keep their value across screens, for example a last search term. Not for sensitive data.
- How do you validate a form?
- Use built-in validations (mandatory, data type) and custom checks in the save action, setting Valid and ValidationMessage on inputs, then check Form.Valid before saving.
- What is OutSystems UI?
- The default UI framework: layouts, patterns (like Accordion, Tabs, Sidebar) and screen templates for consistent responsive apps.
Mobile
- How do you build the installable mobile app in ODC?
- Generate a mobile build for iOS or Android in the ODC Portal for a stage; ODC packages the native app.
- What are local storage entities?
- Entities stored on the device (SQLite) so a mobile app works offline. You sync them with server entities.
- How does offline sync work?
- You write a sync action (template provided) that sends local changes to the server and pulls updated records, and trigger it on online, on login or manually.
- How do you use device features like the camera?
- With plugins from Forge (for example Camera, Location, Barcode), called from client actions.