Docsity

OUTSYSTEMS WEB DEVELOPER SPECIALIST QUESTIONS, Exams of Advanced Education

Toggle sidebar
bg1
1
/
13
OUTSYSTEMS WEB DEVELOPER SPECIALIST QUESTIONS
1. What is a recommended naming convention for foreign keys in
OutSystems?
A. Use camelCase | B. Suffix with 'Key' | C. Suffix with 'Id' | D. Use
lowercase:
"
""C. Suflx with 'Id'"""
2. Which practice is advised for screen preparation to enhance
performance?
A. Minimize database queries | B. Use complex queries | C. Always use
AJAX
| D. Increase
server
variables:
" ""A. Minimize database
queries"""
3. How should large text attributes be managed in OutSystems? A.
Keep in main entity | B. Use a separate entity | C. Store as binary | D.
Use text fields:
"
""B.
Use
a
separate
entity"""
4. What is the best practice for handling sensitive data in URLs? A.
Encrypt the URL | B. Use plain text | C. Exclude sensitive data | D. Use
HTTPS: " ""C. Exclude
sensitive
data"""
5. Which method is preferred for bulk operations on records? A. Use
Aggre-gates | B. Use SQL statements | C. Use JavaScript | D. Use
individual inserts: "
""B.
Use
SQL
statements"""
6. What is the purpose of using Static Entities? A. To store dynamic
data | B. Replace hard-coded values | C. Manage user roles | D. Define
CSS styles:
" ""B.
Replace
hard-coded
values"""
7. How should you approach adding comments in JavaScript? A. Avoid
com-ments | B. Comment only complex logic | C. Comment
generously | D. Use
comments
sparingly:
" ""B. Comment only complex logic"""
8. What is the recommended approach to database maintenance? A.
Ignore maintenance | B. Setup regular plans | C. Backup occasionally |
D. Optimize
when
needed:
" ""B. Setup regular plans"""
9. How should you handle a module size larger than 4 MB? A. Ignore it
| B. Split the module | C. Increase server capacity | D. Consider it a
sign of poor
architecture:
" ""D. Consider it a sign of poor architecture"""
10. Why should you avoid creating custom HTML/JavaScript in
OutSystems? A. Enhances performance | B. Increases maintainability |
C. Reduces complexity
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download OUTSYSTEMS WEB DEVELOPER SPECIALIST QUESTIONS and more Exams Advanced Education in PDF only on Docsity!

OUTSYSTEMS WEB DEVELOPER SPECIALIST QUESTIONS

  1. What is a recommended naming convention for foreign keys in OutSystems? A. Use camelCase | B. Suffix with 'Key' | C. Suffix with 'Id' | D. Use lowercase: " ""C. Suflx with 'Id'"""
  2. Which practice is advised for screen preparation to enhance performance? A. Minimize database queries | B. Use complex queries | C. Always use AJAX | D. Increase server variables: " ""A. Minimize database queries"""
  3. How should large text attributes be managed in OutSystems? A. Keep in main entity | B. Use a separate entity | C. Store as binary | D. Use text fields: " ""B. Use a separate entity"""
  4. What is the best practice for handling sensitive data in URLs? A. Encrypt the URL | B. Use plain text | C. Exclude sensitive data | D. Use HTTPS: " ""C. Exclude sensitive data"""
  5. Which method is preferred for bulk operations on records? A. Use Aggre-gates | B. Use SQL statements | C. Use JavaScript | D. Use individual inserts: " ""B. Use SQL statements"""
  6. What is the purpose of using Static Entities? A. To store dynamic data | B. Replace hard-coded values | C. Manage user roles | D. Define CSS styles: " ""B. Replace hard-coded values"""
  7. How should you approach adding comments in JavaScript? A. Avoid com-ments | B. Comment only complex logic | C. Comment generously | D. Use comments sparingly: " ""B. Comment only complex logic"""
  8. What is the recommended approach to database maintenance? A. Ignore maintenance | B. Setup regular plans | C. Backup occasionally | D. Optimize when needed: " ""B. Setup regular plans"""
  9. How should you handle a module size larger than 4 MB? A. Ignore it | B. Split the module | C. Increase server capacity | D. Consider it a sign of poor architecture: " ""D. Consider it a sign of poor architecture"""
  10. Why should you avoid creating custom HTML/JavaScript in OutSystems? A. Enhances performance | B. Increases maintainability | C. Reduces complexity

