Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle Advanced PL/SQL Developer Professional Guide

You're reading from   Oracle Advanced PL/SQL Developer Professional Guide Master advanced PL/SQL concepts along with plenty of example questions for 1Z0-146 examination with this book and ebook

Arrow left icon
Product type Paperback
Published in May 2012
Publisher Packt
ISBN-13 9781849687225
Length 440 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Saurabh K. Gupta Saurabh K. Gupta
Author Profile Icon Saurabh K. Gupta
Saurabh K. Gupta
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Oracle Advanced PL/SQL Developer Professional Guide
Credits
Foreword
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Overview of PL/SQL Programming Concepts FREE CHAPTER 2. Designing PL/SQL Code 3. Using Collections 4. Using Advanced Interface Methods 5. Implementing VPD with Fine Grained Access Control 6. Working with Large Objects 7. Using SecureFile LOBs 8. Compiling and Tuning to Improve Performance 9. Caching to Improve Performance 10. Analyzing PL/SQL Code 11. Profiling and Tracing PL/SQL Code 12. Safeguarding PL/SQL Code against SQL Injection Attacks Answers to Practice Questions Index

Chapter 5, Implementing VPD with Fine Grained Access Control


Question No.

Answer

Explanation

1

c

The policy function returns the predicate as <Column>=<Value>.

2

b

The security policy can be associated to one and only one schema object.

3

b and c

The DBMS_RLS package is a SYS owned built in package whose public synonym is shared amongst the users. It is a useful package to work with policies and policy groups.

4

b

There is no such privilege as CREATE_CONTEXT. It should be the CREATE ANY CONTEXT privilege. All context metadata is in either ALL_CONTEXTS or DBA_CONTEXTS.

5

a

Context creation followed by the creation of its trusted package. A policy function is created for the predicate and the security is attached for the protection.

6

b

Policy groups are created by the collection of policies under them.

7

b and d

Default policy type is Dynamic. Shared static policy is the one where a static policy can be shared by multiple database objects. In such cases, the column appearing in the predicate must exist in all the tables.

8

c and d

Either a DBA or a user with the DBA role can create and drop an application context. A DBA can modify certain USERENV attributes, but not all.

9

a

The predicate information returned by the policy function is retained in SGA until the query is reparsed. During the parse stage, the current context information is matched with the latest. If the value has been changed, Oracle synchs the context values; otherwise the old value is retained.

10

a

The applicable policy tries to access the F_JOB_POLICY policy function which doesn't exist in the ORADEV schema.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image