IBM DataPower Interview Questions & Answers

  1. Question 1. What Is The Value Time Stamp Format In Log Target For?

    Answer :

    Timestamp Format: syslog

  2. Question 2. What Is The Default Log Size In The Log Target? What Happens When That Log Size Is Reached?

    Answer :

    Log size: 500 kilobytes,

    When the log file reached the limit, the system will uploaded it to the FTP server and if it is successfully uploaded, the appliance will delete the log in the system to free space.

  3. IBM Websphere Interview Questions

  4. Question 3. Why Do We Need Logtarget When There Is Already A Default Logging Mechanism Available In Datapower?

    Answer :

    we need logtarget to capture messages that are posted by the various objects and services that are running on the appliance. In order to get a specific event or/and object log information, we utilize logtargets.

  5. Question 4. What Are The Different Modes Of Archival? Explain Each Mode In Two Lines Each?

    Answer :

    Rotate, rotate the log file when the maximum size is reached. The appliance creates a copy of the file and starts a new file. The appliance retains the archived copies up to the specified number of rotations. After reaching the maximum number of rotations and the log file reaches its maximum size, the appliance deletes the oldest file and copies the current file.

    Upload, upload the log file when the maximum size is reached. The appliance uploads the file using the specified upload method.

  6. IBM Websphere Tutorial

  7. Question 5. What Is The Difference Between Object Type And Object Name And What Happens When I Keep The Add Referenced Object Option To ‘off’?

    Answer :

    • Object Type, specify the type of object. This filter restricts log messages to only those messages generated by the selected object.
    • Whereas, Object name specify the name of an existing object of the selected type.
    • When the add referenced object option is turned ‘off’, the appliance generates no additional object filters anymore and includes events for only the specified object.
  8. Linux Interview Questions

  9. Question 6. In The Datapower File System, The Logs Are Stored Default In Log Temp? True/false, Give Appropriate File Directory If The Above Statement Is False.

    Answer :

    True: logtemp, default location of log files, such as the system-wide default log.

  10. Question 7. How To I Collect A Single Log Statement As Alert As A Mail When The Object On Which Log Target Is Enables Goes Down Or Comes Up?

    Answer :

    It is done by setting up Event triggers.  Event triggers perform actions only when triggered by a specified message ID or event code in this case the system goes up/down. With this filter, it is possible to create a log target that collects only the results of the specified trigger action. For example, to trigger the generation of an error report when a certain event occurs use the save error-report command and transfer to SMTP target format to send as an email alert.

  11. Linux Tutorial
    JMS(Java Message Service) Interview Questions

  12. Question 8. What Is The Difference Between Object Filter And Event Filter?

    Answer :

    • Object filters allow only those log messages for specific objects to be written to the specific log target. Object filters are based on object classes. With this filter, you can create a log target that collects only log messages generated by particular instances of the specified object classes.
    • Event Filter allow only those log messages that contain the configured event codes to be written to this log target. With this filter, it is possible to create a log target that collects only log messages for a specific set of event codes.
  13. Question 9. What Is The Log Target Type For Sending The Logs To Email, What Is The Field Name That Has To Be Given A Value For Subject Representation Of An Email?

    Answer :

    SMTP, forwards log entries as email to the configured remote SNMP servers and email addresses. Before sending, the contents of the log can be encrypted or signed. The processing rate can be limited.

  14. IBM WAS Administration Interview Questions

  15. Question 10. What Is Cryptography? Why Do We Need It?

    Answer :

    Cryptography is to protect private communication in the public world. For example, two entities wanting to communicate – Ajitab and Mulu – are shouting their messages in a room full of people. Everyone can hear what they are saying. The goal of cryptography is to protect this communication so that only Ajitab and Mulu can understand the content of the messages.

  16. Question 11. Why Do We Need It?

    Answer :

    We need cryptography to share information confidentially which is ensuring the secrecy of communication:

    • Authentication – Ajitab can sign his message and Mulu can verify that he sent it based on his signature
    • Integrity checking -Mulu can generate a checksum of the message. Ajitab can either extract it from the message or recalculate it and verify that the message has not been changed.
    • Non-repudiation – if Ajitab signs the message he cannot deny later that he sent it, because no one else could generate that same signature/private key.
  17. IBM WebSphere Administration Interview Questions

  18. Question 12. What Are The Weakness Of Symmetric Key Cryptography And What Is The Strength Of The Asymmetric Key Cryptography?

    Answer :

    Symmetric key cryptography:-

    • The biggest obstacle in successfully deploying a symmetric-key algorithm is the necessity for a proper exchange of private keys. This transaction must be completed in a secure manner. If face to-face meeting, which proves quite impractical in many circumstances when taking distance and time into account, cannot be possible to exchange private keys. If one assumes that security is a risk to begin with due to the desire for a secret exchange of data in the first place, the exchange of keys becomes further complicated.
    • Another problem concerns the compromise of a private key.  In symmetric key cryptography, every participant has an identical private key. As the number of participants in a transaction increases, both the risk of compromise and the consequences of such a compromise increase dramatically. Each additional user adds another potential point of weakness that an attacker could take advantage of. If such an attacker succeeds in gaining control of just one of the private keys in this world, every user, whether there are hundreds of users or only a few, is completely compromised.
    • Both Symmetric and Asymmetric-key cryptography also has vulnerabilities to attacks such as the man in the middle attack. In this situation, a malicious third party intercepts a public key on its way to one of the parties involved. The third party can then instead pass along his or her own public key with a message claiming to be from the original sender. An attacker can use this process at every step of an exchange in order to successfully impersonate each member of the conversation without any other parties having knowledge of this deception.

    Asymmetric cryptography –More secure!

    • Asymmetric keys must be many times longer than keys in symmetric-cryptography in order to boast security. While generating longer keys in other algorithms will usually prevent a brute force attack from succeeding in any meaningful length of time, these computations become more computationally intensive. These longer keys can still vary in effectiveness depending on the computing power available to an attacker.
  19. IBM Websphere Interview Questions

  20. Question 13. Why Do We Need A Digital Signature?

    Answer :

    Digital signatures act as a verifiable seal or signature to confirm the authenticity of the sender and the integrity of the message. Users who wish to verify their identity when sending a protected message can encrypt the information with their private key. The recipient can then decrypt the message with the sender’s public key in order to confirm the sender’s identity and the integrity of the message.

  21. Question 14. Who Issues A Certificate, Explain In Detail?

    Answer :

    Certificate authorities act as trusted third parties that verify the identity of the sender of an encrypted message and issue digital certificates as evidence of authorization. These digital certificates contain the public key of the sender, which is then passed along to the intended recipient. The Certificate authorities do extensive background checks before giving an organization or a given individual a certificate.

  22. Question 15. Give Three Popular Algorithms Used For Encryption?

    Answer :

    1. Triple DES-uses three individual keys with 56 bits each. The total key length adds up to 168 bits, but experts would argue that 112-bits in key strength is more like it.
    2. RSA- is a public-key encryption algorithm and the standard for encrypting data sent over the internet.
    3. AES-it is extremely efficient in 128-bit form, AES also uses keys of 192 and 256 bits for heavy duty encryption purposes.
  23. IBM Websphere Application Server Interview Questions

  24. Question 16. How Do You Gauge The Strength Of The Key, What Is The Parameter Used?

    Answer :

    The algorithm should be known to the public; but the key needs to be confidential:

    1. Key size
    2. Performance/ Response time for Encryption or Decryption (depends on the system we use)
    3. Mathematical proof for standardization of security provided by that algorithm
    4. Who provided the certificate for the algorithm and the date of expiration date.
  25. Question 17. What Is A Trust Store?

    Answer :

    A trust store contains certificates from other parties that we expect to communicate with, or from Certificate Authorities that we trust to identify other parties. For example, google (chrome) contains certificate of many companies or websites. Whenever we browse that site the browser automatically check the site for its certificate form the store and compare it. If it is true, google will add the ‘s’ on ‘HTTP’. That way we know that website is secured and trust worthy.

  26. IBM WebSphere MQ Interview Questions