Site Properties Flashcards

1
Q

The value of a Site Property can be modified in Service Center to change the application behavior at runtime.

A. True
B. False

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following is a GOOD use case for a Site Property?

A. Current User ID
B. Total Stock Quantity of Products
C. REST Web Service API Key
D. Search Keyword

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a key characteristic of Site Properties in OutSystems?

A. They are stored in the client-side browser’s local storage.
B. They are available to all users of the application within a specific environment.
C. They can store complex data structures like lists and records.
D. They can be accessed and modified directly from client-side logic.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why should frequent changes to Site Properties be avoided?

A. It can lead to inconsistencies in data across different screens.
B. It can introduce security vulnerabilities by exposing sensitive information.
C. It can negatively impact performance due to cache invalidation.
D. It can make the application more difficult to maintain and debug.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does the environment-specific nature of Site Properties benefit application development?

A. It allows for version control of configuration settings.
B. It enables different configurations for different stages of the application lifecycle (development, testing, production).
C. It simplifies the deployment process by automatically syncing settings across environments.
D. It enhances collaboration by allowing multiple developers to work on the same Site Property simultaneously.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following data types CANNOT be stored in a Site Property?

A. Integer
B. Text
C. Boolean
D. Record List

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where are Site Properties defined and managed in OutSystems?

A. In Service Studio, within the application logic.
B. In Service Center, under the “Site Properties” tab.
C. In the database, using SQL statements.
D. In the application’s source code files.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a potential DRAWBACK of using Site Properties to store frequently changing data?

A. They can be difficult to access from client-side logic.
B. They can lead to performance issues due to the overhead of reading and writing to the database.
C. They can make the application more susceptible to data corruption.
D. They can increase the complexity of the application’s logic flows.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can you access the value of a Site Property within an OutSystems application?

A. Use the GetSiteProperty built-in function in server-side logic.
B. Directly reference the Site Property name using curly braces in expressions.
C. Assign the Site Property value to a local variable in client-side logic.
D. It’s not possible to access Site Properties from within the application logic.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following scenarios is MOST suitable for using a Site Property?

A. Storing the user’s language preference.
B. Tracking the number of items in a shopping cart.
C. Storing the URL of an external API endpoint.
D. Displaying dynamic messages based on user interactions.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Site Properties can only store which type of values?
A) Complex objects like JSON or arrays
B) Basic data types like integers, text, and entity identifiers
C) Session-specific values for individual users
D) Temporary values stored during application runtime

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where can the value of a Site Property be changed at runtime without redeploying the application?
A) Service Studio
B) Service Center
C) Application configuration screen
D) Directly in the database

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following is not a recommended use for a Site Property?
A) Storing a feature toggle to enable or disable a functionality
B) Storing the API key for a web service
C) Storing the total number of active sessions
D) Storing environment-specific configuration values

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which environment-specific behavior applies to Site Properties in OutSystems?
A) The same value is shared across all environments.
B) Site Properties must be manually synchronized across environments.
C) Each environment (development, testing, production) can have different values for the same Site Property.
D) Site Properties automatically reset when switching between environments.

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the impact of frequently changing the value of a Site Property?
A) It will enhance the performance of the application.
B) It will cause cache invalidation and potentially degrade performance.
C) It will reset all application data.
D) It will trigger a full application redeployment.

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When should Site Properties be avoided?
A) When you need to store constant values
B) When you need to store values that change often
C) When the value needs to be accessible across the entire application
D) When you need environment-specific values

A

B

17
Q

Which of the following data types cannot be stored in a Site Property?
A) Integer
B) Text
C) List of values
D) Entity Identifier

A

C

18
Q

Which of the following scenarios is best suited for using a Site Property?
A) Storing the current user’s login information
B) Storing the total number of users currently online
C) Storing an application-level setting like an API base URL
D) Storing session-specific preferences for individual users

A

C

19
Q

What is the scope of a Site Property?
A) It is user-specific and changes for every session.
B) It is environment-specific and shared across all users in that environment.
C) It is only accessible within the screen where it is defined.
D) It can only be accessed from a specific module.

A

B

20
Q

Which of the following is false regarding Site Properties?
A) Site Properties exist only on the server side.
B) Site Properties can store complex data types like records or lists.
C) Site Properties should be used for values that change infrequently.
D) Site Properties can be changed through the Service Center.

A

B