In an LDIF file using changetype: modify, which of the following options can be used? (Choose two.)
Suggested Answer: C, D
Get Premium 300-300 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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
30 comments · newest first
LE
Lelia
7 months ago
I feel confident about this question!
TH
Thaddeus
7 months ago
C and D are definitely the right choices.
WI
Willis
7 months ago
Yeah, patch isn't a valid option.
CA
Caitlin
7 months ago
Overwrite sounds wrong to me.
AR
Argelia
8 months ago
I thought you could use overwrite too, but I guess not!
NO
Norah
8 months ago
Overwrite isn't a valid option, just add and replace.
DE
Delsie
8 months ago
Wait, are patch and generate even valid options?
AN
Antonio
9 months ago
Totally agree, those are the right options!
PA
Pansy
9 months ago
I'm just going to guess and hope for the best. LDIF files are the bane of my existence.
GA
Galen
9 months ago
Patch and overwrite? What is this, a car repair manual?
DA
Daniel
9 months ago
E should be the answer, it's the only one that makes sense to me.
LA
Lashawn
9 months ago
C and D are the correct options.
AN
Andra
9 months ago
I feel like "overwrite" could be a trick option. I don't recall it being used in LDIF files.
AN
Antonio
10 months ago
I'm not entirely sure, but "replace" sounds familiar. I might have seen it in a practice question before.
TE
Tequila
10 months ago
I think I remember that "add" is definitely one of the options we can use in a modify changetype.
DE
Devora
10 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.
NA
Natalie
10 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.
EL
Elouise
10 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.
PE
Penney
10 months ago
I agree, add and replace make sense.
FA
Fanny
11 months ago
You can use add and replace.
TA
Tawny
11 months ago
I think it's C and D.
JO
Jolene
11 months ago
I always get these LDIF file questions mixed up. Glad I'm not the only one!
RO
Roxanne
11 months ago
I think "patch" and "generate" are not valid options for this type of operation, but I could be wrong.
TA
Tamekia
11 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.
AL
Aliza
12 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.
CE
Ceola
6 months ago
Definitely stick with add and replace!
QU
Quentin
6 months ago
I don't think overwrite is used in this context.
MA
Marica
6 months ago
What about overwrite? Is that a valid option?
RY
Ryann
7 months ago
Yeah, I've used those before in LDIF files.
PA
Patti
7 months ago
I believe add and replace are the right choices.