0% found this document useful (0 votes)
11 views6 pages

Programming Concepts MOCK CCEE Answer Key

The document is an answer key for a mock exam covering various topics including Git commands, Python programming, cloud computing, and IT service management. Each question is followed by the correct answer, providing a quick reference for users to verify their responses. The content spans technical concepts relevant to software development and IT operations.

Uploaded by

Govind P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views6 pages

Programming Concepts MOCK CCEE Answer Key

The document is an answer key for a mock exam covering various topics including Git commands, Python programming, cloud computing, and IT service management. Each question is followed by the correct answer, providing a quick reference for users to verify their responses. The content spans technical concepts relevant to software development and IT operations.

Uploaded by

Govind P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

MOCK CCEE - Answer Key

1. 1. Which command creates a copy of an existing git repository.

Answer: B. git clone

2. 2. The ________ function returns its argument with a modified shape, whereas the ________
method modifies the array itself.

Answer: A. reshape, resize

3. 3. What will be the output of the following code?


a = [1, 2, 3]
a = tuple(a)
a[0] = 2
print(a)

Answer: D. Error

4. 4. Amazon Web Services falls into which of the following cloud-computing category?

Answer: C. Infrastructure as a Service

5. 5. What will be the output of the following code?


str1 = "sunbeam"
str1[-1:]

Answer: A. m

6. 6. Which is correct command to Delete all employees record from collection?

Answer: A. db.emp.remove({});

7. 7. This is a repository for the storage, management, and dissemination of data ...

Answer: A. Data Center


8. 8. Which one of the following can be considered as the primary data store of
Kubernetes?

Answer: C. etcd

9. 9. Storage classes available with Amazon S3 are ______

Answer: D. All of the above

10. 10. Which of the following are Special Operator's

Answer: A. LIKE, ISNULL

11. 11. Can we use Group function's in WHERE clause?

Answer: B. No

12. 12. Which of the following is not a valid set operation?

Answer: D. None of the Above

13. 13. CI/CD Pipelines consists of ________

Answer: B. Stages

14. 14. Within Service Design, what is the key output handed over to Service Transition?

Answer: C. Service Design Package

15. 15. What will be the output of following code -


print(type(5 / 2)) print(type(5 // 2))

Answer: A. float, int


16. 16. What is setattr() used for?

Answer: B. To set an attribute

17. 17. What will be the output?


day_names = ["Sunday", "Monday", "Tuesday", "Wednesday"]
print(day_names[-3:-1])

Answer: A. ['Monday','Tuesday']

18. 18. In service design, which term describes services, technologies and tools?

Answer: C. Products

19. 19. The terms "Iaas" stand for?

Answer: B. Infrastructure-as-a-Service

20. 20. An operating system running on a Type ______ VM is full virtualization.

Answer: B. 1

21. 21. What will be the output of the following code snippet?
s1 = {1, 2, 3, 4, 5}
s2 = {2, 4, 6}
print(s1 ^ s2)

Answer: C. {1,3,5,6}

22. 22. Which ITIL process is responsible for determining the hardware necessary ...

Answer: A. Capacity Management

23. 23. Contracts relating to an outsourced Data Centre would be managed by?

Answer: B. Facilities Management


24. 24. Which is NOT a purpose of Service Transition?

Answer: A. Provide training and certification in project management.

25. 25. Which stage of the Service Lifecycle is MOST concerned with defining policies and
objectives?

Answer: A. Service Design

26. 26. What protocol can be used to retrieve web pages using python?

Answer: C. HTTP

27. 27. WHERE clause can be specified after ORDER BY clause.

Answer: B. False

28. 28. If you want to launch Amazon EC2 instances and assign private IP...

Answer: C. Launch the instances in the Amazon Virtual Private Cloud (VPC).

29. 29. What will be the output of the following code snippet?
s = {1, 2, 3, 3, 2, 4, 5, 5}
print(s)

Answer: B. {1,2,3,4,5}

30. 30. Which of the following type of virtualization is also characteristic of cloud
computing?

Answer: B. All of the mentioned

31. 31. To maintain log of Insertion in INSERT command, we have to use combination of
which function's
Answer: A. user(), sysdate()

32. 32. What are the Authentication in AWS?

Answer: D. All of the above

33. 33. There are ________ phases in Scrum.

Answer: D. 5

34. 34. As what datatype are the *args stored, when passed into a function?

Answer: B. tuple

35. 35. Which command's are affected by Rollback and Commit?

Answer: B. DML

36. 36. What do we use to define a block of code in Python language?

Answer: C. Indentation

37. 37. DevOps is an extension of_______

Answer: B. Agile

38. 38. In Service Operation, if too much emphasis is placed on 'Stability', what might the
likely outcome be?

Answer: C. Responsiveness may suffer

39. 39. What will be the output of the code?


my_list = ["Sunday", "Monday", "Tuesday", "Wednesday"]
del my_list[2]
print(my_list)
Answer: A. ["Sunday", "Monday", "Wednesday"]

40. 40. DDL command's automatically commit's which type of command's above it?

Answer: B. TCL

You might also like