Bookmark this page

Quiz: Configuring Interfaces and Socket Binding Groups

Configuring Interfaces and Socket Binding Groups

Based on the provided configuration, select the correct answers to the following questions:

 <interfaces>
        <interface name="management">
            <inet-address value="${jboss.bind.address.management:192.168.0.1}"/>
        </interface>
        <interface name="public">
            <inet-address value="${jboss.bind.address:127.0.0.1}"/>
        </interface>
        <interface name="global">
           <any-address/>
        </interface>
    </interfaces>
    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:10000}">
        <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
        <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>
        <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>
        <socket-binding name="http" port="${jboss.http.port:8080}"/>
        <socket-binding name="https" port="${jboss.https.port:8443}"/>
        <socket-binding name="txn-recovery-environment" port="4712"/>
        <socket-binding name="txn-status-manager" port="4713"/>
        <outbound-socket-binding name="mail-smtp">
            <remote-destination host="localhost" port="25"/>
        </outbound-socket-binding>
    </socket-binding-group>


  1. 1.

    Which of the following commands does NOT start a JBoss EAP standalone server that exposes the public IP address to 127.0.0.1, based on the configuration? (Select one.)

    A

    Run from a terminal window:

    $ standalone.sh -Djboss.bind.address.management=0.0.0.0 \
    -Djboss.bind.address=205.25.238.172
    B

    Run from a terminal window:

    $ standalone.sh -Djboss.bind.address=127.0.0.1
    C

    Run from a terminal window:

    $ standalone.sh
    D

    Run from a terminal window:

    $ standalone.sh -Djboss.bind.address=0.0.0.0
  2. 2.

    Which port is used by the JBoss EAP management console, based on the previous configuration with all default values used? (Select one.)

    A

    9990

    B

    8080

    C

    19990

    D

    18080

  3. 3.

    Which interfaces bind to 127.0.0.1 in the previous configuration? (Select one.)

    A

    Global

    B

    Management

    C

    Public

    D

    None of the above.

  4. 4.

    Which ports can you use with the HTTPS binding, based on the previous configuration? (Select one.)

    A

    8443

    B

    8443, 9993

    C

    18443

    D

    18443, 19993

Revision: ad248-7.4-18a9db2