ERASED TEST, YOU MAY BE INTERESTED ON WLS 78-126
COMMENTS | STATISTICS | RECORDS |
---|
TAKE THE TEST
Title of test:
WLS 78-126 Description: WLS 78-126 Author: ARIF Other tests from this author Creation Date: 20/12/2021 Category: Computers Number of questions: 49 |
Share the Test:
New Comment
No comments about this test.
Content:
Consider an IT infrastructure comprising several web and EJB applications. Each application is expected to handle significantly different workloads and, therefore, has different resource and scalability requirements.
Which is the best solution? Configure a separate proxy for each application Configure a dedicated WebLogic Server for each application Configure a separate node manager for each application Configure a separate cluster for each application. You are troubleshooting Java Transaction API (JTA) transactions. The WebLogic Server extension to JTA provides which optional transaction attribute to make troubleshooting easier? a name an ID the status of “marked for rollback” a status. You want to restart a failed stand-alone managed server. Select the two true statements. Before restarting a failed managed server you must always first use operating system commands to kill its old process. The managed server can automatically be restarted on new hardware if server migration has been properly set up. If the managed server was started by Node Manager, then Node Manager can be set to automatically restart the managed server. If the managed server was started by a script, run the script again. Which WebLogic Server tool is used to create managed server templates? unpack Configuration Wizard Administration Console WebLogic Scripting Tool (WLST) appc pack. In memory replication in your cluster seems to be slow. You decide to create a replication channel for your cluster. Which two statements are true? (Choose two.) The channel is used for heartbeats so they do not interfere with replication communication Each server in the cluster must have this named replication channel configured on it If no replication channel is configured, then sessions are persisted to the file system or the database The channel can be used for stateful session bean replication The channel cannot use a secure protocol. You have an existing domain and need to add a new managed server to it. Which three statements are true concerning the creation of managed servers? (Choose three.) A server must be assigned a machine A server must be assigned a listen port A server’s name cannot be changed after it is created A server can be associated with a server template Servers can have duplicate names as long as they have unique ports A server must be assigned a listen address. You access the Deployments page from the Administration Console. The targets and state of each application are displayed. One web application named web1 is targeted to server1 and is in the NEW state. Which statement is true? web1 is available but has never been accessed server1 is in standby mode server1 is not running web1 is in the process of being deployed to server1. You are using the administration console to monitor transactions on a managed server. In the Summary subtab, under the JTA tab, you notice that the total count of transactions does not equal the sum of the committed transactions and all of the various rolled back transaction categories. How do you explain this? The total count field includes committed, rolled back, and heuristic completions The total count field includes in-progress transactions, but the others only show completed transactions The total count includes distributed and local transactions. The committed count and the various rolled back counts are for distributed transactions only The total count includes all transactions since the server was started. The other counts only include the transactions included in the latest transaction log. You create a new dynamic cluster with the following parameters: Number of servers: 2 Listen port: 8101 Enable calculated listen ports: true To which two port numbers will the resulting two dynamic servers bind? (Choose two.) 8101 8102 8103 8100 8104. Consider a web application that is deployed to a single cluster. After configuring the application to use in-memory session replication, there is a noticeable drop in performance, possibly due to the large amount of data being placed in HTTP sessions. Which action improves performance while continuing to provide high availability for this application’s sessions? Configure asynchronous session replication in the application Increase session timeout in the application Configure file-based session persistence in the application Configure automatic service migration in the application Configure cookie-based session persistence in the application. Which three statements are true about the Change Center in the Administration Console? (Choose three.) The Change Center has a link to view any servers that need to be restarted In a Development Mode domain, the configuration lock can be acquired automatically The Change Center has a link to view the changes made so far Locking the console prevents other privileged users from taking the lock until you release it or activate your changes After activating the changes to a server’s configuration, you must always restart that server The Change Center is available only in a Production Mode domain. Which three domain requirements can you implement with the Configuration Wizard? (Choose three.) Create a Node Manager and enroll it with the domain Create a domain using a custom template Assign virtual IP addresses to all servers Distribute domain files across multiple machines Create a dynamic cluster of five servers. Identify two advantages of using a Single Client Access Name (SCAN) when configuring a GridLink data source. (Choose two.) The Fast Connection Failover (FCF) pattern, which allows rapid failure detection, is enabled The more sophisticated runtime connection load balancing (RLCB) is used; without SCAN, load balancing reverts to a simple round-robin scheme SCAN is required for the GridLink data source to use an XA driver The database URL is shorter because it contains one SCAN alias and port as opposed to a host and port foe each RAC node The data source configuration does not need to be updated when new nodes are added to the RAC cluster . In your WebLogic Server environment, applications will not access a single database server. Instead they will access a cluster of redundant database servers. This database product was purchased from a vendor other than Oracle. You want to provide transparent failover to the applications as they communicate with the database cluster. Which type of WebLogic data source should you create? generic data source multi data source GridLink data source parallel data source. Select two ways to start the Java-based Node Manager on a Linux machine. (Choose two.) Use the startNodeManager.sh script Use the administration console. Select the machine and then click the Start button. Have Node Manager start at system boot as a daemon Use the Oracle Process Manager and Notification Server (OPMN) to start Node Manager as a system process Set the appropriate environment variables. Then run the Java virtual machine with the class nodemanager.RunTime, passing the class the proper parameters. One of your applications sends SQL requests to a back-end database. Today some of these requests are very slow to complete and users are waiting an unusually long time before getting the information back. You decided to take a look at a thread dump and found several threads with a stack similar to: What should be your initial assumption and first action? The maximum capacity of the connection pool was reached due to higher load than usual and you just need to wait until new connections get released or increase the capacity of the pool. This can be done in the Admin Console. The response data provided by the database SQL is larger than the receive socket buffer, so you just need to increase the buffer The activity on the database side needs to be checked with your DBA to verify if the connection request was received and how it’s been handled by the database The datasource connection was leaked and needs to be reset A firewall is blocking the connection between WebLogic Server and the back-end database. This needs to be immediately addressed with your network administrator The Oracle JDBC driver got corrupted and needs to be reinstalled or replaces with a different driver. View the following file except, which configures HTTP session replication: <session-descriptor> <persistent-store-type>replicated</persistent-store-type> </session-descriptor> From which file is this except taken? weblogic-application.xml session.xml web.xml config.xml weblogic.xml. Your administration server goes down. One of the managed server of the domain is also currently shut down. This managed server has been successfully started in the past. You cannot bring up the administration server right away, but you need to start the managed server. You run the start script, but the managed server will not start. Explain this. This managed server has disabled Managed Server Independence mode Managed servers always contact their admin server for the latest configuration. When the admin server is down, a managed server cannot be started. This managed server must be part of a cluster and the cluster master is also down This managed server must reside on the same machine as the admin server The domain must use the embedded LDAP for authentication. Without the admin server, the managed server cannot get updates to its local LDAP store. Your Java-based Node Manager is unable to start a managed server named myserver. You investigate and realize that the boot.properties file Node Manager uses to store the credentials of the managed server has been corrupted in the file system. From past experience you know that if you delete the file, Node Manager will re-create it. under the domain directory in servers/myserver/nodemanager under the Node Manager home directory in myserver under the domain directory in servers/myserver/security under the domain directory in servers/myserver/data/nodemanager under the Node Manager home directory. You need to scale out an existing domain to include a new machine. You install WebLogic Server in the new machine. Which three steps are required to create the domain directory on the new machine? (Choose three.) Use the Configuration Wizard to clone the domain Run the pack tool on the administration server’s machine Transfer the installation certificate to the administration server’s machine Transfer the managed server template to the new machine Use the Administration Console to clone the administration server Run the unpack tool on the new machine. Your developers created Plain Old Java Objects (POJO) that provide useful functionality. The code is packaged in a JAR file. You want to make this code accessible from all the applications deployed to the managed servers in your domain. What are the four ways to accomplish this? (Choose four.) Include the JAR file as an optional package Deploy the JAR file as an EJB Deploy the JAR file as a shared library Place the JAR file in the lib folder of the domain Deploy the JAR file to the administration server. All managed servers have access to their admin server Add the JAR file to the CLASSPATH of the domain servers by editing the domain’s seyDomainEnv.sh script Deploy the JAR file as another web application Deploy the JAR file as a web service. The admin server’s domain files were backed up by using the tar command on Linux. The admin server crashes and the domain files become corrupted. The domain files are restored from the backup. You try and start the admin server by using the usual domain start script. The script does not run. The error is “permission denied”. How should you troubleshoot this? Check the ownership and file system permissions of the start script Ensure you are currently logged in as a WebLogic Server administrator before running the script Stop any running managed servers and then start the admin server After the restoration of a domain, you must start the admin by using WLST Be sure to start the admin server as the root user. Which three Administration Console tasks require you to obtain the configuration lock of a production mode domain? (Choose three.) Stop an application deployment Create a new JDBC data source Change the servers listen port Suspend a running server Add a server to an existing cluster Create a new administrative user. Consider an application that comprises both web and EJB components. What are two benefits of implementing a multitier cluster architecture over a single-tier(basic) cluster architecture? (Chose two.) Dynamic clusters are only supported for the multitier architecture Remote EJB access is blocked Each cluster can be scaled independently Future web clusters can share the same EJB tier All servers can be managed (started/stopped) together. Consider a data source whose Inactive Connection Timeout has been set to 60 seconds. You suspect that an application is not returning JDBC connections to this data source. In response, you go to the data source’s Monitoring tab in the Administration Console. Which of the available columns will confirm your suspicious? State Active Connections Current Count Connection Delay Time Leaked Connection Count Current Capacity. You are running WebLogic Server under a 64-bit HotSpot JVM. You edit your domain’s setDomainEnc.sh script to update the minimum and maximum heap sizes as follows: USER_MEM_ARGS=”-Xms32meg –Xmx150meg” Export USER_MEM_ARGS You try to start a managed server by running the domain start script at the command line. The server fails with the message: Invalid initial heap size: -Xms32meg Why does the server fail with that message? The minimum heap size for a 64-bit JVM is 64 Megabytes For performance reasons, the minimum heap size and maximum heap size should be the same value The parameter value was entered incorrectly. The correct value is: “-Xms32m –Xmx150m” The parameter value was entered incorrectly. You must enter memory parameter values in Kilobytes The parameter value was entered incorrectly. The correct value is: “-Xms:32meg – Xmx:150meg”. You have been tasked with replacing an existing WebLogic domain with a brand new installation as part of a migration. The new server needs to use the previously created JDBC store that holds existing JMS messages. Which two configuration requirements do you need to comply with in order to make the transition successful? (Choose two.) In Persistent Stores, create a new JDBC store and select the option “Use existing store” The new domain name needs to be the same as the old domain it’s replacing Duplicate the JMS and persistent store configuration in the new domain The storage needs to be file based and not JDBC based Set the prefix for the JDBC store table to the domain name. You start a managed server by running a start script at the command line. The server fails to start. To troubleshoot this failure, you look at the window in which the script ran. One of the messages form the server says: “boot identity not valid”. What do you do before running the script again? Add the option to the start script that allows servers to be started without credentials Update the credentials in the boot identity file Update the credentials in the start script Create a boot identity username and password by using the administration console The boot identity file does not exist. Create one. You are responsible for installing and setting up WebLogic Server to support the development, testing, and production of an application. Each phase of the application’s life cycle has different scalability, performance, and security requirements. How will you implement this? Create a single domain with three clusters Create a single domain with three administration servers Create a single domain with three managed servers Create three domains. Consider a domain that includes a Node Manager home directory. One way to enroll each Node Manager with your domain is with the WLST command nmEnroll(). Select the two scenarios where you do not need to use this command to perform the same task? (Choose two.) The Node Manager is on the machine where the domain was created by using the Configuration Wizard You create a managed server template by using the pack utility. Then create the domain by using the unpack utility on the new machine where Node Manager will run Use the administration console. Select the machine, then the Configuration and Node Manager tabs. Select “Enroll with the Domain.” Save and activate your changes Use the script enrollNodeManager.sh found under the WEBLOGIC_HONE directory in server/bin. The Configuration Wizard has a Node Manager option which, if selected, allows you to also configure a Node manager as you create your domain. Select two true statements about using the Configuration Wizard to configure Node Manager. (Choose two.) You are required to enter the username and password for accessing Node Manager You are allowed to choose the location of the Node Manager home You can select either the Java-based or script-based Node Manager After the Configuration Wizard creates the domain, it automatically starts the configured Node Manager. Over time your server log files have increased in size to over 500 MB. Identify three techniques to help decrease the size of these log files. (Choose three.) Increase the severity level Redirect standard output to the log Increase the rotation time Create and use a custom log filter Decrease the rotation file size. You are using the Embedded LDAP that is supplied by Oracle WebLogic Server. Which three statements are true? (Choose three.) The Embedded LDAP can be accessed by an external LDAP viewer The Embedded LDAP cannot be used in a production environment The Embedded LDAP uses the file system to store WebLogic security provider data The Embedded LDAP uses the database to store WebLogic security provider data The Embedded LDAP can be used to store user, group, security roles and security policies for the WebLogic security providers. The development group supplied you with the latest WAR file for the company web application. It has been thoroughly tested and needs to be placed into production. In the production file system, you copy over the previous WAR file with the new version. You log into the administration console and redeploy the application. Current uses continue to access the older version of the application, while new users are taken to the new version. Explain this scenario. This is only possible if the application is deployed to a cluster. Cluster deployments allow current users to continue to use the previous version of an application This is possible if the application is versioned by using the WebLogic Server feature called Production Redeployment. This is not possible. When an application is redeployed, it replaces the old version and all users than access the new version This is not possible. When an application is redeployed, all users continue to access the old version. Once all current users have exited the system, then all users from that point on access the new version. You successfully deployed an application on WebLogic 12c but notice that its deployment name is different than what you expected. After checking various places and making multiple deployment attempts, you decide to be on the safe side and just use the method that takes precedence over the others when setting the deployment name. Which method should you use to override the default deployment name? Define the name in the library’s manifest file Configure the <module-name> element in web.xml Run weblogic.Deployer with the –name option Set a computed name based on the deployment source file Set the <application-name> element in application.xml. Consider a WebLogic Java EE application that uses a JDBC data source. Which three steps would the application developer typically write code to perform? (Choose three.) Test the connection to verify the database’s availability Add a new connection to the data source if none are available Close the connection to return the connection to the data source Request a connection from the data source Look up the data source using the JNDI name. Select two true statements about WebLogic Server’s role in transaction management. (Choose two.) You can configure WebLogic Server JTA properties at the domain, cluster, and server level WebLogic Server can act as the transaction manager for multiple transactional resource managers during a distributed transaction WebLogic Server supports transactional work managers Starting with WebLogic Server 12c, you can create two kinds of clusters: the “standard” cluster, as in previous versions, and the new transactional cluster WebLogic Server supports transactional Enterprise Java Beans. Which two statements are characteristics of the Reconfiguration Wizard? (Choose two.) You can upgrade any domain that was created using WLS 9.2 and above The Reconfiguration Wizard allows you to change the domain mode The Reconfiguration Wizard allows you to select a different Java JDK The Reconfiguration Wizard does not allow the reconfiguration of JDBC data sources You can upgrade only a domain which is running WLS 10.3.x or later. While using the Configuration Wizard to create a new domain, you do not set the Listen Address for the administration server and accept the default value. What is the result? Server startup fails The server binds to localhost The server prompts for an address when it is started the first time The server attempts to bind to all network interfaces on the host OS. You want to configure an LDAP authentication provider in your domain. Which three pieces of information must you obtain from your LDAP administrator? (Choose three.) name attribute for user objects connection pool maximum size base DN for group objects realm name host name and port. Identify three capabilities of the non-default LDAP authentication providers included in WebLogic Server. (Choose three.) adding a user to a group creating a new group changing a user’s password validating a user’s password creating a new user identifying the groups for a user. You are using the Configuration Wizard to create a new domain that will host an EJB application without a cluster. Remote EJB clients can therefore take advantage of WebLogic Server’s load balancing and failover capabilities. However, a proxy server exists between the EJB clients and this new cluster. Which cluster attribute should you modify in the Configuration Wizard to ensure that external EJB clients are routed correctly through the proxy? Messaging Mode Cluster Address Broadcast Channel Replication Channel Cluster Type. By monitoring CPU and RAM utilization, it appears that one member of your cluster is receiving a much lower percentage of the request load than the other servers. Which Administration Console metric should you examine to help determine if a network problem is the cause? Primary session count Drop out frequency Migration basis Health state Current heap size. Which two statements are true about Log Filters? (Choose two.) You do not have to lock the configuration to create Log Filters Log Filters are created at the domain level The administration console assists in the creation of Log Filter expressions You can apply a Log Filter to the server log, but not to standard out. Which two statements are true when an Administration Server is compared to a Managed Server? (Choose two.) An administration Server manages the domain configuration A domain must have at least one of each type of server An administration Server keeps a domain log, but a Managed Server does not A Managed Server keeps a server log, but an Administration Server does not Java EE applications are deployed only to a Managed Server. Consider a multiple node domain. On the administration server’s node, you edit setDomainEnv.sh in the bin directory and add a new JAR file to the CLASSPATH. You stop and restart all three WebLogic Server in the domain. Upon investigation, you discover that only applications deployed to one WebLogic Server are able to access the JAR file code. How do you explain this? You must also set the domain attribute “CLASSPATH Discovery Enabled.” Each machine that hosts WebLogic Servers has its own domain directories. The script must be modified there as well. Only the first server to receive the new configuration from the administration server gets the updated CLASSPATH The CLASSPATH is not for application code. It is for interval WebLogic Server code. So, only applications deployed to the administrative server can access code through the CLASSPATH. You monitor a running JDBC data source with the console and note the following values: Current Capacity = 10 Current Capacity High Count = 20 Identify two plausible explanations for these metrics. (Choose two.) The workload was lower than it is now The statement cache size is 20 The pool size has increased The statement cache size is 10 The pool size has decreased The workload was higher than it is now. Consider a cluster of four servers: ServerA, ServerB, ServerC, and ServerD. The cluster hosts a web application and is accessed using a proxy plug-in. This web application is configured to use in-memory session replication. A user is directed to ServerA. An HTTP session is established on ServerA and also replicated to ServerC, but ServerA subsequently fails. Which server will this user be redirected to? ServerD ServerB none; the user will receive an error message ServerC any other available server. When creating a dynamic cluster, you have multiple options concerning how dynamic servers are distributed across machines in your domain. Identify three supported configurations. (Choose three.) Use all machines in the domain Use machines whose names match an expression Use a percentage of machines in the domain Use all machines in a subnet Use a single machine. |
Report abuse