| D. Makes it harder to change: " ""D. Makes it harder to change"""

  1. What is a benefit of data archiving? A. Increases database size | B. Improves runtime performance | C. Reduces query performance | D. Slows down back-ups: " ""B. Improves runtime performance"""
  2. How should you handle indexes for archived data? A. Disable indexes | B. Ignore indexes | C. Optimize indexes | D. Use default settings: " ""C. Optimize indexes"""
  3. Which layer in the architecture is responsible for business processes? A. Connectors | B. Core Entities | C. Business Processes | D. Database: " ""C. Business Processes"""
  4. What is an important consideration when using Advanced Queries? A. Easy to maintain | B. Use Parameters | C. Database- independent | D. Avoid SQL: " ""B. Use Parameters"""
  5. How should logic be reused in OutSystems? A. Copy code | B. Use Server Actions | C. Separate modules | D. Avoid reusability: " ""B. Use Server Actions"""
  6. What is a common pitfall in data archiving? A. Archiving too frequently | B. No archive strategy | C. Using too many indexes | D. Excessive purging: " ""B. No archive strategy"""
  7. Which is a best practice for commenting unclear or complex logic? A. Avoid comments | B. Use minimal comments | C. Comment thoroughly | D. Document externally: " ""C. Comment thoroughly"""
  8. Which approach minimizes the impact on the main catalog during archiv-ing? A. Use the same database | B. Mirror data source modules | C. Archive infrequently | D. Use temporary storage: " ""B. Mirror data source modules"""
  9. What should be used for versioning applications? A. Manual tracking | B. LifeTime | C. Random updates | D. Ignore versioning: " ""B. LifeTime"""
  10. Which practice should be avoided during logic development? A. Remove unused code | B. Use duplicate code | C. Optimize logic flow | D. Comment code: " ""B. Use duplicate code"""
  11. How should sensitive information be stored? A. In plain text | B. Use en-crypted storage | C. In cookies | D. Without protection: " ""B. Use encrypted storage"""
  12. What is a key practice for improving query performance? A.
  1. What is a benefit of using Internal Access Only for Web Flows? A. Increases exposure | B. Enhances security | C. Reduces security | D. Increases usabili-ty: " ""B. Enhances security"""
  2. Which is an important consideration for module responsibilities? A. Define vaguely | B. Clearly define | C. Ignore responsibilities | D. Use generic roles: " ""B. Clearly define"""
  3. What is a recommended strategy for handling troubleshooting? A. Ignore errors | B. Use logs and monitoring | C. Guesswork | D. Random checks: " ""B. Use logs and monitoring"""
  4. How should you manage large Excel file processing? A. Process synchro-nously | B. Use background timers | C. Store in memory | D. Use direct insertion: " ""B. Use background timers"""
  5. What is a consideration when applying a hotfix? A. Apply without testing | B. Test before applying | C. Apply during peak hours | D. Use outdated versions: " ""B. Test before applying"""
  6. How should you avoid infinite recursion in logic development? A. Allow all recursive calls | B. Use recursion freely | C. Set recursion limits | D. Avoid recursion entirely: " ""C. Set recursion limits"""
  7. How should you handle circular references between modules? A. Allow them freely | B. Avoid them | C. Use them for flexibility | D. Ignore them: " ""B. Avoid them"""
  8. Which integration method is preferred for external data sources? A. Use manual imports | B. Use REST APIs | C. Use CSV files | D. Use direct database access: " ""B. Use REST APIs"""
  9. What should be done to avoid data inconsistency with Delete Rules? A. Use Delete rule | B. Use Protect rule | C. Use Ignore rule | D. Avoid rules: " ""B. Use Protect rule"""
  10. How should you approach manual deployment procedures? A. Do them ad-hoc | B. Create team processes | C. Avoid documentation | D. Use random scripts: " ""B. Create team processes"""
  11. What is a best practice for managing database growth? A. Ignore growth | B. Archive old data | C. Store all data indefinitely | D. Use a single large database: " ""B. Archive old data"""
  12. What is the benefit of using a 3-layer approach in architecture? A. Increases complexity | B. Simplifies responsibilities | C. Reduces maintainability | D. Increases redundancy: " ""B. Simplifies responsibilities"""
  1. Which approach should be used for handling exceptions? A. Ignore them | B. Log and manage properly | C. Use try-catch everywhere | D. Avoid handling: " ""B. Log and manage properly"""
  2. How can you improve integration performance? A. Use multiple calls | B. Optimize API endpoints | C. Use complex logic | D. Ignore performance: " ""B. Optimize API endpoints"""
  3. What is the impact of having a single module for all data? A. Enhances per-formance | B. Indicates poor design | C. Simplifies architecture | D. Increases flexibility: " ""B. Indicates poor design"""
  4. What is the recommended way to handle large session variables? A. In-crease size | B. Store in database | C. Use more frequently | D. Ignore size: " ""B. Store in database"""
  5. Which is a key aspect of optimizing screen Preparations? A. Use heavy oper-ations | B. Pre-process data | C. Add redundant checks | D. Load everything: " ""B. Pre-process data"""
  6. What is a consideration for asynchronous processes? A. Use single-thread-ed logic | B. Use multi-threaded processes | C. Avoid asynchronous logic | D. Use synchronous methods: " ""B. Use multi-threaded processes"""
  7. How should business logic be handled in OutSystems? A. In UI components | B. In Server Actions | C. In Extensions | D. In database triggers: " ""B. In Server Actions"""

