S90-18 practice question 8 of 15

The communication between Service A and Service B needs to be kept private. A security specialist is planning to implement secret key cryptography in order to encrypt the messages. Which of the following approaches addresses this requirement?

Full set: 98 questions
Answer options
A: Create a shared key that will be used by both the services for message encryption and decryption. Correct answer
B: Both the services need to be built with support for the XML-Signature industry standard.
C: The Data Origin Authentication pattern needs to be applied across both service architectures.
D: None of the above.
Correct Answer:
A. Create a shared key that will be used by both the services for message encryption and decryption.
Explanation

Secret key cryptography, also known as symmetric key cryptography, is a cryptographic system where the same key is used for both encrypting and decrypting messages. To keep communication private between Service A and Service B, they must both possess this single, pre-shared secret key. Service A uses the key to encrypt the message, and Service B uses the identical key to decrypt it. This ensures that only entities with access to the shared key can read the message content, thereby achieving confidentiality.

Why Incorrect

B. The XML-Signature standard is primarily used to ensure message integrity and non-repudiation by creating a digital signature, not to provide the confidentiality (privacy) required by the question.
C. The Data Origin Authentication pattern's purpose is to verify the identity of the message sender (authentication), not to encrypt the message content for privacy.
D. This option is incorrect because Option A provides a valid and direct approach that fulfills the specified requirement for implementing secret key cryptography.

References

1. Erl, T., et al. (2012). SOA Security: Advanced Design and Architecture. Prentice Hall.

Page 104, Section 5.2.1 Symmetric Encryption: "With symmetric encryption (also known as secret key encryption), the same key is used to both encrypt and decrypt a message... For two parties to communicate, they must first securely exchange the secret key so that they both possess it." This directly supports Answer A.

Page 138, Section 6.3.2 XML-Signature: "The XML-Signature specification defines a standard for creating digital signatures based on the contents of an XML document... its primary purpose is to provide data integrity and origin authentication." This supports the reasoning for why option B is incorrect.

2. Pistoia, M., et al. (2009). Enterprise SOA Security. IBM Press.

Page 11, Chapter 1, Symmetric and Asymmetric Cryptography: "In symmetric cryptography, the same key is used for both encryption and decryption. This key is called a secret key or a session key. The sender and the receiver must agree on this key before they can communicate securely." This confirms the mechanism described in Answer A.

3. Kurose, J. F., & Ross, K. W. (2017). Computer Networking: A Top-Down Approach (7th ed.). Pearson.

Page 679, Section 8.2.1 Symmetric Key Cryptography: "In symmetric key cryptography, the sender and receiver keys are identical and are secret... All of the algorithms... use a single secret key that is shared by the sender and the receiver." This is a foundational university-level text that validates the principle in Answer A.

Scroll to Top