New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 300-300 Exam - Topic 5 Question 35 Discussion

Actual exam question for LPI's 300-300 exam
Question #: 35
Topic #: 5
[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:

0/2000 characters
Delsie
8 hours ago
Wait, are patch and generate even valid options?
upvoted 0 times
...
Antonio
5 days ago
Totally agree, those are the right options!
upvoted 0 times
...
Pansy
11 days ago
I'm just going to guess and hope for the best. LDIF files are the bane of my existence.
upvoted 0 times
...
Galen
16 days ago
Patch and overwrite? What is this, a car repair manual?
upvoted 0 times
...
Daniel
21 days ago
E should be the answer, it's the only one that makes sense to me.
upvoted 0 times
...
Lashawn
26 days ago
C and D are the correct options.
upvoted 0 times
...
Andra
1 month ago
I feel like "overwrite" could be a trick option. I don't recall it being used in LDIF files.
upvoted 0 times
...
Antonio
1 month ago
I'm not entirely sure, but "replace" sounds familiar. I might have seen it in a practice question before.
upvoted 0 times
...
Tequila
1 month ago
I think I remember that "add" is definitely one of the options we can use in a modify changetype.
upvoted 0 times
...
Devora
2 months ago
Ah yes, the add and replace options are definitely valid for the modify changetype in LDIF files. I remember those from the study guide. The others seem less likely.
upvoted 0 times
...
Natalie
2 months ago
I'm a bit confused by this question. I know the modify changetype, but I'm drawing a blank on the specific options. Gonna have to make an educated guess on this one.
upvoted 0 times
...
Elouise
2 months ago
Okay, I'm pretty confident the add and replace options are valid here. The other ones seem less familiar, so I'll have to eliminate those.
upvoted 0 times
...
Penney
2 months ago
I agree, add and replace make sense.
upvoted 0 times
...
Fanny
2 months ago
You can use add and replace.
upvoted 0 times
...
Tawny
2 months ago
I think it's C and D.
upvoted 0 times
...
Jolene
3 months ago
I always get these LDIF file questions mixed up. Glad I'm not the only one!
upvoted 0 times
...
Roxanne
3 months ago
I think "patch" and "generate" are not valid options for this type of operation, but I could be wrong.
upvoted 0 times
...
Tamekia
3 months ago
Hmm, I remember learning about the modify changetype, but I can't recall all the specific options. Guess I'll have to review my notes on LDIF files.
upvoted 0 times
...
Aliza
3 months ago
I think I've seen the add and replace options before, but I'm not sure about the others. Gonna have to think this through carefully.
upvoted 0 times
...

Save Cancel