less maintainable in the long run. Caching could help, but optimizing the query itself is often the better first step. Indexing is crucial for database optimization but addresses the database itself rather than the OutSystems application structure."

  1. A team of developers is working on a large application. They frequently encounter merge conflicts when publishing their changes. What's the best practice to minimize these conflicts? a) Have each developer work on a sep-arate module. b) Use LifeTime to manage versioning and deployments. c) Communicate frequently and coordinate changes among team members. d) Publish changes more frequently to reduce the size of individual updates.: "c) Communication and coordination are paramount to avoid merge conflicts. While working on separate modules can help, it doesn't eliminate the possibility of conflicts when integrating functionalities. LifeTime helps manage versions but doesn't prevent conflicts entirely. More frequent publishing reduces the scope of merges but requires more discipline and might disrupt other developers."
  2. You are developing a mobile app that needs to consume a REST API. The API uses OAuth 2.0 for authentication. What's the most efficient way to handle this in OutSystems? a) Use the built-in OAuth 2.0 client credentials flow. b) Implement custom authentication logic using an extension. c) Store the access token in a session variable. d) Manually add the authorization header to each REST API call.: "a) OutSystems provides built-in support for OAuth 2.0, making it the most eflcient method. The other options are more complex and less maintainable."
  3. An application uses several hardcoded values throughout the logic. What's the best practice to improve maintainability? a) Store the values in Site Prop-erties. b) Create a Static Entity to hold the values. c) Use local variables within each action. d) Store the values in a separate database table.: "b) Static Entities are designed for holding constant values, making them ideal for this purpose. Site Properties are for environment-specific settings, not application logic constants. Local variables are not suitable for globally accessible values. A separate database table is overkill for simple constants."
  4. A web screen contains a large amount of JavaScript code that is slow-ing down the page load. How can you improve performance? a) Move the JavaScript code to a Server Action. b) Minify the JavaScript code and include it as a resource. c) Embed the JavaScript code directly into the HTML. d) Break the JavaScript code into smaller files and load them

