Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Practice questions demo

Free C1000-174 Exam Dumps and Practice Questions

Questions 1 to 5 of the 111-question C1000-174 bank, each with its correct answer and an explanation. 1 of 5 ask for more than one answer. This is page 1 of 22.

1 / 22

Actual IBM C1000-174 Exam Questions

Question 1

Single answer

Which wsadmin command can an administrator use to remove an application migration report?

Correct answer: A

Migration reports for installed enterprise applications can be created, read, and removed through administrative tasks, and in wsadmin these belong to the AdminTask object. The tasks are createMigrationReport, getMigrationReport, and deleteMigrationReport, and the last of them removes the report associated with a named application. Option A, AdminTask.deleteMigrationReport, is therefore correct. A typical invocation passes the application name as a parameter, for example AdminTask.deleteMigrationReport('[-appName myApp]'), followed by saving the configuration with AdminConfig.save(). The other choices combine real object names with invented command names. AdminControl operates on running managed beans and is used for runtime actions such as starting or stopping servers, and it has no method called deleteApplicationMigrationReport. AdminConfig works directly with configuration objects and offers methods such as create, modify, remove, and save, but not a deleteMigrationReport method. Option D follows the proper object, AdminTask, but gives the command a longer name, deleteApplicationMigrationReport, that does not exist in the product. Since the reports are removed automatically when an application is uninstalled or redeployed, explicit deletion is mainly useful for tidying up reports for applications that remain installed. The AdminTask help command can be used to display the available tasks and their parameters.

Question 2

Single answer

An administrator notices that all data-access applications failed to connect to the database and received a StaleConnectionException. After investigating the network and database, the administrator finds that the firewall timed out the JDBC connections, causing the exception. What can the administrator do to prevent StaleConnectionException occurrences?

Correct answer: B

A StaleConnectionException indicates that a connection in the pool is no longer usable, for example because the database or an intermediate device has closed it. When a firewall silently drops idle TCP connections after a fixed period, pooled connections that sit unused for longer than that period are dead on the server side, yet the pool still treats them as valid. The next application to receive one gets the exception. The remedy is to make sure that idle connections are discarded by the pool before the firewall discards them. The Unused timeout property sets how long a connection may remain idle in the pool before it is removed, and setting it to half the firewall timeout ensures connections are retired well within the firewall's window. That is option B. Option A is inverted: the Aged timeout is the maximum lifetime of a connection, and setting it to twice the firewall value would let connections live longer than the firewall allows. Option C, the purge policy, determines how many connections are discarded once a stale one is detected; FailingConnectionOnly discards only the failed connection and does not prevent the problem. Option D, raising the minimum connections, keeps idle connections in the pool and may actually preserve the dead ones, since the pool does not remove connections below the minimum. Teams may also pair the Unused timeout with a reap time that is short enough to run the cleanup often.

Question 3

Single answer

An administrator has set up a high-availability deployment manager (HA dmgr) with two dmgr nodes and two ODR nodes. What is the minimum role needed to view the HA dmgr configuration?

Correct answer: B

A high availability deployment manager configuration provides more than one deployment manager in a cell, with one active and the others on standby, supported by shared file-system access to the master configuration. Intelligent Management, through the on demand routers, takes part in the environment. Reading the configuration of that setup is a read-oriented administrative task, which makes the question one of choosing the least-privileged administrative role that is sufficient. WebSphere administrative roles form a hierarchy of increasing authority: Monitor, Configurator, Operator, Deployer, Administrator, and so on. Monitor grants read-only access, but it is not offered here. Among the choices given, Configurator is the lowest role that can view the configuration, since it can read and also change configuration, though it cannot perform runtime operations such as starting servers. The Deployer role is limited to application deployment functions, and Administrator is the highest role and therefore exceeds the minimum. ISC Administrator relates to the Integrated Solutions Console, which is the console application itself and is not the role required to inspect the HA deployment manager configuration, so option B is correct. Granting the smallest sufficient role follows the principle of least privilege, which limits the harm that a compromised or mistaken account can cause.

Question 4

Single answer

An administrator receives user complaints that an application's sessions expire often and require users to log in multiple times. Which options in http plugin-cfg.xml can be used to verify that session affinity is working properly?

Correct answer: D

Session affinity in a plug-in configuration works by pairing two pieces of information. The application server issues a session cookie, typically JSESSIONID, whose value ends with a suffix that identifies the cluster member holding the session. In plugin-cfg.xml, each server in a cluster carries a CloneID attribute with the matching value. When a request arrives with a session identifier, the plug-in reads the suffix, finds the server whose CloneID matches, and sends the request there, bypassing the ordinary load-balancing decision. To verify affinity, an administrator therefore checks that the session cookie name is configured as expected, that every cluster member has the correct CloneID, and that the load-balancing option is the one in effect for requests that have no session. Option D is the only choice that names the session identifier, the clone identifier, and the load-balancing setting together. Options A, B, and C each omit one of those elements, and two of them name balancing types that do not exist. The plug-in supports Round Robin and Random, not "Random-robin". Cloneid without a session identifier gives the plug-in nothing to match, so affinity could not occur at all. Frequent session loss despite correct plug-in settings often traces to mismatched CloneIDs after a topology change, or to a plug-in configuration that was not regenerated and propagated.

Question 5

Multiple answers

Which two commands can be used to modify configurations in WebSphere Application Server ND?

Choose two

Correct answer: A, E

Configuration of a Network Deployment cell is modified through the administrative interfaces, and two of the listed commands can do it. wsadmin.sh is the scripting client. It connects to the deployment manager and, through objects such as AdminConfig, AdminTask, and AdminApp, creates, changes, and removes configuration documents, which is the primary scripted method for configuration changes. ws_ant.sh starts Apache Ant with the WebSphere-supplied environment and tasks. The product ships Ant tasks, including the wsadmin task, that run administrative scripts, install applications, and start or stop servers, so a build script launched with ws_ant.sh can change cell configuration in an automated manner. The correct selections are A and E. The other options do not fit. manageprofiles.sh manages the lifecycle of profiles: creating, deleting, augmenting, backing up, and restoring them. It operates on profile structure on the local machine and is not the tool used to change configuration of servers, resources, or applications in a running cell. WsAnt.sh is not a script shipped with the product, and "wasadmin.sh" is a misspelling of the scripting client and does not exist. When automation is required, administrators typically choose wsadmin with Jython for fine-grained control and ws_ant.sh when administrative steps must be embedded in a larger build or deployment pipeline.

More IBM practice questions

Unlock all IBM C1000-174 questions

Full exam access, validated answers, and unlimited practice with no download limits.