# Certified-Platform-Developer-II — Question 606

**Type:** multiple_choice
**Topics:** topic_1

## Question

The Contact object has a custom field called "Zone." Its data type is "Text" and field length is 3.
What is the outcome after executing the following code snippet in the org?
List<Contact> contactsToBeInserted=new List<Contact>(); Contact contactInstance= new Contact(LastName='Smith',
Department='Tech', Zone_c='IAD'); contactsToBeInserted.add(contactInstance); contactInstance= new Contact
(LastName='Sm1th', Department='Tech', Zone_c='PITT'); contactsToBeInserted.add(contactInstance); Database.insert
(contactsToBeInserted,true);

## Correct Answer

_See scenario._

## Explanation

no contacts will be inserted:
System.DmlException: Insert failed. First exception on row 1; first error: STRING_TOO_LONG, Zone: data value too large: PITT (max length=3): [Zone__c]

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/salesforce/Certified-Platform-Developer-II/606  
Practice (tracked): https://hiexam.net/study/Certified-Platform-Developer-II/practice