dynamically.: "b) Minifying reduces file size, improving load times. Including it as a resource ensures it's managed within the module. Server Actions are for server-side logic, not client-side JavaScript. Embedding in HTML is less maintainable. Breaking into smaller files can be beneficial but adds complexity."

  1. You are using an Advanced Query to retrieve data. How can you prevent SQL injection vulnerabilities? a) Use EncodeSql for inline parameters. b) Validate user inputs before including them in the query. c) Use parameterized queries instead of concatenating strings. d) All of the above.: d) All the options are crucial for preventing SQL injection.
  2. You have an Entity with a large Text attribute that stores historical data. Users rarely need to access this data. What is the recommended approach for managing this data? a) Keep the data in the same Entity and add an index to the Text attribute. b) Move the historical data to a separate archive Entity. c) Compress the Text attribute to reduce storage space. d) Delete the historical data after a certain period.: b) Archiving to a separate Entity improves the performance of the main Entity. Indexing a large Text attribute might not significantly improve performance and can slow down writes. Compression can help but adds complexity. Deleting data might not be desirable for auditing.
  3. You need to perform a bulk update operation on a large dataset. What's the most efficient method? a) Use a For Each loop and update each record individually. b) Use an Advanced Query with an UPDATE statement. c) Use a Server Action to iterate through the records and update them. d) Use a combination of Aggregates and Entity Actions.: b) Advanced Queries are optimized for bulk operations. For Each loops are less eflcient. Server Actions adding a layer of abstraction don't provide the same level of performance as direct SQL. Aggregates combined with Entity Actions are also less eflcient for bulk updates.
  4. You are consuming a REST API that returns a large JSON response. You only need a few fields from the response. How can you optimize data retrieval? a) Parse the entire JSON response and extract the necessary fields. b) Use the OnAfterResponse callback to filter the response. c) Modify the REST API method to return only the required fields. d) Use a custom extension to handle the JSON parsing.: c) Modifying the API is the most eflcient approach if feasible. Parsing the entire response is ineflcient. OnAfterResponse can't filter before data is received. Custom extensions add complexity.
  5. A Timer is taking longer than its allocated timeout to complete.

