Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 300-300 Topic 1 Question 5 Discussion

Actual exam question for LPI's 300-300 exam
Question #: 5
Topic #: 1
[All 300-300 Questions]

In an LDIF file using changetype: modify, which of the following options can be used? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: C, D

In an LDIF file, changetype: modify is used to specify modifications to an existing LDAP entry.

The add option is used to add new attributes or values to an existing attribute.

The replace option is used to replace existing attribute values with new ones.

These options are used to update the directory information according to the LDAP protocol.


LDAP modification operations: https://ldap.com/the-ldif-format/

OpenLDAP modify documentation: https://www.openldap.org/doc/admin24/modify.html

Contribute your Thoughts:

Staci
1 years ago
This is a classic case of 'keep it simple, stupid.' 'Add' and 'replace' are the way to go. Unless, of course, you're feeling particularly adventurous and want to try your hand at 'patch' - it could be the secret sauce to this question!
upvoted 0 times
Stefan
11 months ago
User 2
upvoted 0 times
...
Thurman
11 months ago
User 1
upvoted 0 times
...
...
Omega
1 years ago
Okay, let's see... 'add' and 'replace' are the sensible choices, but 'generate' sounds like it could be the hidden gem here. I'm feeling lucky today!
upvoted 0 times
Misty
12 months ago
'generate' does sound interesting, but I'm not sure if it's a valid choice.
upvoted 0 times
...
Hailey
12 months ago
I think 'add' and 'replace' are the best options.
upvoted 0 times
...
...
Lonna
1 years ago
I'm just gonna go with 'add' and 'replace' and call it a day. No need to overthink this, folks. Unless you're feeling really wild, then 'patch' might be the way to go. Who knows, it could be the secret answer!
upvoted 0 times
...
Alesia
1 years ago
Ah, the age-old LDIF file question. 'Add' and 'replace' are the way to go, obviously. Unless you're feeling adventurous and want to try 'generate' - that could be fun, right?
upvoted 0 times
Reita
12 months ago
I might give 'generate' a try next time, just to see what happens.
upvoted 0 times
...
Stephaine
1 years ago
Yeah, those are the safe options. But 'generate' does sound intriguing.
upvoted 0 times
...
Sommer
1 years ago
I've never tried 'generate' in an LDIF file, but 'add' and 'replace' have always worked for me.
upvoted 0 times
...
Lashon
1 years ago
I always stick to 'add' and 'replace' when using changetype: modify in an LDIF file.
upvoted 0 times
...
Teddy
1 years ago
'Generate' sounds interesting, but I prefer to play it safe with 'add' and 'replace'.
upvoted 0 times
...
Flo
1 years ago
I always stick to 'add' and 'replace' in LDIF files.
upvoted 0 times
...
...
Shanda
1 years ago
I agree with Jerrod, add and replace are the correct options for changetype: modify.
upvoted 0 times
...
Melina
1 years ago
Hmm, 'patch' and 'generate' sound a bit sketchy to me. I'm going with 'add' and 'replace' - can't go wrong with the classics!
upvoted 0 times
...
Jerrod
1 years ago
I think the options for changetype: modify are add and replace.
upvoted 0 times
...
Paulene
1 years ago
I think 'add' and 'replace' are the correct options. You can't really 'overwrite' an LDIF file, can you? That's just too easy.
upvoted 0 times
Dorathy
12 months ago
Yeah, 'overwrite' does seem too easy for an LDIF file.
upvoted 0 times
...
Dorathy
1 years ago
I agree, 'add' and 'replace' are the correct options.
upvoted 0 times
...
Ammie
1 years ago
'add' and 'replace' are the options that can be used in an LDIF file with changetype: modify. 'overwrite' doesn't fit here.
upvoted 0 times
...
Matthew
1 years ago
Yeah, 'overwrite' does seem too easy for an LDIF file.
upvoted 0 times
...
Tamera
1 years ago
I think 'add' and 'replace' are the right choices. 'overwrite' doesn't make sense in this context.
upvoted 0 times
...
Twila
1 years ago
I agree, 'add' and 'replace' are the correct options. 'overwrite' does seem too easy.
upvoted 0 times
...
Matthew
1 years ago
I agree, 'add' and 'replace' are the correct options.
upvoted 0 times
...
...

Save Cancel