Web Server Administration and PHP Development
Covers WebSphere Application Server configuration, performance tuning, and session management, plus PHP/MySQL web development fundamentals.
Questions
Which is the function used to order backwards an associative array maintaining associations?
- asort($array)
- ksort($array)
- krsort($array)
- usort($array)
Which of these are valid php functions to use with a mysql server?
- $result = mysql_obtain_rows($query);
- $result = mysql_executeNonQuery($query);
- $result = mysql_query($query);
- $record = mysql_fetch_array($result)
Which of the following are valid statements to obtain the number of row returned by a sql query (It could be from any DBMS)
- pg_numrows($result)
- postregSQL_numRows($result)
- mysql_num_rows($result)
- ora_num_rows
The difference between require and include is that include raises an exception if the file is not found while require continues the execution.
- True
- False
What is the default configuration setting for the Data Replication Service (DRS)?
- full group replica
- single replica
- entire domain
- specify number of replica
When configuring session management for a Web container, which property represents the number of cached sessions?
- Session Expiry value
- Maximum in-memory session count
- L2 Cache Integration count
- Maximum wait on serial access
According to the Upstream Queuing model for performance tuning, what reflects the correct application of recommended settings for maximum concurrent clients?
- Web server=75, Web container=50, Datasource=25
- Web server=75, Web container=75, Datasource=25
- Web server=50, Web container=50, Datasource=50
- Web server=25, Web container=50, Datasource=75
Under which circumstance should the WebSphere administrator use the dumpNameSpace utility?
- To clear the namespace prior to installing or redeploying an application
- When the application server will not start because the JNDI namespace tables have become corrupted
- Before regenerating the plug-in for the Web server
- When applications are experiencing a problem accessing a specific WebSphere data source
What is the advantage of implementing a multi-tiered environment across multiple machines?
- The tiers allow you to tune individual products.
- It is the separation of tiers that allows operating system tuning parameters to be used based on the machine's function
- Separation reduces maintenance complexities since components are highly available in a distributed configuration.
- t can more closely align with a customer's business functions (i.e. distribution, ordering, and inventory management.)
Which statement is true for a managed application server process to startup?
- The node agent should not be started before any managed servers on that node.
- A node agent and deployment manager must be running before starting a managed server.
- Starting a managed server is not dependent on the presence of a running deployment manager.
- The deployment manager needs to be started before the managed server.
with a production application server, the administrator notes that the database connection pools have a much lower percentage of utilization than the other pools. Which statement explains this observation?
- The database server is constrained, causing calls to the database to consume more resources than are available for processing.
- This condition indicates there is a bottleneck in one of the processes upstream in the pipeline of process flows within the application server.
- The Tivoli Performance Viewer percentages are only useful for performing performance analysis on a server that is executing in a controlled load test scenario.
- The connection pools have not been defined to account for parallel application server calls to the database, causing this particular server to show low utilization.
In order to generate a plug-in configuration file on which all applications in the cell are mapped, which action must a system administrator take?
- Run the GenPluginCfg command on each server
- Select the Generate Plug-in option in the Web server's page in the administrative console
- Run the GenPluginCfg command on the deployment manager
- Select the Automatically Generate Plug-in option in the administrative console
For security reasons, an administrator would like to ensure that HTML resources are isolated between Web modules running on a server. Which setting should the administrator configure?
- Class loader configuration
- Virtual host configuration
- HTTPS port configuration
- Admin console configuration
with a production application server, the administrator notes that the database connection pools have a much lower percentage of utilization than the other pools. Which statement explains this observation?
- This condition indicates there is a bottleneck in one of the processes upstream in the pipeline of process flows within the application server.
- The connection pools have not been defined to account for parallel application server calls to the database, causing this particular server to show low utilization.
- The Tivoli Performance Viewer percentages are only useful for performing performance analysis on a server that is executing in a controlled load test scenario.
- The database server is constrained, causing calls to the database to consume more resources than are available for processin