absolutely necessary). Hashing is more secure for passwords as it's one-way, making it impossible to retrieve the original password. Plain text is highly insecure. Storing passwords outside the database doesn't inherently improve security."

  1. You are developing a web application that requires frequent database access. How can you optimize database performance? a) Use indexes appro-priately on frequently queried attributes. b) Minimize the number of database queries. c) Use caching mechanisms to store frequently accessed data. d) All of the above.: d) All options are standard database optimization techniques.
  2. A team member is leaving the project. How should their user account be handled? a) Delete the user account. b) Deactivate the user account. c) Transfer ownership of the user's modules to another team member. d) Change the user's password.: "b) Deactivating prevents access while preserving the user's contributions. Deleting loses history. Transferring might not be appropriate depending on the situation. Changing the password is insuflcient as it doesn't prevent access through other means (e.g., if the user is still logged in elsewhere)."
  3. You need to implement a complex business rule in your application. Where is the best place to implement this logic? a) In a Screen Action. b) In a Server Action. c) In an Extension. d) In a Client Action.: b) Server Actions are designed for reusable business logic. Screen Actions are tied to UI. Extensions are for lower-level integrations. Client Actions are for client-side logic.
  4. You are using a linked server to access data from another database. How can you improve query performance? a) Use joins directly on the linked server tables. b) Retrieve the necessary data from the linked server first and then process it locally. c) Create a view on the linked server to simplify the query. d) Increase the timeout value for linked server queries.: "b) Processing locally minimizes communication overhead. Joins on linked servers are ineflcient. Views can help but might not be enough. Increasing timeout doesn't improve performance, just delays the inevitable."
  5. You are experiencing deadlocks in your application. What might be a po-tential cause? a) Frequent changes to Site Property values. b) Long-running Timers. c) Complex database transactions. d) All of the above.: d) All listed options can contribute to deadlocks by locking resources for extended periods.
  1. You need to implement a feature that requires complex calculations. What's the recommended approach? a) Use JavaScript to perform the calculations on the client-side. b) Create a Server Action to handle the calculations. c) Use an Extension to implement the calculations in .NET or Java. d) Use a combination of Client Actions and Server Actions.: b or c) Server Actions are generally preferred for complex logic due to maintainability and debugging advantages. Extensions provide more flexibility for highly specialized or performance-critical calculations but require more advanced skills. JavaScript is less suitable for complex server-side calculations. Mixing Client and Server Actions adds complexity.
  2. How can you reduce the size of your module and improve maintainability? a)Remove unused references and elements. b) Combine multiple Screens into one. c) Minimize the use of comments. d) Use inline CSS and JavaScript.: a) Removing unused elements reduces module size and improves maintainability. Combining Screens can increase complexity. Comments are essential for maintainability. Inline CSS/JavaScript is less maintainable.
  3. You are building a responsive web application. What's the recommended approach for handling different screen sizes? a) Create separate Web Screens for each screen size. b) Use CSS media queries to adapt the layout. c) Use JavaScript to detect screen size and adjust the UI. d) Use a combination of CSS and JavaScript.: b) CSS media queries are the standard approach for responsive design. Separate screens are redundant. JavaScript can supplement CSS but shouldn't be the primary method.
  4. You are integrating with a third-party system that requires a client certifi-cate. How can you handle this in OutSystems? a) Use the built-in client cer-tificate support in REST and SOAP integrations. b) Use the OnBeforeReques-tAdvanced callback in REST integrations. c) Use an Extension to implement custom certificate handling. d) Store the client certificate in a Site Property.: "b or c) OnBeforeRequestAdvanced is the recommended approach. Extensions otter a lower-level solution but add complexity. Built-in support is typically for Basic authentication, not client certificates. Storing certificates in Site Properties is insecure."
  5. You have a requirement to log all exceptions that occur in your applica-tion. How can you achieve this? a) Use the LogMessage action in Exception Handlers. b) Set the Log Error property of Exception Handlers to True. c) Use a centralized logging mechanism. d) All of the above.: d) All options can contribute to comprehensive exception logging.

d) Increase the network bandwidth between the servers.: b and c) Minimizing retrieved data and using indexed views improve performance. Inner joins on linked servers are usually ineflcient. Increasing bandwidth might not always be possible or suflcient.

  1. Your application needs to send a large number of emails. What is the recom-mended approach? a) Send emails synchronously within the user's request. b) Use a Timer to send emails asynchronously. c) Use an external email service. d) Store the emails in a database table and send them manually.: "b or c) Timers allow asynchronous processing, preventing blocking the user interface. External email services are often designed for high-volume sending. Synchronous sending can lead to timeouts. Storing and sending manually is less eflcient."
  2. You need to implement custom logic for authenticating users in a REST API. How can you achieve this? a) Use the OnAuthentication callback action. b) Use Basic Authentication. c) Use OAuth 2.0. d) Use an Extension to implement custom authentication.: a) OnAuthentication is the designated callback for custom authentication logic.
  3. You are deploying your application to a new environment. What steps are necessary for integrations created with Integration Builder? a) Republish the integration in the new environment. b) Create or select a connection in Integration Manager for the new environment. c) Update the REST and SOAP API endpoints in the new environment. d) No further steps are required.: b) Integrations require a connection in each environment. Republishing isn't typically necessary. API endpoints should generally not change between environments.
  4. You are consuming a REST API and need to modify the response before it is processed by your application. How can you do this? a) Use the OnAfterRe-sponse callback action. b) Modify the REST API method's output parameters. c)Use an Extension to intercept and modify the response. d) Use JavaScript to modify the response on the client-side: a) OnAfterResponse is designed for this purpose. Modifying output parameters in the REST method itself is less flexible. Extensions add complexity. Client-side JavaScript can't modify the server response before it's processed by OutSystems.